rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/MatnrController.java
@@ -67,6 +67,16 @@ @OperationLog("Create 物料信息表") @PostMapping("/matnr/save") public R save(@RequestBody Matnr matnr) { if (Objects.isNull(matnr.getName())) { throw new CoolException("名称不能为空!!"); } if (Objects.isNull(matnr.getCode())) { throw new CoolException("编码不能为空!!"); } if (Objects.isNull(matnr.getGroupId())) { throw new CoolException("物料分组不能为空!!"); } matnr.setCreateBy(getLoginUserId()); matnr.setUpdateBy(getLoginUserId()); if (!matnrService.save(matnr)) {