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

    <resultMap id="BaseResultMap" type="com.jeeplus.test.finance.invoice.service.dto.FinanceInvoiceBaseDTO">
            <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="invoiceId" column="invoice_id" jdbcType="VARCHAR"/>
            <result property="programName" column="program_name" jdbcType="VARCHAR"/>
            <result property="programId" column="program_id" jdbcType="VARCHAR"/>
            <result property="contractName" column="contract_name" jdbcType="VARCHAR"/>
            <result property="location" column="location" jdbcType="VARCHAR"/>
            <result property="programNo" column="program_no" jdbcType="VARCHAR"/>
            <result property="clientName" column="client_name" jdbcType="VARCHAR"/>
            <result property="clientId" column="client_id" jdbcType="VARCHAR"/>
            <result property="reportNo" column="report_no" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        fib.id,
        fib.create_by,
        fib.create_date,
        fib.update_by,
        fib.update_date,
        fib.del_flag,
        fib.invoice_id,
        fib.program_name,
        fib.program_id,
        fib.contract_name,
        fib.location,
        fib.program_no,
        fib.client_name,
        fib.client_id,
        fib.report_no
    </sql>
</mapper>
