From bcd8d392d27ae13ed21fc1c96920a37544992d04 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期二, 21 十月 2025 16:24:41 +0800
Subject: [PATCH] #

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

diff --git a/src/main/resources/mapper/nc/NccScZkmxbWmsMapper.xml b/src/main/resources/mapper/nc/NccScZkmxbWmsMapper.xml
index b385728..2cc6d0d 100644
--- a/src/main/resources/mapper/nc/NccScZkmxbWmsMapper.xml
+++ b/src/main/resources/mapper/nc/NccScZkmxbWmsMapper.xml
@@ -58,6 +58,8 @@
             <result property="ljrkzsl" column="LJRKZSL" />
             <result property="dr" column="DR" />
             <result property="ts" column="TS" />
+            <result property="wmsFlag" column="wms_flag" />
+        <result property="wmsMemo" column="wms_memo" />
     </resultMap>
 
     <sql id="Base_Column_List">
@@ -71,6 +73,32 @@
         ZSJFLMC,ZDW,FDW,KCZT,VBATCHCODE,
         VDEF1,VDEF2,VDEF3,KHBM,KHMC,
         KHJC,YZZSL,YZFSL,LJCKZSL,LJRKZSL,
-        DR,TS
+        DR,TS,wms_flag
     </sql>
+
+    <select id="selectZkIn" resultType="java.lang.String">
+        select distinct VBILLCODE
+        from ncc_sc_zkmxb_wms
+        where wms_flag != 1 and DJZT = 4 and dr =0 and bdr =0
+        <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  and dr =0 and bdr =0
+        <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