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/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