فهرست منبع

!759 [fix] 解决工作流通知messageType参数判空逻辑错误的问题
* [fix] 解决工作流通知messageType参数判空逻辑错误的问题

Rogue杨 10 ماه پیش
والد
کامیت
f4cfd1c913

+ 1 - 1
ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/service/impl/FlwCommonServiceImpl.java

@@ -49,7 +49,7 @@ public class FlwCommonServiceImpl implements IFlwCommonService {
      */
     @Override
     public void sendMessage(String flowName, Long instId, List<String> messageType, String message) {
-        if (CollUtil.isNotEmpty(messageType)) {
+        if (CollUtil.isEmpty(messageType)) {
             return;
         }
         IFlwTaskService flwTaskService = SpringUtils.getBean(IFlwTaskService.class);