Browse Source

返工序列号归属界面BUG修改

Hcsy 7 years ago
parent
commit
aad85a0924
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UAS-MES/FunctionCode/Make/Make_GetReMakeSN.cs

+ 1 - 1
UAS-MES/FunctionCode/Make/Make_GetReMakeSN.cs

@@ -311,7 +311,7 @@ namespace UAS_MES.Make
                                     //sql.Append("update makeserial set ms_nextmacode='' where ms_nextmacode='" + cm_makecode + "'");
                                     //sql.Append(" and ms_sncode='" + cm_barcode + "' and ms_prodcode='" + cm_soncode + "' ");
                                     sql.Clear();
-                                    sql.Append("update makeserial set ms_nextmacode='' where ms_id in (select a.ms_id from makeserial B INNER JOIN CRAFTMATERIAL ON cm_firstsn=B.ms_firstsn");
+                                    sql.Append("update makeserial set ms_nextmacode='' where ms_id in (select a.ms_id from makeserial B INNER JOIN CRAFTMATERIAL ON cm_firstsn=B.ms_firstsn ");
                                     sql.Append("inner join makeserial a on cm_barcode=A.ms_sncode and cm_soncode=A.ms_prodcode  inner join makesndecompose on  msd_fsoncode=cm_fsoncode  and msd_stepcode=cm_stepcode ");
                                     sql.Append("AND A.MS_NEXTMACODE=cm_makecode where b.ms_id='"+ Msid + "' and msd_recode='"+ re_code + "')");
                                     SQLS.Add(sql.GetString());