| | |
| | | <select id="getUserListRole" resultType="map"> |
| | | SELECT CONCAT(r.`id`, '') id, r.`name` |
| | | FROM role r |
| | | where state!=0 |
| | | </select> |
| | | <select id="selctInterFaceType" resultType="java.util.Map"> |
| | | select type, menu_id menuId |
| | |
| | | from interface_info |
| | | </select> |
| | | <select id="getRoleMenuByRoleId" resultType="com.yuanchu.limslaboratory.pojo.RoleMenu"> |
| | | select id from role_menu where role_id =#{roleId} |
| | | select id |
| | | from role_menu |
| | | where role_id = #{roleId} |
| | | </select> |
| | | <resultMap id="roleAndMenuById" type="com.yuanchu.limslaboratory.pojo.dto.RoleAndMenuDto"> |
| | | <result property="roleName" column="roleName"/> |