فهرست منبع

fix: 修复任务类型错误

shc 7 ماه پیش
والد
کامیت
ff627145df
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 6 0
      hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/controller/InitController.java

+ 6 - 0
hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/controller/InitController.java

@@ -504,6 +504,10 @@ public class InitController {
             }
             }
             String temp17 = params.getTemp17();
             String temp17 = params.getTemp17();
 
 
+
+            if (StrUtil.isBlank(temp17)) {
+                continue;
+            }
             WmTaskContent newOne = new WmTaskContent();
             WmTaskContent newOne = new WmTaskContent();
             newOne.setId(taskContent.getId());
             newOne.setId(taskContent.getId());
             newOne.setTemp27(temp17);
             newOne.setTemp27(temp17);
@@ -511,8 +515,10 @@ public class InitController {
 
 
         }
         }
 
 
+
         taskContentService.updateBatchById(updateed);
         taskContentService.updateBatchById(updateed);
 
 
+        log.info("updateed:{}", JSONUtil.toJsonStr(updateed));
         return R.ok(Boolean.TRUE, updateed.size() + "");
         return R.ok(Boolean.TRUE, updateed.size() + "");
     }
     }