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

    <resultMap id="BaseResultMap" type="com.jeeplus.finance.invoice.service.dto.CwFinanceInvoiceDetailDTO">
            <id property="id" column="id" jdbcType="VARCHAR"/>
            <result property="createBy.id" column="create_by" jdbcType="VARCHAR"/>
            <result property="createTime" column="create_date" jdbcType="TIMESTAMP"/>
            <result property="updateBy.id" column="update_by" jdbcType="VARCHAR"/>
            <result property="updateTime" 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="code" column="code" jdbcType="VARCHAR"/>
            <result property="number" column="number" jdbcType="VARCHAR"/>
            <result property="account" column="account" jdbcType="VARCHAR"/>
            <result property="rate" column="rate" jdbcType="VARCHAR"/>
            <result property="amount" column="amount" jdbcType="VARCHAR"/>
            <result property="tax" column="tax" jdbcType="VARCHAR"/>
            <result property="allAmount" column="all_amount" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        fid.id,
        fid.create_by,
        fid.create_date,
        fid.update_by,
        fid.update_date,
        fid.del_flag,
        fid.remarks,
        fid.invoice_id,
        fid.code,
        fid.number,
        fid.account,
        fid.rate,
        fid.amount,
        fid.tax,
        fid.all_amount
    </sql>
</mapper>
