<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.tanpu.community.dao.mapper.community.WxCpUserMapper"> <resultMap id="BaseResultMap" type="com.tanpu.community.dao.entity.community.WxCpUser"> <!--@mbg.generated--> <!--@Table wx_cp_user--> <id column="id" jdbcType="BIGINT" property="id" /> <result column="user_id" jdbcType="VARCHAR" property="userId" /> <result column="name" jdbcType="VARCHAR" property="name" /> <result column="mobile" jdbcType="VARCHAR" property="mobile" /> <result column="department" jdbcType="VARCHAR" property="department" /> <result column="order" jdbcType="VARCHAR" property="order" /> <result column="position" jdbcType="VARCHAR" property="position" /> <result column="gender" jdbcType="INTEGER" property="gender" /> <result column="email" jdbcType="VARCHAR" property="email" /> <result column="is_leader_in_dept" jdbcType="VARCHAR" property="isLeaderInDept" /> <result column="avatar" jdbcType="VARCHAR" property="avatar" /> <result column="thumb_avatar" jdbcType="VARCHAR" property="thumbAvatar" /> <result column="status" jdbcType="INTEGER" property="status" /> <result column="qr_code" jdbcType="VARCHAR" property="qrCode" /> <result column="address" jdbcType="VARCHAR" property="address" /> <result column="main_department" jdbcType="BIGINT" property="mainDepartment" /> <result column="delete_tag" jdbcType="INTEGER" property="deleteTag" /> </resultMap> <sql id="Base_Column_List"> <!--@mbg.generated--> id, user_id, `name`, mobile, department, `order`, `position`, gender, email, is_leader_in_dept, avatar, thumb_avatar, `status`, qr_code, address, main_department, delete_tag </sql> </mapper>