From 1a2f494454d0da24bb9ca7ad7c0e91902819405a Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期五, 21 十一月 2025 13:18:42 +0800
Subject: [PATCH] 1.获取erp订单数据时过滤掉状态》5 2.同步erp删除数据时,只删除指定的订单明细 3.订单出库按批号排序
---
src/main/resources/mapper/third/ExdInstockSourceMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/third/ExdInstockSourceMapper.xml b/src/main/resources/mapper/third/ExdInstockSourceMapper.xml
index 2935a84..8d77a0f 100644
--- a/src/main/resources/mapper/third/ExdInstockSourceMapper.xml
+++ b/src/main/resources/mapper/third/ExdInstockSourceMapper.xml
@@ -55,15 +55,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.ExdInstockSource">
+ select *
from Exd_Instock_Source
where status = 5
</select>
<select id="listAll" resultType="com.zy.third.entity.ExdInstockSource">
- select * from Exd_Instock_Source where fbillno = #{orderNo}
+ select * from Exd_Instock_Source where fbillno = #{orderNo} and Status in(0,1,2,3,4)
</select>
--
Gitblit v1.9.1