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,13 +330,9 @@ 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("差旅报销单")){
|
|
||||||
syscode = jsonCode.getString("差旅报销单");
|
|
||||||
} else {
|
|
||||||
log.info("cxkg.integration.MessageListen.syscode is null: " +
|
log.info("cxkg.integration.MessageListen.syscode is null: " +
|
||||||
entityName + "/" + messageContext.getEntityNumber());
|
entityName + "/" + messageContext.getEntityNumber());
|
||||||
}
|
}
|
||||||
}
|
|
||||||
String title = "请处理" + startUserTrueName + "提交的" + entityName + ":" + messageContext.getBillNo();
|
String title = "请处理" + startUserTrueName + "提交的" + entityName + ":" + messageContext.getBillNo();
|
||||||
|
|
||||||
while (var47.hasNext()) {
|
while (var47.hasNext()) {
|
||||||
|
|
Loading…
Reference in New Issue