添加安全环保检查核实完成事件发送功能

main
zhangyue 2026-05-16 11:10:00 +08:00
parent 58f08a4244
commit 4fcc6c6caf
1 changed files with 4 additions and 0 deletions

View File

@ -98,6 +98,10 @@ public class SafetyEnvironmentalInspectionUserUpdateExe {
sendParams.put("checkTitle", inspectionDO.getProjectName());
messageNoticeExe.messageNotice(inspectionDO.getCreateId(), messageTemplateConfig.getCheckInitiatorApplyCheckNotPass(), sendParams);
messageNoticeExe.sendMessageAddEvent(inspectionDO.getCreateId(), "您有一条【安全环保检查】待处理","检查任务核实不通过,请您尽快处理。", inspectionDO.getId(), userList.get(0).getId());
List<SafetyEnvironmentalInspectionUserDO> verifyComList = safetyEnvironmentalInspectionUserRepository.listAllByInspectionId(cmd.getInspectionId(), type);
for (SafetyEnvironmentalInspectionUserDO verifyCom : verifyComList){
messageNoticeExe.sendMessageCompleteEvent(verifyCom.getId());
}
}
// 关闭当前人员核实待办
messageNoticeExe.sendMessageCompleteEvent(verifyUserList.get(0).getId());