Explorar o código

修改不良日志记录

章政 %!s(int64=8) %!d(string=hai) anos
pai
achega
cb33979898
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      UAS_AutoPass/AutoAnalysisXml.cs

+ 2 - 2
UAS_AutoPass/AutoAnalysisXml.cs

@@ -257,7 +257,7 @@ namespace UAS_AutoPass
             //没有条码并且不良进行记录
             else if (sncode == "" && test_result == "NG")
             {
-                LogicHandler.AutoPassLog(sncode, isource, makecode, test_date, istepcode, ilinecode, e.Name, "0");
+                LogicHandler.AutoPassLog(sncode, isource, makecode, test_date, istepcode, ilinecode, e.Name, "1");
             }
             else if (sncode != "")
             {
@@ -309,7 +309,7 @@ namespace UAS_AutoPass
                             default:
                                 break;
                         }
-                        LogicHandler.AutoPassLog(sncode, isource, makecode, test_date, istepcode, ilinecode,e.Name, "0");
+                        LogicHandler.AutoPassLog(sncode, isource, makecode, test_date, istepcode, ilinecode, e.Name, "0");
                     }
                 }
                 else