Browse Source

修改FTP地址

callm 3 months ago
parent
commit
db0d3207e6

+ 8 - 0
UAS_MES_JC/FunctionCode/Make/Make_FeedingCollection.cs

@@ -142,6 +142,14 @@ namespace UAS_MES_NEW.Make
                         }
                         else if (sn_code.Text != "")
                         {
+                            for (int i = 0; i < LabelDataGridView.Rows.Count; i++)
+                            {
+                                if (LabelDataGridView.Rows[i].Cells["BarCode"].Value == null)
+                                {
+
+                                }
+                            }
+
                             if (dh.CheckExist("makesnlist", "msl_sncode='" + code.Text + "'"))
                             {
                                 if (CollectDataSonCode.ToArray().Length > 0)

+ 1 - 1
UAS_MES_JC/FunctionCode/Make/Make_TestCollectionModule.cs

@@ -237,7 +237,7 @@ namespace UAS_MES_NEW.Make
                             }
                             if (LogicHandler.CheckStepSNAndMacode(oMakeCode, User.UserSourceCode, ms_sncode.Text, User.UserCode, out oMakeCode, out oMSID, out ErrorMessage))
                             {
-                                dh.ExecuteSql("insert into STEPTESTDETAIL (std_id,std_sn,std_makecode,std_indate,STD_RESCODE,std_stepcode,STD_TESTRESULT,std_class)select STEPTESTDETAIL_seq.nextval,'" + arr[i] + "','" + oMakeCode + "',sysdate,'" + User.UserSourceCode + "','" + User.CurrentStepCode + "','','http://10.1.81.208:8099/ftp" + ftppath + sn + ".xls" + "' from dual", "insert");
+                                dh.ExecuteSql("insert into STEPTESTDETAIL (std_id,std_sn,std_makecode,std_indate,STD_RESCODE,std_stepcode,STD_TESTRESULT,std_class)select STEPTESTDETAIL_seq.nextval,'" + arr[i] + "','" + oMakeCode + "',sysdate,'" + User.UserSourceCode + "','" + User.CurrentStepCode + "','','http://172.16.51.3:8099/ftp" + ftppath + sn + ".xls" + "' from dual", "insert");
                                 //是否提示过工单切换框,检测前后执行
                                 if (!LogicHandler.CheckDiffMakeCodeAfterStepCheck(ms_sncode.Text, oMakeCode, NoteForChange.Checked, NoteAlready, ma_code, out ErrorMessage))
                                 {

+ 1 - 1
UAS_MES_JC/PublicMethod/ftpOperater.cs

@@ -23,7 +23,7 @@ namespace UAS_MES_NEW.PublicMethod
 
         public ftpOperater()
         {
-            string[] FTPInf = "ftp://10.1.81.208|vsftpd|vsftpd3cd79014ef".Split('|');
+            string[] FTPInf = "ftp://172.16.51.3|vsftpd|vsftpd3cd79014ef".Split('|');
             this.ftpServerIP = FTPInf[0];
             this.ftpUser = FTPInf[1];
             this.ftpPwd = FTPInf[2];