Browse Source

fix:增加物料名称和编码的重复判断

fix-sign
pref_mail@163.com 5 months ago
parent
commit
38ac3716fa
  1. 3
      blade-service/logpm-basic/src/main/java/com/logpm/basic/controller/BasicMaterialController.java

3
blade-service/logpm-basic/src/main/java/com/logpm/basic/controller/BasicMaterialController.java

@ -202,6 +202,9 @@ public class BasicMaterialController extends BladeController {
log.info("物料添加失败!");
return R.fail("添加失败,必填物料信息不完整为空!");
}
checkBasicMaterialEntity(basicMaterial);
return R.status(basicMaterialService.saveOrUpdateOwn(basicMaterial));
}

Loading…
Cancel
Save