WechatUsersMapper.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435
  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.futu.goose.user.dao.WechatUsersMapper">
  6. <resultMap id="BaseResultMap" type="com.futu.goose.user.domain.WechatUsers">
  7. <id property="id" column="id" jdbcType="BIGINT"/>
  8. <result property="userId" column="user_id" jdbcType="BIGINT"/>
  9. <result property="openid" column="openid" jdbcType="VARCHAR"/>
  10. <result property="unionid" column="unionid" jdbcType="VARCHAR"/>
  11. <result property="nickname" column="nickname" jdbcType="VARCHAR"/>
  12. <result property="avatarUrl" column="avatar_url" jdbcType="VARCHAR"/>
  13. <result property="gender" column="gender" jdbcType="TINYINT"/>
  14. <result property="country" column="country" jdbcType="VARCHAR"/>
  15. <result property="province" column="province" jdbcType="VARCHAR"/>
  16. <result property="city" column="city" jdbcType="VARCHAR"/>
  17. <result property="language" column="language" jdbcType="VARCHAR"/>
  18. <result property="sessionKey" column="session_key" jdbcType="VARCHAR"/>
  19. <result property="accessToken" column="access_token" jdbcType="VARCHAR"/>
  20. <result property="refreshToken" column="refresh_token" jdbcType="VARCHAR"/>
  21. <result property="expiresIn" column="expires_in" jdbcType="INTEGER"/>
  22. <result property="createdTime" column="created_time" jdbcType="TIMESTAMP"/>
  23. <result property="updatedTime" column="updated_time" jdbcType="TIMESTAMP"/>
  24. </resultMap>
  25. <sql id="Base_Column_List">
  26. id,user_id,openid,
  27. unionid,nickname,avatar_url,
  28. gender,country,province,
  29. city,language,session_key,
  30. access_token,refresh_token,expires_in,
  31. created_time,updated_time
  32. </sql>
  33. </mapper>