GroupMembersMapper.xml 1001 B

12345678910111213141516171819202122
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="com.zhentao.groups.mapper.GroupMembersMapper">
  6. <resultMap id="BaseResultMap" type="com.zhentao.groups.pojo.GroupMembers">
  7. <id property="id" column="id" jdbcType="BIGINT"/>
  8. <result property="groupId" column="group_id" jdbcType="BIGINT"/>
  9. <result property="userId" column="user_id" jdbcType="BIGINT"/>
  10. <result property="nickname" column="nickname" jdbcType="VARCHAR"/>
  11. <result property="role" column="role" jdbcType="TINYINT"/>
  12. <result property="joinTime" column="join_time" jdbcType="TIMESTAMP"/>
  13. <result property="lastAckMsgId" column="last_ack_msg_id" jdbcType="BIGINT"/>
  14. </resultMap>
  15. <sql id="Base_Column_List">
  16. id,group_id,user_id,
  17. nickname,role,join_time,
  18. last_ack_msg_id
  19. </sql>
  20. </mapper>