Browse Source

Merge branch 'master' of ssh://10.10.101.21/source/mes-client

章政 7 years ago
parent
commit
3e599b6023
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UAS-MES/FunctionCode/Make/Make_ColorBoxLabelPrint.cs

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

@@ -148,7 +148,7 @@ namespace UAS_MES.Make
                 if (CheckTSN.Checked == true && ms_id != null)
                 {
                     sql.Clear();
-                    sql.Append("select ms_id from makeserial where ms_id='" + ms_id + "'");
+                    sql.Append("select ms_id from makeserial where ms_id='" + ms_id + "' and ms_sncode = '"+sncode.Text+"'");
                     dt = (DataTable)dh.ExecuteSql(sql.GetString(), "select");
                     if (dt.Rows.Count > 0)
                     {