WMS交接作业单查询详情修改调整
This commit is contained in:
+18
@@ -157,6 +157,24 @@ public class StockOutOrderApi extends BaseController {
|
|||||||
return AjaxResult.success(stockOutOrderApplicationService.getInfoChildren(stockOutOrder.getOutOrderId()));
|
return AjaxResult.success(stockOutOrderApplicationService.getInfoChildren(stockOutOrder.getOutOrderId()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据来源单号/出库单号(orderNumber)获取出库单详细信息
|
||||||
|
* 方便交接作业单等场景直接用 orderNumber 调用,内部仍然通过 outOrderNumber 精确匹配出库单
|
||||||
|
*/
|
||||||
|
@ApiOperation("根据orderNumber获取出库单详情")
|
||||||
|
@GetMapping("/getInfoByOrderNumber")
|
||||||
|
public AjaxResult getInfoByOrderNumber(@RequestParam("orderNumber") String orderNumber) {
|
||||||
|
if (orderNumber == null || orderNumber.trim().isEmpty()) {
|
||||||
|
return AjaxResult.error("orderNumber不能为空");
|
||||||
|
}
|
||||||
|
StockOutOrder stockOutOrder = stockOutOrderService.getOne(new LambdaQueryWrapper<StockOutOrder>()
|
||||||
|
.eq(StockOutOrder::getOutOrderNumber, orderNumber));
|
||||||
|
if (stockOutOrder == null) {
|
||||||
|
return AjaxResult.error("出库单不存在");
|
||||||
|
}
|
||||||
|
return AjaxResult.success(stockOutOrderApplicationService.getInfoChildren(stockOutOrder.getOutOrderId()));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 审核出库单
|
* 审核出库单
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user