From 135599eb59bccb5f8f8a567ad174cc2af4357887 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期五, 13 六月 2025 14:39:25 +0800
Subject: [PATCH] 1.采购退货单优化 2.采购退料单拆分 3.采购入库优化

---
 service/Wom/WomdaaManager.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/service/Wom/WomdaaManager.cs b/service/Wom/WomdaaManager.cs
index a56f9dd..1436d92 100644
--- a/service/Wom/WomdaaManager.cs
+++ b/service/Wom/WomdaaManager.cs
@@ -204,7 +204,7 @@
         //    .ToList();
 
         var sql =string.Format(@"SELECT c.item_no ItemNo,c.item_name ItemName,c.item_model ItemModel,b.dab006 FQty,b.dab007 SQty,b.dab006 - b.dab007 DSQty ,
-       dbo.F_QX_GETRECODEPOTSE(B.dab003) as RecoKw
+       dbo.F_QX_GETRECODEPOTSE(B.dab003,'','','') as RecoKw
     FROM WOMDAB B
     LEFT JOIN WOMDAA A ON A.guid = B.daaGuid
     LEFT JOIN MES_ITEMS C ON  B.dab003 = C.item_id
@@ -902,7 +902,7 @@
         var sql2 = new StringBuilder(@"
         SELECT '['+DAA001+']['+DAA021+']' AS daaInfo,DAA001,DAA021
         FROM WOMDAA
-        WHERE daa018 NOT IN ('W:瀹屽伐', 'D:寰呭紑宸�')");
+        WHERE daa018 <>'W:瀹屽伐'");
 
         if (!string.IsNullOrWhiteSpace(unity.selectKey?.ToString()))
         {

--
Gitblit v1.9.3