fix: 入库设置状态为已入库

This commit is contained in:
DataCall 2024-08-07 16:30:53 +08:00
parent f3cc45ae7c
commit 27f11101df

View file

@ -90,6 +90,7 @@ public class ReceiptOrderController extends BaseController {
@RepeatSubmit()
@PostMapping("/warehousing")
public R<Void> doWarehousing(@Validated(AddGroup.class) @RequestBody ReceiptOrderBo bo) {
bo.setReceiptOrderStatus(ServiceConstants.ReceiptOrderStatus.FINISH);
receiptOrderService.receive(bo);
return R.ok();
}