From 01b5ef474e1a5d8dc682b64312f23bdbb0fdf3a7 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期三, 12 四月 2023 16:26:48 +0800
Subject: [PATCH] 1.采购到货接口修改 2.停用设备过滤

---
 VueWebApi/DLL/DAL/KanBanManagerentDAL.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/VueWebApi/DLL/DAL/KanBanManagerentDAL.cs b/VueWebApi/DLL/DAL/KanBanManagerentDAL.cs
index e403543..5e67faf 100644
--- a/VueWebApi/DLL/DAL/KanBanManagerentDAL.cs
+++ b/VueWebApi/DLL/DAL/KanBanManagerentDAL.cs
@@ -205,7 +205,7 @@
                         select C.name as linename,'' as wkshname,M.partname,A.sqty as good_qty  from TK_Wrk_OutRecord A
                         inner join TK_Wrk_Step S on A.wo_code=S.wo_code and A.step_code=S.step_code
                         inner join TMateriel_Info M on A.materiel_code=M.partcode
-                        inner  join TCustomer C on A.wx_code=C.code and C.btype='WX'
+                        inner  join TCustomer C on A.wx_code=C.code 
                         where A.style='S' and S.isend='Y' and datediff(day,GETDATE(),A.lm_date)=0
                         ) as A group by A.org_name,A.name,A.partname order by good_qty desc";
                 var data = DapperHelper.selectlist(sql, new { shopcode = selects.ToArray() });

--
Gitblit v1.9.3