Merge pull request #1044 from dataease/pr@dev@refactor_panel-edit

refactor:仪表板排序名称优先
This commit is contained in:
王嘉豪 2021-10-28 18:06:52 +08:00 committed by GitHub
commit b7e70dd79b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@
order by ${sort}
</if>
<if test="sort == null">
order by panel_group.create_time desc
order by panel_group.name asc,panel_group.create_time desc
</if>
</select>
@ -165,12 +165,7 @@
and panel_group.level = #{level}
</if>
</where>
<if test="sort != null">
order by ${sort}
</if>
<if test="sort == null">
order by panel_group.create_time desc
</if>
order by panel_group.name asc,panel_group.create_time desc
</select>
<delete id="deleteCircle">