瀏覽代碼

1.虚警抑制,取消部件校验。

Gaokun Wang 6 月之前
父節點
當前提交
447fe88363

+ 1 - 1
als-modules/agile-assurance/src/main/java/org/eco/als/controller/ModelController.java

@@ -122,7 +122,7 @@ public class ModelController extends BaseController {
     @RepeatSubmit()
     @PutMapping
     public CommonResult<Void> edit(@Validated @RequestBody ModelBo modelBo) {
-        if (StrUtil.containsAny(modelBo.getType(), "4", "5", "6")) {
+        if (StrUtil.containsAny(modelBo.getType(), "5", "6")) {
             if (StrUtil.isBlank(modelBo.getPartId())) {
                 return CommonResult.fail("部件不能为空.");
             }