订单15分钟到期 状态监听 库存回滚
商品排序值 初始化 出入库 日志记录 酒品管理 购物车次日清空
This commit is contained in:
@@ -76,6 +76,7 @@ public class TbProductStockOperateController {
|
||||
|
||||
@PostMapping("/outAndOn")
|
||||
@ApiOperation("新增/product/StockOperate")
|
||||
@Log("出入库")
|
||||
// @PreAuthorize("@el.check('tbProductStockOperate:add')")
|
||||
public ResponseEntity<Object> createOutAndONOperate(@RequestBody OutAndOnDto outAndOnDto){
|
||||
return new ResponseEntity<>(tbProductStockOperateService.createOutAndONOperate(outAndOnDto),HttpStatus.CREATED);
|
||||
|
||||
@@ -37,7 +37,6 @@ public class TbShopStorageGoodController {
|
||||
// }
|
||||
|
||||
@PostMapping("list")
|
||||
@Log("查询酒品列表")
|
||||
@ApiOperation("查询酒品列表")
|
||||
public ResponseEntity<Object> queryTbShopStorageGood(@RequestBody TbShopStorageGoodQueryCriteria criteria){
|
||||
Pageable pageable = PageRequest.of(criteria.getPage(), criteria.getSize(), Sort.by(Sort.Direction.DESC, "id"));
|
||||
@@ -53,7 +52,7 @@ public class TbShopStorageGoodController {
|
||||
}
|
||||
|
||||
@PutMapping
|
||||
@Log("修改酒品")
|
||||
@Log("修改酒品:#resources.name")
|
||||
@ApiOperation("修改酒品")
|
||||
public ResponseEntity<Object> updateTbShopStorageGood(@Validated @RequestBody TbShopStorageGood resources){
|
||||
tbShopStorageGoodService.update(resources);
|
||||
|
||||
Reference in New Issue
Block a user