parent
5a2b41a601
commit
c1a2339806
|
@ -320,6 +320,9 @@ public class MessageListen extends AbstractMessageServiceHandler {
|
||||||
// receiverUser = receiver.getString("username");
|
// receiverUser = receiver.getString("username");
|
||||||
// }
|
// }
|
||||||
String entityName = messageContext.getEntityName();
|
String entityName = messageContext.getEntityName();
|
||||||
|
if(entityName.startsWith("差旅报销单")){
|
||||||
|
entityName = "差旅报销单";
|
||||||
|
}
|
||||||
userNames.add(startUserName);
|
userNames.add(startUserName);
|
||||||
List<Map<String, Object>> requestBodyList = new ArrayList();
|
List<Map<String, Object>> requestBodyList = new ArrayList();
|
||||||
Iterator var47 = userNames.iterator();
|
Iterator var47 = userNames.iterator();
|
||||||
|
@ -327,12 +330,8 @@ public class MessageListen extends AbstractMessageServiceHandler {
|
||||||
JSONObject jsonCode = JSON.parseObject(syscodestr);
|
JSONObject jsonCode = JSON.parseObject(syscodestr);
|
||||||
String syscode = jsonCode.getString(entityName);
|
String syscode = jsonCode.getString(entityName);
|
||||||
if(syscode == null || "".equals(syscode)){
|
if(syscode == null || "".equals(syscode)){
|
||||||
if(entityName.startsWith("差旅报销单")){
|
log.info("cxkg.integration.MessageListen.syscode is null: " +
|
||||||
syscode = jsonCode.getString("差旅报销单");
|
entityName + "/" + messageContext.getEntityNumber());
|
||||||
} else {
|
|
||||||
log.info("cxkg.integration.MessageListen.syscode is null: " +
|
|
||||||
entityName + "/" + messageContext.getEntityNumber());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
String title = "请处理" + startUserTrueName + "提交的" + entityName + ":" + messageContext.getBillNo();
|
String title = "请处理" + startUserTrueName + "提交的" + entityName + ":" + messageContext.getBillNo();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue