From c9e8543a6a826d325435a233160c5738e01e929a Mon Sep 17 00:00:00 2001 From: ch <37327@LLOOCCY> Date: 星期二, 13 七月 2021 20:57:50 +0800 Subject: [PATCH] 扫描收料通知单去掉单据子类型类型过滤 --- WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user | 6 +++--- WebAPI/WebServer.cs | 14 +++++++++++++- WebAPI/Controllers/ProductInController.cs | 4 ++++ WebAPI/Controllers/POStockInBillController.cs | 2 +- 4 files changed, 21 insertions(+), 5 deletions(-) diff --git a/WebAPI/Controllers/POStockInBillController.cs b/WebAPI/Controllers/POStockInBillController.cs index f058753..c428c7d 100644 --- a/WebAPI/Controllers/POStockInBillController.cs +++ b/WebAPI/Controllers/POStockInBillController.cs @@ -213,7 +213,7 @@ } else if (HSourceBillType == "1103") { - ds = webserver.GetCg_PoInStockBillList(sWhere + " and isnull(HBillSubType,0)=12510 "); + ds = webserver.GetCg_PoInStockBillList(sWhere + ""); } else { diff --git a/WebAPI/Controllers/ProductInController.cs b/WebAPI/Controllers/ProductInController.cs index 03e4b12..c648fca 100644 --- a/WebAPI/Controllers/ProductInController.cs +++ b/WebAPI/Controllers/ProductInController.cs @@ -219,6 +219,10 @@ { ds = webserver.GetSc_ICMOBillList(sWhere + " "); } + if (HSourceBillType == "3711") + { + ds = webserver.GetSc_ICMOReportBillList(sWhere + " "); + } else { objJsonResult.code = "0"; diff --git a/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user b/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user index e11d3ee..094cb5c 100644 --- a/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user +++ b/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -162,10 +162,10 @@ <publishTime>11/24/2014 11:18:48</publishTime> </File> <File Include="bin/WebAPI.dll"> - <publishTime>07/05/2021 13:46:25</publishTime> + <publishTime>07/13/2021 19:36:38</publishTime> </File> <File Include="bin/WebAPI.pdb"> - <publishTime>07/05/2021 13:46:25</publishTime> + <publishTime>07/13/2021 19:36:38</publishTime> </File> <File Include="bin/WebGrease.dll"> <publishTime>07/17/2013 17:03:52</publishTime> @@ -333,7 +333,7 @@ <publishTime>05/10/2021 09:27:02</publishTime> </File> <File Include="Web.config"> - <publishTime>07/05/2021 13:46:40</publishTime> + <publishTime>07/13/2021 19:36:45</publishTime> </File> </ItemGroup> </Project> \ No newline at end of file diff --git a/WebAPI/WebServer.cs b/WebAPI/WebServer.cs index 8ed27bd..c89a8b0 100644 --- a/WebAPI/WebServer.cs +++ b/WebAPI/WebServer.cs @@ -4645,7 +4645,19 @@ //DAL.Cls_S_IF_ICMOBill_Lite dal = new DAL.Cls_S_IF_ICMOBill_Lite(); //return dal.DisSourceBillList(sWhere); } - + /// <summary> + /// 杩斿洖鐢熶骇姹囨姤鍗曞垪琛� 婧愬崟 + /// </summary> + /// <param name="sWhere">杩囨护鏉′欢</param> + /// <returns></returns> + public DataSet GetSc_ICMOReportBillList(string sWhere) + { + WebS.WebService1 oWebs = new WebS.WebService1(); + BLL.ClsKf_ProductInBill bll = new BLL.ClsKf_ProductInBill(); + return oWebs.GetSc_ICMOReportBillList (sWhere); + //DAL.Cls_S_IF_ICMOBill_Lite dal = new DAL.Cls_S_IF_ICMOBill_Lite(); + //return dal.DisSourceBillList(sWhere); + } /// <summary> /// 鐢熸垚浜у搧鍏ュ簱鍗昁3 -- Gitblit v1.9.1