From 81cad8df0f1b33700e7fc80f271eda7f1180efb0 Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期二, 14 十月 2025 14:51:17 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override

---
 north-glass-erp/src/main/java/com/example/erp/controller/sd/DeliveryController.java |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/sd/DeliveryController.java b/north-glass-erp/src/main/java/com/example/erp/controller/sd/DeliveryController.java
index c0c3aff..cf906a8 100644
--- a/north-glass-erp/src/main/java/com/example/erp/controller/sd/DeliveryController.java
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/sd/DeliveryController.java
@@ -15,6 +15,7 @@
 import com.example.erp.exception.ServiceException;
 import com.example.erp.service.sd.DeliveryService;
 import com.example.erp.tools.DownExcel;
+import com.fasterxml.jackson.core.JsonProcessingException;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -28,7 +29,7 @@
 
 @RestController
 @Api(value="鍙戣揣controller",tags={"鍙戣揣鎿嶄綔鎺ュ彛"})
-@RequestMapping("/Delivery")
+@RequestMapping("/delivery")
 public class DeliveryController {
     @Autowired
     DeliveryService deliveryService;
@@ -38,7 +39,7 @@
     @ApiOperation("鍙戣揣璁㈠崟鏌ヨ鎺ュ彛")
     @SaCheckPermission("selectDelivery.search")
     @PostMapping("/getSelectShippingOrder/{pageNum}/{pageSize}/{selectDate}")
-    public Result getSelectShippingOrder(@PathVariable Integer pageNum, @PathVariable Integer pageSize,@PathVariable List<String> selectDate, @RequestBody Delivery delivery){
+    public Result getSelectShippingOrder(@PathVariable Integer pageNum, @PathVariable Integer pageSize,@PathVariable List<String> selectDate, @RequestBody Delivery delivery) throws JsonProcessingException {
         return Result.seccess(deliveryService.getSelectShippingOrder(pageNum,pageSize,selectDate,delivery));
     }
 
@@ -104,15 +105,15 @@
     @ApiOperation("鍙戣揣璁㈠崟鏌ヨ鎺ュ彛")
     @SaCheckPermission("selectDelivery.search")
     @PostMapping("/getSelectDeliveryPrinting")
-    public Result getSelectDeliveryPrinting( @RequestBody DeliveryDetail deliveryDetail) throws IllegalAccessException {
-        return Result.seccess(deliveryService.getSelectDeliveryPrinting(deliveryDetail));
+    public Result getSelectDeliveryPrinting( @RequestBody Map<String,Object> object) throws IllegalAccessException {
+        return Result.seccess(deliveryService.getSelectDeliveryPrinting(object));
     }
 
     @ApiOperation("璁㈠崟鍙戣揣璁㈠崟鏌ヨ鎺ュ彛")
     @SaCheckPermission("selectDelivery.search")
-    @PostMapping("/getSelectOrderPrinting")
-    public Result getSelectOrderPrinting( @RequestBody OrderDetail orderDetail){
-        return Result.seccess(deliveryService.getSelectOrderPrinting(orderDetail));
+    @PostMapping("/getSelectOrderPrinting/{selectedValues}")
+    public Result getSelectOrderPrinting(@PathVariable List<String> selectedValues, @RequestBody OrderDetail orderDetail){
+        return Result.seccess(deliveryService.getSelectOrderPrinting(orderDetail,selectedValues));
     }
 
     @ApiOperation("鍙戣揣鏄庣粏鎶ヨ〃")
@@ -135,7 +136,6 @@
 
         return  Result.seccess(deliveryService.updateDeliveryPrintNumber(deliveryId));
     }
-
 
 
 

--
Gitblit v1.8.0