<?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.cw.workClientInfo.mapper.CwWorkClientContactMapper">

    <resultMap id="BaseResultMap" type="com.jeeplus.test.cw.workClientInfo.service.dto.CwWorkClientContactDTO">
            <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="delFlag" column="del_flag" jdbcType="INTEGER"/>
            <result property="remarks" column="remarks" jdbcType="VARCHAR"/>
            <result property="clientId" column="client_id" jdbcType="VARCHAR"/>
            <result property="name" column="name" jdbcType="VARCHAR"/>
            <result property="sex" column="sex" jdbcType="VARCHAR"/>
            <result property="officeId" column="office_id" jdbcType="VARCHAR"/>
            <result property="position" column="position" jdbcType="VARCHAR"/>
            <result property="contactFirst" column="contact_first" jdbcType="VARCHAR"/>
            <result property="contactSecond" column="contact_second" jdbcType="VARCHAR"/>
            <result property="fax" column="fax" jdbcType="VARCHAR"/>
            <result property="email" column="email" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Contact_Column_List">
        cw_wcc.id,
        cw_wcc.create_by,
        cw_wcc.create_date,
        cw_wcc.update_by,
        cw_wcc.update_date,
        cw_wcc.del_flag,
        cw_wcc.remarks,
        cw_wcc.client_id,
        cw_wcc.name,
        cw_wcc.sex,
        cw_wcc.office_id,
        cw_wcc.position,
        cw_wcc.contact_first,
        cw_wcc.contact_second,
        cw_wcc.fax,
        cw_wcc.email
    </sql>
</mapper>
