Jelajahi Sumber

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

Hcsy 8 tahun lalu
induk
melakukan
9317dea6e3
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      UAS-MES/FunctionCode/Special/Special_CancelCollection.cs

+ 1 - 1
UAS-MES/FunctionCode/Special/Special_CancelCollection.cs

@@ -39,7 +39,7 @@ namespace UAS_MES.Special
                 string ms_id = dt.Rows[0]["ms_id"].ToString();
                 string ms_id = dt.Rows[0]["ms_id"].ToString();
                 sql.Clear();
                 sql.Clear();
                 sql.Append("select cd_stepcode from craft left join craftdetail on cr_id=cd_crid where ");
                 sql.Append("select cd_stepcode from craft left join craftdetail on cr_id=cd_crid where ");
-                sql.Append("cr_prodcode='" + pr_code + "' and cr_code='" + cr_code + "' and rownum=1 order by cd_detno ");
+                sql.Append("cr_prodcode='" + pr_code + "' and cr_code='" + cr_code + "' order by cd_detno ");
                 dt = (DataTable)dh.ExecuteSql(sql.GetString(), "select");
                 dt = (DataTable)dh.ExecuteSql(sql.GetString(), "select");
                 if (ms_stepcode == dt.Rows[0]["cd_stepcode"].ToString())
                 if (ms_stepcode == dt.Rows[0]["cd_stepcode"].ToString())
                 {
                 {