Blame view

MemberMapper.xml 2.56 KB
涂亚平 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
<?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="academy_id" property="academyId" />
        <result column="company_id" property="companyId" />
        <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" />
        <result column="practice_status" property="practiceStatus" />
        <result column="college_id" property="collegeId" />
        <result column="major" property="major" />
        <result column="enrollment_year" property="enrollmentYear" />
        <result column="payroll_account" property="payrollAccount" />
        <result column="bank" property="bank" />
        <result column="member_type" property="memberType" />
    </resultMap>

    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        create_date,
        update_date,
        delete_date,
        id, academy_id, company_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, practice_status, college_id, major, enrollment_year, payroll_account, bank, member_type
    </sql>

</mapper>