解决登录时候获取角色的bug

This commit is contained in:
季圣华
2022-02-23 00:11:48 +08:00
parent afda050e41
commit a523080185
5 changed files with 16 additions and 1 deletions

View File

@@ -35,4 +35,10 @@
</foreach>
)
</update>
<select id="getRoleWithoutTenant" resultType="com.jsh.erp.datasource.entities.Role">
select * from jsh_role
where 1=1
and ifnull(delete_flag,'0') !='1'
and id=#{roleId}
</select>
</mapper>