From 752a904c8c3bee0c56bd9c4129ffa868cd7a3917 Mon Sep 17 00:00:00 2001 From: black-goat-me <226547893@qq.com> Date: 星期五, 19 五月 2023 16:10:08 +0800 Subject: [PATCH] 任意字段过滤:未完成 --- WebAPI/Controllers/OtherInStockController.cs | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/WebAPI/Controllers/OtherInStockController.cs b/WebAPI/Controllers/OtherInStockController.cs index f66269e..9b7169d 100644 --- a/WebAPI/Controllers/OtherInStockController.cs +++ b/WebAPI/Controllers/OtherInStockController.cs @@ -167,6 +167,7 @@ { try { + string sErrMsg = ""; bool sBool = false; oView = webserver.get_InfoByBarCode_Source(sBarCode, sInterID, ref sBool, ref sErrMsg); @@ -233,6 +234,8 @@ string msg1 = _value.ToString(); try { + + List<Model.ClsKf_ICStockBillMain> lsmain = new List<Model.ClsKf_ICStockBillMain>(); ListModels oListModels = new ListModels(); lsmain = oListModels.getICStockBillMainByJson(msg1); @@ -336,8 +339,8 @@ List<Model.ClsKf_OtherInBillMain> lsmain = new List<Model.ClsKf_OtherInBillMain>(); ListModels oListModels = new ListModels(); lsmain = oListModels.getOtherInBillMainByJson(msg1); - lsmain[0].HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); - lsmain[0].HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); + //lsmain[0].HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); + //lsmain[0].HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd")); string sSourceBillType = lsmain[0].HBillType; WebAPI.WebS.ClsKf_OtherInBillMain websLsmain = new WebS.ClsKf_OtherInBillMain(); @@ -352,6 +355,7 @@ websLsmain.HOWNERID = lsmain[0].HSTOCKORGID; websLsmain.HKeeperID = lsmain[0].HKeeperID; websLsmain.HBillType = "1203";//鍥哄畾鍊� + websLsmain.HBillSubType = lsmain[0].HBillSubType; WebS.WebService1 oWebs = new WebS.WebService1(); WebS.ClsXt_SystemParameterMain oSystemParameterMain = new WebS.ClsXt_SystemParameterMain(); -- Gitblit v1.9.1