浏览代码

修改排序BUG

章政 8 年之前
父节点
当前提交
54a6b5f524
共有 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())
                 {