商品报损 状态码
This commit is contained in:
parent
58b25c7e0f
commit
dfcd29c738
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
// /**
|
// /**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue