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