Commit 08224405 authored by 赵啸非's avatar 赵啸非

修改同步事项

parent bf8e5d77
......@@ -127,6 +127,7 @@ public class MatterExtServiceImpl extends AbstractCRUDServiceImpl<MatterExtDao,
Rest<String> rest = matterService.buildMatterDetail(matterEntity, null);
if (rest.getCode() == YesNoEnum.YES.getValue()) {
matterEntity.setUpdateTime(new Date());
log.info("id==>{} matterEditon==>{}",matterEntity.getId(),matterEntity.getMatterEdition());
matterService.update(matterEntity, null);
}
}
......
......@@ -1071,7 +1071,7 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
//更新部门信息
DeptEntity extCache = deptService.getExtCache(matterEntity.getDeptCode());
matterEntity.setDeptName(extCache == null ? "" : extCache.getName());
matterEntity.setMatterEdition(matterEditionRemote+"");
//构建基础信息参数
savebaseInfo(matterEntity, baseInfoMap, baseInfoSetting);
......@@ -1099,6 +1099,8 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
//更新事项更新标志
matterEntity.setHaveGetMatterInfo("true");
matterEntity.setMatterEdition(matterEditionRemote+"");
} catch (SocketTimeoutException readTimeoutException) {
log.info("请求超时,休眠后重试");
reCount++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment