add:添加日志输出,修改部门同步请求的参数:时间戳
This commit is contained in:
+9
-8
@@ -532,14 +532,15 @@ public class DataSyncServiceImpl implements IDataSyncService {
|
||||
tsInstitutionService.updateBatchById(updateTsInstitutionList);
|
||||
}
|
||||
//需要删除的数据
|
||||
if(!delTsInstitutionList.isEmpty()){
|
||||
logger.debug("本次删除的组织机构为:"+JSONObject.toJSONString(delTsInstitutionList));
|
||||
List<String> delIdList = new ArrayList<>();
|
||||
for(TsInstitution data : delTsInstitutionList){
|
||||
delIdList.add(data.getId());
|
||||
}
|
||||
tsInstitutionService.removeByIds(delIdList);
|
||||
}
|
||||
// 先行注释,会删除所有部门
|
||||
// if(!delTsInstitutionList.isEmpty()){
|
||||
// logger.debug("本次删除的组织机构为:"+JSONObject.toJSONString(delTsInstitutionList));
|
||||
// List<String> delIdList = new ArrayList<>();
|
||||
// for(TsInstitution data : delTsInstitutionList){
|
||||
// delIdList.add(data.getId());
|
||||
// }
|
||||
// tsInstitutionService.removeByIds(delIdList);
|
||||
// }
|
||||
//全部部门
|
||||
List<TsInstitution> allTsInstitutionListForPids = new ArrayList<>(addTsInstitutionList);
|
||||
allTsInstitutionListForPids.addAll(updateTsInstitutionList);
|
||||
|
||||
+1
@@ -5021,6 +5021,7 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
||||
QueryWrapper<SarBussStandFile> objectQueryWrapper = new QueryWrapper<>();
|
||||
objectQueryWrapper.eq("ORI_ATT_ID",fileId);
|
||||
objectQueryWrapper.eq("USE_MODEL","SOURCE_FILE");
|
||||
objectQueryWrapper.eq("VALID_FLAG","0");
|
||||
//objectQueryWrapper.ne("FILE_SUFFIX","docx");
|
||||
List<SarBussStandFile> sarBussStandFiles = sarBussStandFileEODao.selectList(objectQueryWrapper);
|
||||
if(!sarBussStandFiles.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user