报损 返回信息

This commit is contained in:
wangw 2024-09-28 14:55:49 +08:00
parent dfcd29c738
commit 29277ec4eb
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.OK); return new ResponseEntity<>("ok",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.OK); return new ResponseEntity<>("ok",HttpStatus.OK);
} }
// /** // /**