<?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.jeeplus.test.roster.mapper.RosterBankCardsMapper">

    <resultMap id="BaseResultMap" type="com.jeeplus.test.roster.service.dto.RosterBankCardsDTO">
            <id property="id" column="id" jdbcType="VARCHAR"/>
            <result property="createBy.id" column="create_by" jdbcType="VARCHAR"/>
            <result property="createDate" column="create_date" jdbcType="TIMESTAMP"/>
            <result property="updateBy.id" column="update_by" jdbcType="VARCHAR"/>
            <result property="updateDate" column="update_date" jdbcType="TIMESTAMP"/>
            <result property="remarks" column="remarks" jdbcType="VARCHAR"/>
            <result property="delFlag" column="del_flag" jdbcType="INTEGER"/>
            <result property="baseId" column="base_id" jdbcType="VARCHAR"/>
            <result property="payrollCardOpenBank" column="payroll_card_open_bank" jdbcType="VARCHAR"/>
            <result property="payrollCardBranches" column="payroll_card_branches" jdbcType="VARCHAR"/>
            <result property="payrollCardBankAccount" column="payroll_card_bank_account" jdbcType="VARCHAR"/>
            <result property="payrollCardOpeningName" column="payroll_card_opening_name" jdbcType="VARCHAR"/>
            <result property="payrollCardPic" column="payroll_card_pic" jdbcType="VARCHAR"/>
            <result property="isDefault" column="is_default" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        rbc.id,
        rbc.create_by,
        rbc.create_date,
        rbc.update_by,
        rbc.update_date,
        rbc.remarks,
        rbc.del_flag,
        rbc.base_id,
        rbc.payroll_card_open_bank,
        rbc.payroll_card_branches,
        rbc.payroll_card_bank_account,
        rbc.payroll_card_opening_name,
        rbc.payroll_card_pic,
        rbc.is_default
    </sql>
</mapper>
