From 32db7992dd4ed10d97707f428ee8a0499988ffec Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期五, 24 三月 2023 15:22:29 +0800
Subject: [PATCH] 采购到货:采购订单带物料信息过滤已全部到货物料

---
 VueWebApi/DLL/DAL/AppPurchManagementDAL.cs |    2 +-
 .vs/VueWebApi/v16/.suo                     |    0 
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/.vs/VueWebApi/v16/.suo b/.vs/VueWebApi/v16/.suo
index c201ed4..cb1dcaf 100644
--- a/.vs/VueWebApi/v16/.suo
+++ b/.vs/VueWebApi/v16/.suo
Binary files differ
diff --git a/VueWebApi/DLL/DAL/AppPurchManagementDAL.cs b/VueWebApi/DLL/DAL/AppPurchManagementDAL.cs
index 3d6c562..c3c3b74 100644
--- a/VueWebApi/DLL/DAL/AppPurchManagementDAL.cs
+++ b/VueWebApi/DLL/DAL/AppPurchManagementDAL.cs
@@ -79,7 +79,7 @@
                         left  join TUom U on M.uom_code=U.code
                         left  join TCustomer C on B.customercode=C.code
                         left  join TOrganization T on A.departmentcode=T.org_code
-                        where A.ordercode=@purchordercode";
+                        where B.quantity>B.countarrivalquantity and A.ordercode=@purchordercode";
                 dynamicParams.Add("@purchordercode", purchordercode);
                 var data = DapperHelper.selectdata(sql, dynamicParams);
                 if (data.Rows.Count > 0)

--
Gitblit v1.9.3