refactor:仪表板排序名称优先

This commit is contained in:
wangjiahao 2021-10-28 18:05:28 +08:00
parent 1a5159f40d
commit 5f1ada2865

View File

@ -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">