refactor(sis):
- 第三方数据添加失败通过mq回写信息 refactor(property): - 仪表sse推送,增加水表消息推送
This commit is contained in:
@@ -132,7 +132,11 @@ public class SyncGrantAuthTask {
|
||||
continue;
|
||||
}
|
||||
// 更新入驻员工E8平台id
|
||||
remoteResidentPersonService.updateE8Id(person.getId(), e8Id);
|
||||
Boolean updateE8Id = remoteResidentPersonService.updateE8Id(person.getId(), e8Id);
|
||||
if (!updateE8Id) {
|
||||
log.info("更新入驻员工E8平台id失败:{}-----{}", person.getName(), person.getId());
|
||||
remoteSisAuthService.deletePersonAuth(List.of(person.getId()), new ArrayList<>());
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// 存在授权记录,为了避免重复授权,删除授权记录,等待下次定时任务
|
||||
@@ -188,6 +192,7 @@ public class SyncGrantAuthTask {
|
||||
personAuth.setAuthBegDate(person.getAuthBegDate());
|
||||
personAuth.setAuthEndDate(person.getAuthEndDate());
|
||||
personAuth.setRosterType(person.getRosterType());
|
||||
personAuth.setTenantId(person.getTenantId());
|
||||
return personAuth;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user