SysUserRoleMapper.xml 642 B

1234567891011121314151617
  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.ydl.exam.modules.sys.user.mapper.SysUserRoleMapper">
  4. <!-- 通用查询映射结果 -->
  5. <resultMap id="BaseResultMap" type="com.ydl.exam.modules.sys.user.entity.SysUserRole">
  6. <id column="id" property="id" />
  7. <result column="user_id" property="userId" />
  8. <result column="role_id" property="roleId" />
  9. </resultMap>
  10. <!-- 通用查询结果列 -->
  11. <sql id="Base_Column_List">
  12. `id`,`user_id`,`role_id`
  13. </sql>
  14. </mapper>