| | |
| | | * @description: 自定义sql,请自行实现业务逻辑 |
| | | * @company: hugeinfo |
| | | * @author: liyj |
| | | * @time:2024-08-17 15:30:57 |
| | | * @time:2024-08-19 20:04:19 |
| | | * @version 1.0.0 |
| | | --> |
| | | <mapper namespace="cn.huge.module.ctuser.dao.mapper.CtUseroleMapper"> |
| | |
| | | limit #{page.offset}, #{page.size} |
| | | </select> |
| | | |
| | | <select id="listRoleCode" resultType="String"> |
| | | select |
| | | role_code |
| | | FROM |
| | | <include refid="table-name" /> |
| | | WHERE |
| | | user_id = #{userId} |
| | | </select> |
| | | |
| | | <select id="listRoleName" resultType="String"> |
| | | select |
| | | role_name |
| | | FROM |
| | | <include refid="table-name" /> |
| | | WHERE |
| | | user_id = #{userId} |
| | | </select> |
| | | </mapper> |