| | |
| | | <?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.lxzn.ucenter.dao.RoleMapper"> |
| | | <select id="getUserPermRole" resultType="Role" parameterType="String"> |
| | | <select id="getUserPermRole" resultType="com.lxzn.framework.domain.ucenter.Role" parameterType="String"> |
| | | select r.role_id, r.role_code, r.role_name, r.description |
| | | from |
| | | (select role_id, role_code, role_name, description from sys_role where delete_flag=0) r |
| | |
| | | on r.role_id=ur.role_id |
| | | </select> |
| | | |
| | | <select id="getUserNonPermRole" resultType="Role" parameterType="String"> |
| | | <select id="getUserNonPermRole" resultType="com.lxzn.framework.domain.ucenter.Role" parameterType="String"> |
| | | select r.role_id, r.role_code, r.role_name, r.description |
| | | from (select role_id, role_code, role_name, description from sys_role where delete_flag=0) r |
| | | where r.role_id not in |