消息待办,变为已办

This commit is contained in:
“wyx12345678” 2024-07-25 18:16:41 +08:00
parent 8ba4aa33cb
commit feaa8897b8
2 changed files with 4 additions and 1 deletions

View File

@ -528,6 +528,9 @@ public class MessageListen extends AbstractMessageServiceHandler {
if(title == null || "".equals(title)){
title = entityName + "" + messageContext.get("billNo") + "审批完成";
}
if(title.contains("传阅")){
title = "【传阅】"+entityName + "" + messageContext.get("billNo") + "查看";
}
if(entityName != null && entityName.startsWith("差旅报销单")){
entityName = "差旅报销单";
}

View File

@ -30,7 +30,7 @@ public class ApprovalBillFormPlugin extends AbstractWorkflowPlugin {
Map<String, Object> customParams = this.getView().getFormShowParameter().getCustomParams();
String apptype = (String) customParams.get("apptype");//获取应用类型
String msgId = (String) customParams.get("msgId");
Object processInstanceId = customParams.get("processInstanceId");
Object processInstanceId = customParams.get("prcid");
if ("waver".equals(apptype) && !Strings.isEmpty(msgId) && processInstanceId != null){//当接口对象为泛微且提供消息对象主键不为空
DynamicObject wf_msg_message = BusinessDataServiceHelper.loadSingle(msgId, "wf_msg_message");//获取消息模型对象
HashMap<String,Object> map = new HashMap<>();