From 9220d57a83cc527cac2a33625fe518b5a03f0def Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期五, 23 五月 2025 10:40:48 +0800
Subject: [PATCH] 接口编写

---
 src/main/resources/mapper/nc/NccScZkmxbWmsMapper.xml |   24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/nc/NccScZkmxbWmsMapper.xml b/src/main/resources/mapper/nc/NccScZkmxbWmsMapper.xml
index 3bce543..dd9f2c1 100644
--- a/src/main/resources/mapper/nc/NccScZkmxbWmsMapper.xml
+++ b/src/main/resources/mapper/nc/NccScZkmxbWmsMapper.xml
@@ -76,9 +76,29 @@
         DR,TS,wms_flag
     </sql>
 
-    <select id="selectZk" resultType="java.lang.String">
+    <select id="selectZkIn" resultType="java.lang.String">
         select distinct VBILLCODE
         from ncc_sc_zkmxb_wms
-        where wms_flag != 1 and DJZT = 4 limit 100
+        where wms_flag != 1 and DJZT = 4
+        <if test="ids != null">
+            and RKCKBM in
+            <foreach item="id" collection="ids" separator="," open="(" close=")" index="">
+                #{id}
+            </foreach>
+        </if>
+        limit 100
+    </select>
+
+    <select id="selectZkOut" resultType="java.lang.String">
+        select distinct VBILLCODE
+        from ncc_sc_zkmxb_wms
+        where wms_flag != 1 and DJZT = 4
+        <if test="ids != null">
+            and CKCKBM in
+            <foreach item="id" collection="ids" separator="," open="(" close=")" index="">
+                #{id}
+            </foreach>
+        </if>
+        limit 100
     </select>
 </mapper>

--
Gitblit v1.9.1