|
|
@ -364,10 +364,10 @@ public class WarehouseWaybillController extends BladeController { |
|
|
|
@PostMapping("/printBatch") |
|
|
|
@PostMapping("/printBatch") |
|
|
|
@ApiOperationSupport(order = 2) |
|
|
|
@ApiOperationSupport(order = 2) |
|
|
|
@ApiOperation(value = "批量打印 配送单") |
|
|
|
@ApiOperation(value = "批量打印 配送单") |
|
|
|
public R<List<PrintPreviewVO>> printBatch(@ApiParam(value = "主键集合", required = true) @RequestParam String ids, @ApiParam(value = "打印类型", required = true) @RequestParam String tempId) { |
|
|
|
public R<Map<String,List<PrintPreviewVO>>> printBatch(@ApiParam(value = "主键集合", required = true) @RequestParam String ids, @ApiParam(value = "打印类型", required = true) @RequestParam String tempId) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
log.info(">>>>>>>>>>>>>>>>>> printBatch {}",ids); |
|
|
|
log.info(">>>>>>>>>>>>>>>>>> printBatch {}",ids); |
|
|
|
List<PrintPreviewVO> printPreviewVOS = warehouseWaybillService.printBatch(ids, tempId); |
|
|
|
Map<String,List<PrintPreviewVO>> printPreviewVOS = warehouseWaybillService.printBatch(ids, tempId); |
|
|
|
return R.data(printPreviewVOS); |
|
|
|
return R.data(printPreviewVOS); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
throw new RuntimeException(e); |
|
|
|
throw new RuntimeException(e); |
|
|
|