浏览代码

修改采集顺序

callm 4 年之前
父节点
当前提交
932858cf97
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      UAS_MES_ODLF/FunctionCode/Make/Make_CustomLabelPrint.cs

+ 1 - 1
UAS_MES_ODLF/FunctionCode/Make/Make_CustomLabelPrint.cs

@@ -229,7 +229,7 @@ namespace UAS_MES_NEW.Make
             {
                 return;
             }
-            paramsInfo = (DataTable)dh.ExecuteSql("select lp_detno, lp_name, lp_valuetype,lp_sql from label left join labelparameter on lp_laid=la_id where la_code='" + listA.Rows[PrintLabel.SelectedIndex]["la_code"].ToString() + "'and LA_TEMPLATETYPE = '自定义' order by lp_detno asc", "select");
+            paramsInfo = (DataTable)dh.ExecuteSql("select lp_detno, lp_name, lp_valuetype,lp_sql from label left join labelparameter on lp_laid=la_id where la_code='" + listA.Rows[PrintLabel.SelectedIndex]["la_code"].ToString() + "'and LA_TEMPLATETYPE = '自定义' order by to_number(lp_detno) asc", "select");
             if (paramsInfo.Rows.Count > 0)
             {
                 //根据查询出来的参数,一次提示用户, “<<SN001 “,