From d4742224ea65141baf32fe8860e87e9b6e11e780 Mon Sep 17 00:00:00 2001
From: 王 垚 <1402714037@qq.com>
Date: 星期一, 03 一月 2022 16:50:18 +0800
Subject: [PATCH] nothing

---
 WebAPI/Controllers/WebAPIController.cs    |    4 ++--
 WebAPI/Controllers/POInStockController.cs |   10 +++++-----
 WebAPI/Controllers/BarCodeController.cs   |   18 +++++++++---------
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/WebAPI/Controllers/BarCodeController.cs b/WebAPI/Controllers/BarCodeController.cs
index c8bb13e..3cb825b 100644
--- a/WebAPI/Controllers/BarCodeController.cs
+++ b/WebAPI/Controllers/BarCodeController.cs
@@ -575,7 +575,7 @@
                 LSH = ClsPub.isInt(Ds.Tables[0].Rows[0][0]);
                 foreach (Model.ClsGy_MaterialList_WMS_Model oItemSub in ls)
                 {
-                    LogService.Write("model鍒濆鍖栵細" + oItemSub.HKFDate);
+                    //LogService.Write("model鍒濆鍖栵細" + oItemSub.HKFDate);
                     if (ClsPub.isLong(oItemSub.HMaterID) != 0)
                     {
                         HNumber = oItemSub.HMaterID.ToString();
@@ -660,7 +660,7 @@
                 }
                 foreach (Model.ClsGy_BarCodeBill_WMS_Model oItemSub2 in ls2)
                 {
-                    LogService.Write("寰幆绗竴娆�:" + oItemSub2.HSupID);
+                    //LogService.Write("寰幆绗竴娆�:" + oItemSub2.HSupID);
                     if (ClsPub.isLong(oItemSub2.HMaterID) != 0)
                     {
                         long sMaterID = ClsPub.isLong(oItemSub2.HMaterID);
@@ -738,7 +738,7 @@
                             bar2.HEndQty = WeiShu1;
                             bar2.HMTONO = oItemSub2.HMTONO;
                             ls3.Add(bar2);
-                            LogService.Write("娴嬭瘯鍔�+++" + oItemSub2.HSupID);
+                            //LogService.Write("娴嬭瘯鍔�+++" + oItemSub2.HSupID);
                         }
                     }
                 }
