mark for pull

This commit is contained in:
caixiang
2022-08-09 14:57:55 +08:00
parent 314380cd74
commit 01c95bfe1d
29 changed files with 1338 additions and 65 deletions

View File

@@ -84,9 +84,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

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