Jelajahi Sumber

[bug-4642]记录盒子修改保存报错

gaozl 10 bulan lalu
induk
melakukan
900155040b

+ 1 - 1
ibps-provider-root/modules/provider-platform/src/main/java/com/lc/ibps/platform/service/PatchService.java

@@ -103,7 +103,7 @@ public class PatchService {
             if(po.getCompleteTime()==null ||StringUtils.isAnyBlank(po.getId(),po.getTaskKey(),po.getProcInstId())){
                 throw new RuntimeException("必选栏位不能为空");
             }
-            if(po.getTaskName() != null && po.getDurMs() ==0){
+            if(po.getTaskName() != null &&  po.getDurMs() !=null && po.getDurMs() ==0){
                 // 发起节点
                 continue;
             }