|
@@ -0,0 +1,58 @@
|
|
|
|
+<?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.zhentao.mapper.UserLoginMapper">
|
|
|
|
+
|
|
|
|
+ <resultMap id="BaseResultMap" type="com.zhentao.domain.UserLogin">
|
|
|
|
+ <id property="id" column="id" jdbcType="BIGINT"/>
|
|
|
|
+ <result property="openId" column="open_id" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="unionId" column="union_id" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="sessionPwd" column="session_pwd" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="nickName" column="nick_name" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="avatar" column="avatar" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="lastLoginTime" column="last_login_time" jdbcType="TIMESTAMP"/>
|
|
|
|
+ <result property="puserId" column="puser_id" jdbcType="BIGINT"/>
|
|
|
|
+ <result property="allPuserId" column="all_puser_id" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="gender" column="gender" jdbcType="INTEGER"/>
|
|
|
|
+ <result property="userIntro" column="user_intro" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="userMobile" column="user_mobile" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="idenNo" column="iden_no" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="gradeId" column="grade_id" jdbcType="BIGINT"/>
|
|
|
|
+ <result property="gradeDesc" column="grade_desc" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="isMember" column="is_member" jdbcType="INTEGER"/>
|
|
|
|
+ <result property="loseDate" column="lose_date" jdbcType="TIMESTAMP"/>
|
|
|
|
+ <result property="memberType" column="member_type" jdbcType="INTEGER"/>
|
|
|
|
+ <result property="mainCardId" column="main_card_id" jdbcType="BIGINT"/>
|
|
|
|
+ <result property="groupId" column="group_id" jdbcType="BIGINT"/>
|
|
|
|
+ <result property="groupName" column="group_name" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="birthDay" column="birth_day" jdbcType="DATE"/>
|
|
|
|
+ <result property="birthMonth" column="birth_month" jdbcType="INTEGER"/>
|
|
|
|
+ <result property="days" column="days" jdbcType="INTEGER"/>
|
|
|
|
+ <result property="totalOrder" column="total_order" jdbcType="INTEGER"/>
|
|
|
|
+ <result property="totalConsume" column="total_consume" jdbcType="DECIMAL"/>
|
|
|
|
+ <result property="labelList" column="label_list" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="status" column="status" jdbcType="INTEGER"/>
|
|
|
|
+ <result property="remark" column="remark" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="reversion" column="reversion" jdbcType="INTEGER"/>
|
|
|
|
+ <result property="createBy" column="create_by" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
|
|
|
+ <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
|
|
|
+ </resultMap>
|
|
|
|
+
|
|
|
|
+ <sql id="Base_Column_List">
|
|
|
|
+ id,open_id,union_id,
|
|
|
|
+ session_pwd,nick_name,avatar,
|
|
|
|
+ last_login_time,puser_id,all_puser_id,
|
|
|
|
+ gender,user_intro,user_mobile,
|
|
|
|
+ iden_no,grade_id,grade_desc,
|
|
|
|
+ is_member,lose_date,member_type,
|
|
|
|
+ main_card_id,group_id,group_name,
|
|
|
|
+ birth_day,birth_month,days,
|
|
|
|
+ total_order,total_consume,label_list,
|
|
|
|
+ status,remark,reversion,
|
|
|
|
+ create_by,update_by,create_time,
|
|
|
|
+ update_time
|
|
|
|
+ </sql>
|
|
|
|
+</mapper>
|