fix(企标稽查计划): 消息抄送

This commit is contained in:
yjz
2023-11-15 11:02:31 +08:00
parent 09307f12c2
commit 99ff395b7e
2 changed files with 5 additions and 5 deletions
@@ -241,12 +241,12 @@ public class EsInspectPlanFlowServiceImpl implements IEsInspectPlanFlowService {
Optional<ProcessNode> first = processNodeList.stream().findFirst();
first.ifPresent(v -> {
SendMessageDTO sendMessageDTO = new SendMessageDTO();
sendMessageDTO.setTemplateCode(MessageTemplateCodeCommon.LAWS_PROBLEM_LIBRARY);
sendMessageDTO.setTemplateCode(MessageTemplateCodeCommon.ES_INSPECT_PLAN);
sendMessageDTO.setToUserId(v.getLinkUserIds());
Map<String, String> sendMap = new HashMap<>();
sendMap.put("standardNumber", "");
sendMap.put("standardName", "");
sendMap.put("title", "");
ProcessAll process = processAllService.getByProcessInstanceId(processAll.getProcessInstanceId());
sendMap.put("prcNum", process.getPrcNum());
sendMap.put("prcName", process.getPrcName());
sendMessageDTO.setMap(sendMap);
sendMessageAPI.sendMessage(sendMessageDTO);
});
@@ -14,5 +14,5 @@ public class MessageTemplateCodeCommon {
public static final String NEW_MODEL_IMPLEMENTATION = "new_model_implementation"; // 【新车型实施预警】
public static final String ON_THE_PRODUCTION = "on_the_production"; // 【在产车实施预警】
public static final String LAWS_STANDARD_SHARING = "laws_standard_sharing"; // 【分享】收到分享
public static final String ES_INSPECT_PLAN = "es_inspect_plan"; // 【企标稽查计划】流程结束
}