MemberMapper.xml 1.91 KB
<?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.subsidy.mapper.MemberMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.subsidy.model.MemberDO">
        <id column="id" property="id" />
        <result column="create_date" property="createDate" />
        <result column="update_date" property="updateDate" />
        <result column="delete_date" property="deleteDate" />
        <result column="user_name" property="userName" />
        <result column="account_name" property="accountName" />
        <result column="account_name_en" property="accountNameEn" />
        <result column="email" property="email" />
        <result column="work_no" property="workNo" />
        <result column="induction_date" property="inductionDate" />
        <result column="telephone" property="telephone" />
        <result column="password" property="password" />
        <result column="gender" property="gender" />
        <result column="image" property="image" />
        <result column="check_image" property="checkImage" />
        <result column="check_time" property="checkTime" />
        <result column="id_card" property="idCard" />
        <result column="id_card_photo" property="idCardPhoto" />
        <result column="status" property="status" />
        <result column="first_login" property="firstLogin" />
        <result column="qq_no" property="qqNo" />
        <result column="wechat" property="wechat" />
    </resultMap>

    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        create_date,
        update_date,
        delete_date,
        id, user_name, account_name, account_name_en, email, work_no, induction_date, telephone, password, gender, image, check_image, check_time, id_card, id_card_photo, status, first_login, qq_no, wechat
    </sql>

</mapper>