Browse Source

修改采集顺序

callm 4 years ago
parent
commit
932858cf97
1 changed files with 1 additions and 1 deletions
  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;
                 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)
             if (paramsInfo.Rows.Count > 0)
             {
             {
                 //根据查询出来的参数,一次提示用户, “<<SN001 “, 
                 //根据查询出来的参数,一次提示用户, “<<SN001 “,