用户管理-岗位 角色 排序

This commit is contained in:
zhanglipeng 2021-07-26 11:25:17 +08:00
parent 41f333836d
commit 0150061301
2 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectYeyPostAll" resultMap="SysPostResult"> <select id="selectYeyPostAll" resultMap="SysPostResult">
<include refid="selectPostVo"/> <include refid="selectPostVo"/>
where purp = '1' where purp = '1'
order by post_sort
</select> </select>
<select id="selectPostById" parameterType="Long" resultMap="SysPostResult"> <select id="selectPostById" parameterType="Long" resultMap="SysPostResult">

View File

@ -64,6 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectYeyRoleAll" resultMap="SysRoleResult"> <select id="selectYeyRoleAll" resultMap="SysRoleResult">
<include refid="selectRoleVo"/> <include refid="selectRoleVo"/>
where r.purpose = '1' and r.del_flag = '0' where r.purpose = '1' and r.del_flag = '0'
order by role_sort
</select> </select>
<select id="selectRoleListByUserId" parameterType="Long" resultType="Integer"> <select id="selectRoleListByUserId" parameterType="Long" resultType="Integer">