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/ExdMaterialMapper.xml |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/src/main/resources/mapper/third/ExdMaterialMapper.xml b/src/main/resources/mapper/third/ExdMaterialMapper.xml
index a7ca4a4..aa72b98 100644
--- a/src/main/resources/mapper/third/ExdMaterialMapper.xml
+++ b/src/main/resources/mapper/third/ExdMaterialMapper.xml
@@ -30,13 +30,23 @@
     </select>
 
     <select id="getBacode" resultType="com.zy.third.entity.ExdvYanbu" parameterType="string">
---             SELECT top 1 *
---       FROM [Textile].[trade].[TianfuQcResult]
---       where Barcode = #{barcode}
-           SELECT top 1 *
+            SELECT top 1 *
+      FROM [Textile].[trade].[TianfuQcResult]
+      where Barcode = #{barcode}
+<!--            SELECT top 1 *
          FROM TianfuQcResult
-         where Barcode = #{barcode}
+          where Barcode = #{barcode}-->
 
        </select>
 
+    <select id="getID" resultType="com.zy.third.entity.ExdMaterial" parameterType="string">
+        select top 1 *
+        from Exd_Material
+        where Fnumber = #{itemnumber}
+        <!--            SELECT top 1 *
+                 FROM TianfuQcResult
+                  where Barcode = #{barcode}-->
+
+    </select>
+
    </mapper>

--
Gitblit v1.9.1