APP登录

This commit is contained in:
2025-06-28 16:28:15 +08:00
parent 3e0b50e954
commit f78ba3199c
55 changed files with 3762 additions and 19 deletions

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.fuyuanshen.app.mapper.AppRoleMapper">
<select id="selectRolesByUserId" resultType="com.fuyuanshen.app.domain.vo.AppRoleVo">
select r.role_id,
r.role_name,
r.role_key,
r.role_sort,
r.data_scope,
r.status
from app_role r
WHERE r.del_flag = '0' and r.role_id in (select role_id from app_user_role where user_id = #{userId})
</select>
</mapper>