商品报损 状态码

This commit is contained in:
wangw 2024-09-28 14:42:44 +08:00
parent 58b25c7e0f
commit dfcd29c738
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ public class TbConsInfoFlowController {
@ApiOperation("耗材报损") @ApiOperation("耗材报损")
public ResponseEntity<Object> frmLoss(@RequestBody TbConsInfoFlowDto resources){ public ResponseEntity<Object> frmLoss(@RequestBody TbConsInfoFlowDto resources){
tbConsInfoFlowService.frmLoss(resources); tbConsInfoFlowService.frmLoss(resources);
return new ResponseEntity<>(HttpStatus.CREATED); return new ResponseEntity<>(HttpStatus.OK);
} }
// @GetMapping // @GetMapping

View File

@ -77,7 +77,7 @@ public class TbProductStockDetailController {
@ApiOperation("商品报损") @ApiOperation("商品报损")
public ResponseEntity<Object> frmLoss(@Validated @RequestBody TbProductFrmLossDto resources){ public ResponseEntity<Object> frmLoss(@Validated @RequestBody TbProductFrmLossDto resources){
tbProductStockDetailService.frmLoss(resources); tbProductStockDetailService.frmLoss(resources);
return new ResponseEntity<>(HttpStatus.CREATED); return new ResponseEntity<>(HttpStatus.OK);
} }
// /** // /**