You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
396 B

8 months ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.gaotao.modules.sys.dao.SysRoleDao">
  4. <!-- 查询用户创建的角色ID列表 -->
  5. <select id="queryRoleIdList" resultType="long">
  6. select role_id from sys_role where create_user_id = #{createUserId}
  7. </select>
  8. </mapper>