瀏覽代碼

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

Hcsy 8 年之前
父節點
當前提交
9317dea6e3
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();
                 sql.Clear();
                 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");
                 if (ms_stepcode == dt.Rows[0]["cd_stepcode"].ToString())
                 {