角色列表返回类型保持一致

This commit is contained in:
RuoYi
2021-10-15 17:56:57 +08:00
parent e7afea4cb7
commit e66d0e4f74
4 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectRoleVo"/>
</select>
<select id="selectRoleListByUserId" parameterType="Long" resultType="Integer">
<select id="selectRoleListByUserId" parameterType="Long" resultType="Long">
select r.role_id
from sys_role r
left join sys_user_role ur on ur.role_id = r.role_id