From f60955e2ffe9b183e72911e361fa0632e3c780c7 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期五, 16 一月 2026 08:23:35 +0800
Subject: [PATCH] 修复订单上报订单完成时间

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

diff --git a/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml b/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml
index 9e9bb85..4ad254b 100644
--- a/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml
+++ b/src/main/resources/mapper/third/ExdOutstockSourceMapper.xml
@@ -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