zouyu
2025-03-19 3647aa5008055528f075ee73002542a1399575ae
basic-server/src/main/resources/mapper/StandardProductListMapper.xml
@@ -75,7 +75,7 @@
        <if test="sample != null and sample != ''">
            and sample =#{sample}
        </if>
            case when man_hour_group is NULL then 1
        order by case when man_hour_group is NULL then 1
                      when man_hour_group ='' then 1  else 0 end,
                 CASE
                     WHEN man_hour_group REGEXP '^[0-9]' THEN CAST(man_hour_group AS UNSIGNED) -- 如果以数字开头,则按照数字大小排序
@@ -87,7 +87,7 @@
        where standard_method_list_id = #{standardMethodListId}
          and state =#{state}
          and tree =#{tree}
        order by    case when man_hour_group is NULL then 1
        order by case when man_hour_group is NULL then 1
                      when man_hour_group ='' then 1  else 0 end,
                 CASE
                     WHEN man_hour_group REGEXP '^[0-9]' THEN CAST(man_hour_group AS UNSIGNED) -- 如果以数字开头,则按照数字大小排序