消息待办,屏蔽无url的消息发送

This commit is contained in:
“wyx12345678” 2024-07-26 17:18:28 +08:00
parent 285d72d984
commit a50bafde7e
1 changed files with 3 additions and 3 deletions

View File

@ -352,7 +352,7 @@ public class MessageListen extends AbstractMessageServiceHandler {
entityName = "差旅报销单"; entityName = "差旅报销单";
} }
if(entityName != null && entityName.startsWith("供应商")){ if(entityName != null && entityName.equals("供应商")){
entityName = "供应商入库"; entityName = "供应商入库";
} }
// userNames.add(startUserName); // userNames.add(startUserName);
@ -541,7 +541,7 @@ public class MessageListen extends AbstractMessageServiceHandler {
if(entityName != null && entityName.startsWith("差旅报销单")){ if(entityName != null && entityName.startsWith("差旅报销单")){
entityName = "差旅报销单"; entityName = "差旅报销单";
} }
if(entityName != null && entityName.startsWith("供应商")){ if(entityName != null && entityName.equals("供应商")){
entityName = "供应商入库"; entityName = "供应商入库";
} }
Iterator var21 = userNames.iterator(); Iterator var21 = userNames.iterator();
@ -661,7 +661,7 @@ public class MessageListen extends AbstractMessageServiceHandler {
entityName = "差旅报销单"; entityName = "差旅报销单";
} }
if(entityName != null && entityName.startsWith("供应商")){ if(entityName != null && entityName.equals("供应商")){
entityName = "供应商入库"; entityName = "供应商入库";
} }
String title = (String) map.get("title");//标题 String title = (String) map.get("title");//标题