Sfoglia il codice sorgente

流程消息通知bug

24282 1 anno fa
parent
commit
e1ab6a0da0

+ 2 - 2
hx-flow/src/main/java/com/fjhx/flow/service/flow/impl/FlowProcessServiceImpl.java

@@ -641,10 +641,10 @@ public class FlowProcessServiceImpl implements FlowProcessService {
             FlowInfo flowInfo = flowInfoService.getById(flowDefinition.getFlowInfoId());
             String flowName = flowInfo == null ? StringPool.EMPTY : flowInfo.getFlowName();
 
-            pushUserId = flowExample.getHandleUserId();
+            pushUserId = SecurityUtils.getUserId();
             title = StrUtil.format("您于【{}】发起的【{}}】已经审批通过。", DateUtil.formatDateTime(new Date()), flowName);
         } else {
-            pushUserId = SecurityUtils.getUserId();
+            pushUserId = flowExample.getHandleUserId();
             title = "您有一条新的待审批事项,请及时处理。";
         }