From cc8efc81d2d35bed40e47d0a5b0920a4b6f8095f Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期四, 23 十月 2025 11:04:05 +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 |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 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 0a9d737..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,8 +105,15 @@
     @ApiOperation("鍙戣揣璁㈠崟鏌ヨ鎺ュ彛")
     @SaCheckPermission("selectDelivery.search")
     @PostMapping("/getSelectDeliveryPrinting")
-    public Result getSelectDeliveryPrinting( @RequestBody DeliveryDetail deliveryDetail){
-        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/{selectedValues}")
+    public Result getSelectOrderPrinting(@PathVariable List<String> selectedValues, @RequestBody OrderDetail orderDetail){
+        return Result.seccess(deliveryService.getSelectOrderPrinting(orderDetail,selectedValues));
     }
 
     @ApiOperation("鍙戣揣鏄庣粏鎶ヨ〃")
@@ -122,6 +130,12 @@
         DownExcel.download(response, DeliveryDetailProductDTO.class, deliveryService.exportDeliveryDetailProductReport(dates),"orderReport");
     }
 
+    @ApiOperation("鍙戣揣鍗曟墦鍗拌鏁�")
+    @PostMapping ("/updateDeliveryPrintNumber/{deliveryId}")
+    public Result updateDeliveryPrintNumber(@PathVariable String deliveryId)  {
+
+        return  Result.seccess(deliveryService.updateDeliveryPrintNumber(deliveryId));
+    }
 
 
 

--
Gitblit v1.8.0