Browse Source

去除打印内容

callm 6 years ago
parent
commit
18a3eb7c36

+ 0 - 1
UAS-出货标签管理(标签复核)/PublicMethod/DataHelper.cs

@@ -790,7 +790,6 @@ namespace UAS_LabelMachine
         public object ExecuteSql(string SQL, string Type, params object[] names)
         public object ExecuteSql(string SQL, string Type, params object[] names)
         {
         {
             object result = null;
             object result = null;
-            Console.WriteLine(SQL);
             command = new OracleCommand(SQL, connection);
             command = new OracleCommand(SQL, connection);
             //用来拼接参数的
             //用来拼接参数的
             if (names.Length > 0)
             if (names.Length > 0)

+ 0 - 2
UAS-出货标签管理(标签复核)/UAS_出货标签管理.cs

@@ -292,8 +292,6 @@ namespace UAS_LabelMachine
                 for (int j = 0; j < arr.Length; j++)
                 for (int j = 0; j < arr.Length; j++)
                 {
                 {
                     string orispeccode = LabelInf.Rows[i].Cells["pr_orispeccode"].Value.ToString();
                     string orispeccode = LabelInf.Rows[i].Cells["pr_orispeccode"].Value.ToString();
-                    Console.WriteLine((MatchStr(arr[j].ToString(), "MPN")));
-                    Console.WriteLine(MatchStr(arr[j].ToString(), "MPN").Trim().Replace(" ", ""));
                     if ((MatchStr(arr[j].ToString(), "MPN").Contains(orispeccode) || MatchStr(arr[j].ToString(), "MPN").Trim().Replace(" ", "").Contains(orispeccode) || orispeccode == MatchStr(arr[j].ToString(), "MPN") || LabelInf.Rows[i].Cells["pd_custprodcode"].Value.ToString() == MatchStr(arr[j].ToString(), "CPN")) && LabelInf.Rows[i].Cells["pib_ifpick"].FormattedValue.ToString() != "True")
                     if ((MatchStr(arr[j].ToString(), "MPN").Contains(orispeccode) || MatchStr(arr[j].ToString(), "MPN").Trim().Replace(" ", "").Contains(orispeccode) || orispeccode == MatchStr(arr[j].ToString(), "MPN") || LabelInf.Rows[i].Cells["pd_custprodcode"].Value.ToString() == MatchStr(arr[j].ToString(), "CPN")) && LabelInf.Rows[i].Cells["pib_ifpick"].FormattedValue.ToString() != "True")
                     {
                     {
                         CurrentRowIndex = i;
                         CurrentRowIndex = i;