|
|
|
@@ -513,7 +513,7 @@ public class WxFlowServiceImpl implements WxFlowService { |
|
|
|
dynamicContentMap.put("contract", (String) getVariableByKey(variables, "settleNumber")); |
|
|
|
} |
|
|
|
wxMsgRecord.setDynamicContentMap(dynamicContentMap); |
|
|
|
mqBaseProducer.sendMessage(wxMsgRecord, EnumMsgMqTopic.DEFAULT.getCode(),EnumMsgMqTag.DEFAULT.getCode(),EnumMsgMqKey.DEFAULT.getCode()); |
|
|
|
// mqBaseProducer.sendMessage(wxMsgRecord, EnumMsgMqTopic.DEFAULT.getCode(),EnumMsgMqTag.DEFAULT.getCode(),EnumMsgMqKey.DEFAULT.getCode()); |
|
|
|
|
|
|
|
//发邮件 |
|
|
|
Map msgReplaceMap = new HashedMap(); |
|
|
|
@@ -754,6 +754,12 @@ public class WxFlowServiceImpl implements WxFlowService { |
|
|
|
} |
|
|
|
Integer flowType = resultList.get(0).getBusinessType(); |
|
|
|
String processInstanceId = resultList.get(0).getProcessInstanceId(); |
|
|
|
int rindex = 0; |
|
|
|
while (StringUtils.isBlank(processInstanceId)) { |
|
|
|
rindex = rindex + 1; |
|
|
|
processInstanceId = resultList.get(rindex).getProcessInstanceId(); |
|
|
|
flowType = resultList.get(rindex).getBusinessType(); |
|
|
|
} |
|
|
|
ProcessInstance pi = null; |
|
|
|
try { |
|
|
|
pi = runtimeService.createProcessInstanceQuery().processInstanceId(processInstanceId).singleResult(); |
|
|
|
|