<?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.invoice.mapper.CwFinanceInvoiceReceivablesMapper">

    <resultMap id="BaseResultMap" type="com.jeeplus.test.cw.invoice.service.dto.CwFinanceInvoiceReceivablesDTO">
            <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="invoiceId" column="invoice_id" jdbcType="VARCHAR"/>
            <result property="remittanceUnit" column="remittance_unit" jdbcType="VARCHAR"/>
            <result property="remittanceAmount" column="remittance_amount" jdbcType="VARCHAR"/>
            <result property="remittanceDate" column="remittance_date" jdbcType="TIMESTAMP"/>
            <result property="status" column="status" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        fir.id,
        fir.create_by,
        fir.create_date,
        fir.update_by,
        fir.update_date,
        fir.del_flag,
        fir.remarks,
        fir.invoice_id,
        fir.remittance_unit,
        fir.remittance_amount,
        fir.remittance_date,
        fir.status
    </sql>
</mapper>
