Commit 68a7530c authored by chenyuxi's avatar chenyuxi

feat: 部门排序

parent f39c5ec6
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<if test="dept.name != null and dept.name != ''"> <if test="dept.name != null and dept.name != ''">
AND d.name like concat('%', #{dept.name}, '%') AND d.name like concat('%', #{dept.name}, '%')
</if> </if>
order by d.create_time desc,d.sort_order asc order by d.sort_order asc,d.create_time desc
</select> </select>
<select id="cspDeptUserList" resultType="com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysDeptVo"> <select id="cspDeptUserList" resultType="com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysDeptVo">
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
<if test="dept.projectNo != null and dept.projectNo != ''"> <if test="dept.projectNo != null and dept.projectNo != ''">
AND d.project_no = #{dept.projectNo} AND d.project_no = #{dept.projectNo}
</if> </if>
order by d.create_time desc,d.sort_order asc order by d.sort_order asc,d.create_time desc
</select> </select>
<select id="checkDeptNameUnique" resultMap="BaseResultMap"> <select id="checkDeptNameUnique" resultMap="BaseResultMap">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment