商品出入库 和 耗材出入库 日志记录 明确描述
This commit is contained in:
@@ -71,7 +71,7 @@ public class TbConsInfoController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping(value = "stockInOut")
|
@PostMapping(value = "stockInOut")
|
||||||
@Log("耗材出入库::#resources.type")
|
@Log("耗材::#resources.type")
|
||||||
@ApiOperation("耗材出入库")
|
@ApiOperation("耗材出入库")
|
||||||
public ResponseEntity<Object> stockInOut(@Validated @RequestBody SuppFlow resources) throws Exception {
|
public ResponseEntity<Object> stockInOut(@Validated @RequestBody SuppFlow resources) throws Exception {
|
||||||
|
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ public class TbProductStockOperateController {
|
|||||||
|
|
||||||
@PostMapping("/outAndOn")
|
@PostMapping("/outAndOn")
|
||||||
@ApiOperation("新增/product/StockOperate")
|
@ApiOperation("新增/product/StockOperate")
|
||||||
@Log("商品出入库::#outAndOnDto.type")
|
@Log("商品::#outAndOnDto.type")
|
||||||
// @PreAuthorize("@el.check('tbProductStockOperate:add')")
|
// @PreAuthorize("@el.check('tbProductStockOperate:add')")
|
||||||
public ResponseEntity<Object> createOutAndONOperate(@RequestBody OutAndOnDto outAndOnDto){
|
public ResponseEntity<Object> createOutAndONOperate(@RequestBody OutAndOnDto outAndOnDto){
|
||||||
return new ResponseEntity<>(tbProductStockOperateService.createOutAndONOperate(outAndOnDto),HttpStatus.CREATED);
|
return new ResponseEntity<>(tbProductStockOperateService.createOutAndONOperate(outAndOnDto),HttpStatus.CREATED);
|
||||||
|
|||||||
Reference in New Issue
Block a user