Merge branch 'master' of http://git.picaiba.com/CaiXiang/SPC into yanyang

This commit is contained in:
2022-08-09 15:22:31 +08:00
58 changed files with 2158 additions and 130 deletions

View File

@@ -89,9 +89,7 @@ public class FactoryController {
public Result update(@RequestBody FactoryDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
factoryService.update(dto);
return new Result();
}

View File

@@ -70,7 +70,7 @@ public class ProductController {
return new Result<ProductDTO>().ok(data);
}
@PostMapping
@PostMapping("save")
@ApiOperation("保存")
//@LogOperation("保存")
//@PreAuthorize("@ex.hasAuthority('code:product:save')")
@@ -83,7 +83,7 @@ public class ProductController {
return new Result();
}
@PutMapping
@PutMapping("update")
@ApiOperation("修改")
//@LogOperation("修改")
//@PreAuthorize("@ex.hasAuthority('code:product:update')")
@@ -96,7 +96,7 @@ public class ProductController {
return new Result();
}
@DeleteMapping
@DeleteMapping("delete")
@ApiOperation("删除")
//@LogOperation("删除")
//@PreAuthorize("@ex.hasAuthority('code:product:delete')")