forked from github/dataease
refactor:仪表板排序名称优先
This commit is contained in:
parent
1a5159f40d
commit
5f1ada2865
@ -90,7 +90,7 @@
|
|||||||
order by ${sort}
|
order by ${sort}
|
||||||
</if>
|
</if>
|
||||||
<if test="sort == null">
|
<if test="sort == null">
|
||||||
order by panel_group.create_time desc
|
order by panel_group.name asc,panel_group.create_time desc
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
@ -165,12 +165,7 @@
|
|||||||
and panel_group.level = #{level}
|
and panel_group.level = #{level}
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
<if test="sort != null">
|
order by panel_group.name asc,panel_group.create_time desc
|
||||||
order by ${sort}
|
|
||||||
</if>
|
|
||||||
<if test="sort == null">
|
|
||||||
order by panel_group.create_time desc
|
|
||||||
</if>
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<delete id="deleteCircle">
|
<delete id="deleteCircle">
|
||||||
|
Loading…
Reference in New Issue
Block a user