Commit f0fd8d87e952883d8e28120f8706e53a1cba38cc
1 parent
8623d58f
出库增加批量呼叫料盒
Showing
1 changed file
with
16 additions
and
0 deletions
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/shipment/shipmentHeader/controller/ShipmentHeaderController.java
... | ... | @@ -400,6 +400,22 @@ public class ShipmentHeaderController extends JeecgController<ShipmentHeader, IS |
400 | 400 | return result; |
401 | 401 | } |
402 | 402 | |
403 | + @AutoLog(value = "PDA出库-批量呼叫料盒") | |
404 | + @ApiOperation(value = "PDA出库-批量呼叫料盒", notes = "创建空的分拣出库任务,并返回任务id") | |
405 | + @PostMapping("/batchCallBox") | |
406 | + @ResponseBody | |
407 | + @ApiLogger(apiName = "PDA出库-呼叫料盒", from = "PDA") | |
408 | + public Result<TaskHeader> batchCallBox(@RequestBody List<CallBoxBean> callBoxBeanList, HttpServletRequest req) { | |
409 | + String warehouseCode = HuahengJwtUtil.getWarehouseCodeByToken(req); | |
410 | + Result result = null; | |
411 | + // 分拣出库类型 | |
412 | + for (CallBoxBean callBoxBean : callBoxBeanList) { | |
413 | + callBoxBean.setType(QuantityConstant.TASK_TYPE_SORTINGSHIPMENT); | |
414 | + result = huahengMultiHandlerService.callBox(callBoxBean, warehouseCode); | |
415 | + } | |
416 | + return result; | |
417 | + } | |
418 | + | |
403 | 419 | @AutoLog(value = "快速出库") |
404 | 420 | @ApiOperation(value = "快速出库", notes = "快速出库") |
405 | 421 | @PostMapping("/autoShipment") |
... | ... |