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 |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/third/ExdMaterialMapper.xml b/src/main/resources/mapper/third/ExdMaterialMapper.xml
index 183a266..aa72b98 100644
--- a/src/main/resources/mapper/third/ExdMaterialMapper.xml
+++ b/src/main/resources/mapper/third/ExdMaterialMapper.xml
@@ -33,10 +33,20 @@
             SELECT top 1 *
       FROM [Textile].[trade].[TianfuQcResult]
       where Barcode = #{barcode}
-        <!--    SELECT top 1 *
+<!--            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