Bläddra i källkod

打补丁接口修改时间校验

szjbdgzl 1 år sedan
förälder
incheckning
d92b2b0eb5

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

@@ -104,6 +104,9 @@ public class PatchService {
             if(po.getCompleteTime()==null ||StringUtils.isAnyBlank(po.getId(),po.getTaskKey(),po.getProcInstId())){
                 throw new RuntimeException("必选栏位不能为空");
             }
+            if(po.getDurMs() != null && po.getDurMs() <1000*10){
+                continue;
+            }
             if(t == null) {
                 t = po.getCompleteTime();
             }else if(t.after(po.getCompleteTime())){