Browse Source

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

(cherry picked from commit 900155040b5ed64d3ff15bb8802878c905704ca4)
gaozl 10 tháng trước cách đây
mục cha
commit
0d0ef5bacb

+ 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;
             }