Parcourir la source

修改startData数据修改后又被jump方法修改回来的bug

24282 il y a 1 an
Parent
commit
9b19844535

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

@@ -368,6 +368,9 @@ public class FlowProcessServiceImpl implements FlowProcessService {
         }
 
         flowExample.setVersion(dto.getVersion());
+
+        // 不修改发起数据
+        flowExample.setStartData(null);
         boolean updateFlag = flowExampleService.updateById(flowExample);
         if (!updateFlag) {
             throw new ServiceException("流程已被处理");