From b53e4ba7d0b3ea9006b7af20362f78c14bcc1c03 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期四, 05 二月 2026 09:47:20 +0800
Subject: [PATCH] 修复订单出库选择出库站点后报错

---
 src/main/resources/mapper/third/ExdOutstockSourceMapper.xml |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml b/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml
index 2d44a34..4ad254b 100644
--- a/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml
+++ b/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml
@@ -5,7 +5,7 @@
 <mapper namespace="com.zy.third.mapper.ExdOutstockSourceMapper">
 
     <resultMap id="BaseResultMap" type="com.zy.third.entity.ExdOutstockSource">
-            <id property="id" column="ID" />
+            <id property="ID" column="ID" />
             <result property="finterid" column="FInterID" />
             <result property="fbillno" column="FBillNo" />
             <result property="ftrantype" column="FTranType" />
@@ -55,12 +55,18 @@
     <select id="listOrderNo" resultType="java.lang.String">
             select distinct fbillno
             from Exd_Outstock_Source
-            where status = 0
+            where status in (0,4)
+    </select>
+
+    <select id="deletelistOrderNo" resultType="com.zy.third.entity.ExdOutstockSource">
+        select *
+        from Exd_Outstock_Source
+        where status  = 5
     </select>
 
 
     <select id="listAll" resultType="com.zy.third.entity.ExdOutstockSource">
-            select * from Exd_Outstock_Source where fbillno = #{orderNo}
+            select * from Exd_Outstock_Source where fbillno = #{orderNo} and Status in(0,1,2,3,4)
     </select>
 
 

--
Gitblit v1.9.1