From 2b80cfa1ea7b8f177cc53e1ed3299e4db3ecac1d Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期四, 15 一月 2026 09:47:42 +0800
Subject: [PATCH] 完善销售订单出库自动勾选

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

diff --git a/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml b/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml
index c542cbe..4ad254b 100644
--- a/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml
+++ b/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml
@@ -58,15 +58,15 @@
             where status in (0,4)
     </select>
 
-    <select id="deletelistOrderNo" resultType="java.lang.String">
-        select distinct fbillno
+    <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