fix(企标稽查计划): 消息抄送
This commit is contained in:
+4
-4
@@ -241,12 +241,12 @@ public class EsInspectPlanFlowServiceImpl implements IEsInspectPlanFlowService {
|
|||||||
Optional<ProcessNode> first = processNodeList.stream().findFirst();
|
Optional<ProcessNode> first = processNodeList.stream().findFirst();
|
||||||
first.ifPresent(v -> {
|
first.ifPresent(v -> {
|
||||||
SendMessageDTO sendMessageDTO = new SendMessageDTO();
|
SendMessageDTO sendMessageDTO = new SendMessageDTO();
|
||||||
sendMessageDTO.setTemplateCode(MessageTemplateCodeCommon.LAWS_PROBLEM_LIBRARY);
|
sendMessageDTO.setTemplateCode(MessageTemplateCodeCommon.ES_INSPECT_PLAN);
|
||||||
sendMessageDTO.setToUserId(v.getLinkUserIds());
|
sendMessageDTO.setToUserId(v.getLinkUserIds());
|
||||||
Map<String, String> sendMap = new HashMap<>();
|
Map<String, String> sendMap = new HashMap<>();
|
||||||
sendMap.put("standardNumber", "");
|
ProcessAll process = processAllService.getByProcessInstanceId(processAll.getProcessInstanceId());
|
||||||
sendMap.put("standardName", "");
|
sendMap.put("prcNum", process.getPrcNum());
|
||||||
sendMap.put("title", "");
|
sendMap.put("prcName", process.getPrcName());
|
||||||
sendMessageDTO.setMap(sendMap);
|
sendMessageDTO.setMap(sendMap);
|
||||||
sendMessageAPI.sendMessage(sendMessageDTO);
|
sendMessageAPI.sendMessage(sendMessageDTO);
|
||||||
});
|
});
|
||||||
|
|||||||
+1
-1
@@ -14,5 +14,5 @@ public class MessageTemplateCodeCommon {
|
|||||||
public static final String NEW_MODEL_IMPLEMENTATION = "new_model_implementation"; // 【新车型实施预警】
|
public static final String NEW_MODEL_IMPLEMENTATION = "new_model_implementation"; // 【新车型实施预警】
|
||||||
public static final String ON_THE_PRODUCTION = "on_the_production"; // 【在产车实施预警】
|
public static final String ON_THE_PRODUCTION = "on_the_production"; // 【在产车实施预警】
|
||||||
public static final String LAWS_STANDARD_SHARING = "laws_standard_sharing"; // 【分享】收到分享
|
public static final String LAWS_STANDARD_SHARING = "laws_standard_sharing"; // 【分享】收到分享
|
||||||
|
public static final String ES_INSPECT_PLAN = "es_inspect_plan"; // 【企标稽查计划】流程结束
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user