添加安全环保检查核实完成事件发送功能
parent
58f08a4244
commit
4fcc6c6caf
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue