From e170c300cd11406d414e7da156fc6b2da1c13915 Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期四, 31 七月 2025 12:27:38 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/mapper/OrderDetlMapper.java |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/asrs/mapper/OrderDetlMapper.java b/src/main/java/com/zy/asrs/mapper/OrderDetlMapper.java
index 4842f5a..101566d 100644
--- a/src/main/java/com/zy/asrs/mapper/OrderDetlMapper.java
+++ b/src/main/java/com/zy/asrs/mapper/OrderDetlMapper.java
@@ -18,6 +18,7 @@
     List<OrderDetl> selectItemByOrderNo(@Param("orderNo") String orderNo, @Param("matnr") String matnr, @Param("batch") String batch);
 
     List<OrderDetl> selectWorkingDetls(Long orderId);
+    List<OrderDetl> loadQuantity(String orderNo);
 
     List<OrderDetl> getPakoutPage(Map<String, Object> map);
 
@@ -27,13 +28,17 @@
 
     int decrease(@Param("orderNo")String orderNo, @Param("matnr")String matnr, @Param("batch")String batch, @Param("qty")Double qty);
 
+    int decrease2(@Param("id")Long id, @Param("qty")Double qty);
+
     int modifyStatus(@Param("orderId") Long orderId, @Param("status")Integer status);
 
     int addToLogTable(OrderDetl orderDetl);
 
-    int increaseQtyByOrderNo(@Param("orderNo")String orderNo, @Param("matnr")String matnr, @Param("batch")String batch, @Param("qty")Double qty);
+    //int increaseQtyByOrderNo(@Param("orderNo")String orderNo, @Param("matnr")String matnr, @Param("batch")String batch, @Param("qty")Double qty);
 
-    int increaseWorkQty(@Param("orderId")Long orderId, @Param("matnr")String matnr, @Param("batch")String batch, @Param("workQty")Double workQty);
+    int increaseQtyById(@Param("id")Long id,  @Param("qty")Double qty);
+
+    int increaseWorkQty(@Param("id")Long id,  @Param("workQty")Double workQty);
 
 
     List<OrderDetl>  listByOrderNo(@Param("orderNo") String orderNo);

--
Gitblit v1.9.1