Commit b26b1078 authored by 332784038@qq.com's avatar 332784038@qq.com Committed by wux

添加批量加价页面出货单订单列表查询业务

parent 3c93444f
...@@ -282,6 +282,25 @@ public class BoxController { ...@@ -282,6 +282,25 @@ public class BoxController {
return success(orderList); return success(orderList);
} }
@GetMapping("/shipment/batch/markup/order/list")
@ApiOperation("获得批量加价页面出货单订单列表")
public CommonResult<List<OrderMarkupVO>> shipmentBatchMarkupOrderList(OrderQueryVO query) {
if ((query.getShipmentId() == null || query.getShipmentId() == 0L) && StringUtils.isBlank(query.getContainerNumber())) {
return error(PARAM_SHIPMENT_NOT_NULL);
}
if (StringUtils.isBlank(query.getContainerNumber())){
BoxDO boxDO = boxService.getBox(query.getShipmentId());
if (Objects.isNull(boxDO)){
return error(PARAM_SHIPMENT_NOT_NULL);
}
query.setContainerNumber(boxDO.getSelfNo());
}
List<OrderMarkupVO> list = boxService.shipmentBatchMarkupOrderList(query);
return success(list);
}
@GetMapping("/export-excel") @GetMapping("/export-excel")
@ApiOperation("导出出货 Excel") @ApiOperation("导出出货 Excel")
@PreAuthorize("@ss.hasPermission('shipment:box:export')") @PreAuthorize("@ss.hasPermission('shipment:box:export')")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment