Merge branch 'master' of http://git.picaiba.com/CaiXiang/SPC into yanyang
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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')")
|
||||
|
||||
Reference in New Issue
Block a user