@@ -763,7 +763,7 @@
                 oCn.BeginTran();
                 foreach (Model.ClsGy_BarCodeBill_WMS_Model oItemSub in ls2)
                 {
-                    LogService.Write("寰幆绗簩娆�:" + oItemSub.HSupID);
+                    //LogService.Write("寰幆绗簩娆�:" + oItemSub.HSupID);
                     if (ClsPub.isLong(oItemSub.HMaterID) != 0)
                     {
                         HBarCode = oItemSub.HBarCode.ToString();
@@ -774,7 +774,7 @@
                         HQty2 = ClsPub.isDoule(oItemSub.HQty);
                         HBatchNo = ClsPub.isStrNull(oItemSub.HBatchNo);
                         HSupID = oItemSub.HSupID;
-                        LogService.Write("HSupID:" + oItemSub.HSupID);
+                        //LogService.Write("HSupID:" + oItemSub.HSupID);
                         HKFPeriod = ClsPub.isInt(oItemSub.HKFPeriod);
                         HKFDate = ClsPub.isStrNull(oItemSub.HKFDate);
                         HKFDQDate = ClsPub.isStrNull(oItemSub.HKFDQDate);
@@ -790,7 +790,7 @@
                                     + linterid.ToString() + ",'" + HBarCode + "','" + HBarCodeType + "'," + HMaterID + "," + HUnitID + "," + HQty2 + ",'" + HKFDate + "'," + HKFPeriod + ",'" + HKFDQDate
                                     + "','" + HBatchNo + "'," + HSupID + "," + HGroupID + ",'" + ClsPub.CurUserName + "','" + DateTime.Today + "'," + HPrintQty + ",'" + HWei + "',1"
                                     + "," + HSourceInterID + "," + HSourceEntryID + ",'" + HSourceBillNo + "','" + HSourceBillType + "','" + HMTONO + "')");
-                        LogService.Write("insert into Gy_BarCodeBill (HInterID,HBarCode,HBarCodeType,HMaterID,HUnitID,HQty,HKFDate,HKFPeriod,HKFDQDate" +
+                        //LogService.Write("insert into Gy_BarCodeBill (HInterID,HBarCode,HBarCodeType,HMaterID,HUnitID,HQty,HKFDate,HKFPeriod,HKFDQDate" +
                                     ",HBatchNo,HSupID,HGroupID,HMaker,HMakeDate,HPrintQty,HEndQty,HSupflag" +
                                     ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HMTONO " +
                                     ") values ("
@@ -802,7 +802,7 @@
                 }
                 foreach (Model.ClsGy_BarCodeBill_WMS_Model oItemSub in ls3)
                 {
-                    LogService.Write("寰幆绗笁娆�:" + oItemSub.HSupID);
+                    //LogService.Write("寰幆绗笁娆�:" + oItemSub.HSupID);
                     if (ClsPub.isLong(oItemSub.HMaterID) != 0)
                     {
                         HBarCode = oItemSub.HBarCode.ToString();
@@ -1561,7 +1561,7 @@
                                     + "','" + HBatchNo + "'," + HSupID + "," + HGroupID + ",'" + ClsPub.CurUserName + "','" + DateTime.Today + "'," + HPrintQty + ",'" + HWei + "',1"
                                     + "," + HSourceInterID + "," + HSourceEntryID + ",'" + HSourceBillNo + "','" + HSourceBillType + "','" + HMTONO + "')");
                         oCn.RunProc("exec setLSH '" + DateTime.Today + "'");
-                        LogService.Write("insert into Gy_BarCodeBill (HInterID,HBarCode,HBarCodeType,HMaterID,HUnitID,HQty,HKFDate,HKFPeriod,HKFDQDate" +
+                        //LogService.Write("insert into Gy_BarCodeBill (HInterID,HBarCode,HBarCodeType,HMaterID,HUnitID,HQty,HKFDate,HKFPeriod,HKFDQDate" +
                                     ",HBatchNo,HSupID,HGroupID,HMaker,HMakeDate,HPrintQty,HEndQty,HSupflag" +
                                     ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HMTONO " +
                                     ") values ("
@@ -1597,7 +1597,7 @@
                                     + linterid.ToString() + ",'" + HBarCode + "','" + HBarCodeType + "'," + HMaterID + "," + HUnitID + "," + HQty2 + ",'" + HKFDate + "'," + HKFPeriod + ",'" + HKFDQDate
                                     + "','" + HBatchNo + "'," + HSupID + "," + HGroupID + ",'" + ClsPub.CurUserName + "','" + DateTime.Today + "'," + HPrintQty + ",'" + HWei + "',1"
                                     + "," + HSourceInterID + "," + HSourceEntryID + ",'" + HSourceBillNo + "','" + HSourceBillType + "','" + HMTONO + "')");
-                        LogService.Write("insert into Gy_BarCodeBill (HInterID,HBarCode,HBarCodeType,HMaterID,HUnitID,HQty,HKFDate,HKFPeriod,HKFDQDate" +
+                        //LogService.Write("insert into Gy_BarCodeBill (HInterID,HBarCode,HBarCodeType,HMaterID,HUnitID,HQty,HKFDate,HKFPeriod,HKFDQDate" +
                                     ",HBatchNo,HSupID,HGroupID,HMaker,HMakeDate,HPrintQty,HEndQty,HSupflag" +
                                     ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HMTONO " +
                                     ") values ("
diff --git a/WebAPI/Controllers/POInStockController.cs b/WebAPI/Controllers/POInStockController.cs
index 4169748..231a057 100644
--- a/WebAPI/Controllers/POInStockController.cs
+++ b/WebAPI/Controllers/POInStockController.cs
@@ -717,7 +717,7 @@
                         };
                         LogService.Write(JsonConvert.SerializeObject(jsonRoot));
                         var loginRet = InvokeHelper.Login();
-                        LogService.Write("loginRet:" + loginRet);
+                        //LogService.Write("loginRet:" + loginRet);
                         var isSuccess = JObject.Parse(loginRet)["LoginResultType"].Value<int>();
                         if (isSuccess == 0)
                         {
@@ -727,9 +727,9 @@
                             objjson.data = null;
                             return objjson;
                         }
-                        LogService.Write(jsonRoot.ToString());
+                        //LogService.Write(jsonRoot.ToString());
                         var result = InvokeHelper.Save("PUR_ReceiveBill", jsonRoot.ToString());
-                        LogService.Write(result);
+                        //LogService.Write(result);
                         if (JObject.Parse(result)["Result"]["ResponseStatus"]["IsSuccess"].ToString().ToUpper() == "TRUE")
                         {
                             //鏇存柊閫佽揣鍗� 涓昏〃 ERP鍗曟嵁鍙� 浠ュ強 ERP涓诲唴鐜�
@@ -878,9 +878,9 @@
                         objjson.data = null;
                         return objjson;
                     }
-                    LogService.Write("");
+                    //LogService.Write("");
                     var result = InvokeHelper.Delete("PUR_ReceiveBill", JsonConvert.SerializeObject(sJson));
-                    LogService.Write(result);
+                    LogService.Write("api缁撴灉鍒犻櫎锛�" + result);
                     if (JObject.Parse(result)["Result"]["ResponseStatus"]["IsSuccess"].ToString().ToUpper() != "TRUE")
                     {
                         objjson.code = "0";
diff --git a/WebAPI/Controllers/WebAPIController.cs b/WebAPI/Controllers/WebAPIController.cs
index 2fc61d1..2281dfe 100644
--- a/WebAPI/Controllers/WebAPIController.cs
+++ b/WebAPI/Controllers/WebAPIController.cs
@@ -184,7 +184,7 @@
                 //LogService.Write("娴嬭瘯1锛�"+ DBUtility.ClsPub.sExeReturnInfo);
                 string FCusName = oSystemParameter.GetSingleSystemParameter("WMS_CampanyName", ref DBUtility.ClsPub.sExeReturnInfo);
                 //LogService.Write("娴嬭瘯2锛�" + DBUtility.ClsPub.sExeReturnInfo);
-                LogService.Write(FCusName);
+                //LogService.Write(FCusName);
                 if (FCusName == "澶忓疂鐢靛櫒")
                     ds = oUser.CheckMainID(UserName.Trim(), DBUtility.ClsPub.StrToPsd(PassWord.Trim()));
                 else
@@ -241,7 +241,7 @@
                     return objJsonResult; ;
                 }
                 //===========
-                LogService.Write("select Czmm from  Gy_Czygl where Czymc='" + UserName + "' and  Czmm = '" + DBUtility.ClsPub.StrToPsd(oldPassword.Trim()) + "'");
+                //LogService.Write("select Czmm from  Gy_Czygl where Czymc='" + UserName + "' and  Czmm = '" + DBUtility.ClsPub.StrToPsd(oldPassword.Trim()) + "'");
                 oDs = oCn.RunProcReturn("select Czmm from  Gy_Czygl where Czymc='" + UserName + "' and  Czmm = '" + DBUtility.ClsPub.StrToPsd(oldPassword.Trim()) + "'", "Gy_Czygl");
                 if (oDs == null || oDs.Tables[0].Rows.Count == 0)
                 {

--
Gitblit v1.9.1