From 787601a6a35581f930c304cc5052a2ad4e716a16 Mon Sep 17 00:00:00 2001
From: 李天宇 <876263681@qq.com>
Date: 星期三, 16 十月 2024 00:27:10 +0800
Subject: [PATCH] #update 根据客户需求更改wms相关功能

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

diff --git a/src/main/java/com/zy/asrs/mapper/OrderDetlMapper.java b/src/main/java/com/zy/asrs/mapper/OrderDetlMapper.java
index 79db4e5..4625f20 100644
--- a/src/main/java/com/zy/asrs/mapper/OrderDetlMapper.java
+++ b/src/main/java/com/zy/asrs/mapper/OrderDetlMapper.java
@@ -40,4 +40,23 @@
     Integer sameOrderComb(@Param("orderNo") String orderNo, @Param("matnr") String matnr, @Param("batch") String batch);
 
     int increaseAnfme(@Param("orderId")Long orderId, @Param("matnr")String matnr, @Param("batch")String batch, @Param("qty")Double qty);
+
+    /**
+     * 鏍规嵁鐗╂枡鍙峰拰鎵瑰彿鍒嗗埆鏌ヨ鍦ㄥ钩搴撹鐗╂枡搴撳瓨
+     * @param matnr 鐗╂枡鍙�
+     * @param batch 鎵瑰彿
+     * @return 搴撳瓨鏁伴噺
+     */
+    Long selectCountToAsrByMatnr(@Param("matnr") String matnr,@Param("batch") String batch);
+
+    /**
+     * 鏍规嵁鐗╂枡鍙峰拰鎵瑰彿鍒嗗埆鏌ヨ鍦ㄧ珛搴撹鐗╂枡搴撳瓨
+     * @param matnr 鐗╂枡鍙�
+     * @param batch 鎵瑰彿
+     * @return 搴撳瓨鏁伴噺
+     */
+    Long selectCountToManByMatnr(@Param("matnr") String matnr,@Param("batch") String batch);
+
+    int increaseWorkQtyByOrderNo(@Param("orderNo") String orderNo, @Param("matnr") String matnr, @Param("batch") String batch, @Param("qty") Double qty);
+
 }

--
Gitblit v1.9.1