@@ -241,6 +241,11 @@
</if>
order by
<if test="vo.nodeIds != null and vo.nodeIds != ''">
+ case
+ when t.tree_sort regexp '^[a-zA-Z]' then 0 -- 字母开头的排在前面
+ when t.tree_sort regexp '^[0-9]' then 1 -- 数字开头的排在后面
+ else 2 -- 其他情况
+ end,
t.tree_sort,
u.sort,u.sort_num,u.create_time