<?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.bailuntec.mapper.DcBaseFinanceInterestMapper">
  <resultMap id="BaseResultMap" type="com.bailuntec.domain.entity.DcBaseFinanceInterest">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <id column="id" jdbcType="INTEGER" property="id" />
    <result column="borrow_id" jdbcType="INTEGER" property="borrowId" />
    <result column="repay_id" jdbcType="INTEGER" property="repayId" />
    <result column="contract_no" jdbcType="VARCHAR" property="contractNo" />
    <result column="company_val" jdbcType="INTEGER" property="companyVal" />
    <result column="company" jdbcType="VARCHAR" property="company" />
    <result column="bank_card" jdbcType="VARCHAR" property="bankCard" />
    <result column="bank_card_user" jdbcType="VARCHAR" property="bankCardUser" />
    <result column="bank_name" jdbcType="VARCHAR" property="bankName" />
    <result column="creditor" jdbcType="VARCHAR" property="creditor" />
    <result column="repay_interest" jdbcType="DECIMAL" property="repayInterest" />
    <result column="repay_interest_rmb" jdbcType="DECIMAL" property="repayInterestRmb" />
    <result column="actual_repay_time" jdbcType="TIMESTAMP" property="actualRepayTime" />
    <result column="gmt_create" jdbcType="TIMESTAMP" property="gmtCreate" />
    <result column="gmt_modify" jdbcType="TIMESTAMP" property="gmtModify" />
  </resultMap>
  <sql id="Example_Where_Clause">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <where>
      <foreach collection="oredCriteria" item="criteria" separator="or">
        <if test="criteria.valid">
          <trim prefix="(" prefixOverrides="and" suffix=")">
            <foreach collection="criteria.criteria" item="criterion">
              <choose>
                <when test="criterion.noValue">
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue">
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue">
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue">
                  and ${criterion.condition}
                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <where>
      <foreach collection="example.oredCriteria" item="criteria" separator="or">
        <if test="criteria.valid">
          <trim prefix="(" prefixOverrides="and" suffix=")">
            <foreach collection="criteria.criteria" item="criterion">
              <choose>
                <when test="criterion.noValue">
                  and ${criterion.condition}
                </when>
                <when test="criterion.singleValue">
                  and ${criterion.condition} #{criterion.value}
                </when>
                <when test="criterion.betweenValue">
                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                </when>
                <when test="criterion.listValue">
                  and ${criterion.condition}
                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    id, borrow_id, repay_id, contract_no, company_val, company, bank_card, bank_card_user, 
    bank_name, creditor, repay_interest, repay_interest_rmb, actual_repay_time, gmt_create, 
    gmt_modify
  </sql>
  <select id="selectByExample" parameterType="com.bailuntec.domain.example.DcBaseFinanceInterestExample" resultMap="BaseResultMap">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select
    <if test="distinct">
      distinct
    </if>
    <include refid="Base_Column_List" />
    from dc_base_finance_interest
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
    <if test="rows != null">
      <if test="offset != null">
        limit ${offset}, ${rows}
      </if>
      <if test="offset == null">
        limit ${rows}
      </if>
    </if>
  </select>
  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select 
    <include refid="Base_Column_List" />
    from dc_base_finance_interest
    where id = #{id,jdbcType=INTEGER}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    delete from dc_base_finance_interest
    where id = #{id,jdbcType=INTEGER}
  </delete>
  <delete id="deleteByExample" parameterType="com.bailuntec.domain.example.DcBaseFinanceInterestExample">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    delete from dc_base_finance_interest
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.bailuntec.domain.entity.DcBaseFinanceInterest">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    insert into dc_base_finance_interest (id, borrow_id, repay_id, 
      contract_no, company_val, company, 
      bank_card, bank_card_user, bank_name, 
      creditor, repay_interest, repay_interest_rmb, 
      actual_repay_time, gmt_create, gmt_modify
      )
    values (#{id,jdbcType=INTEGER}, #{borrowId,jdbcType=INTEGER}, #{repayId,jdbcType=INTEGER}, 
      #{contractNo,jdbcType=VARCHAR}, #{companyVal,jdbcType=INTEGER}, #{company,jdbcType=VARCHAR}, 
      #{bankCard,jdbcType=VARCHAR}, #{bankCardUser,jdbcType=VARCHAR}, #{bankName,jdbcType=VARCHAR}, 
      #{creditor,jdbcType=VARCHAR}, #{repayInterest,jdbcType=DECIMAL}, #{repayInterestRmb,jdbcType=DECIMAL}, 
      #{actualRepayTime,jdbcType=TIMESTAMP}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModify,jdbcType=TIMESTAMP}
      )
  </insert>
  <insert id="insertSelective" parameterType="com.bailuntec.domain.entity.DcBaseFinanceInterest">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    insert into dc_base_finance_interest
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        id,
      </if>
      <if test="borrowId != null">
        borrow_id,
      </if>
      <if test="repayId != null">
        repay_id,
      </if>
      <if test="contractNo != null">
        contract_no,
      </if>
      <if test="companyVal != null">
        company_val,
      </if>
      <if test="company != null">
        company,
      </if>
      <if test="bankCard != null">
        bank_card,
      </if>
      <if test="bankCardUser != null">
        bank_card_user,
      </if>
      <if test="bankName != null">
        bank_name,
      </if>
      <if test="creditor != null">
        creditor,
      </if>
      <if test="repayInterest != null">
        repay_interest,
      </if>
      <if test="repayInterestRmb != null">
        repay_interest_rmb,
      </if>
      <if test="actualRepayTime != null">
        actual_repay_time,
      </if>
      <if test="gmtCreate != null">
        gmt_create,
      </if>
      <if test="gmtModify != null">
        gmt_modify,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="id != null">
        #{id,jdbcType=INTEGER},
      </if>
      <if test="borrowId != null">
        #{borrowId,jdbcType=INTEGER},
      </if>
      <if test="repayId != null">
        #{repayId,jdbcType=INTEGER},
      </if>
      <if test="contractNo != null">
        #{contractNo,jdbcType=VARCHAR},
      </if>
      <if test="companyVal != null">
        #{companyVal,jdbcType=INTEGER},
      </if>
      <if test="company != null">
        #{company,jdbcType=VARCHAR},
      </if>
      <if test="bankCard != null">
        #{bankCard,jdbcType=VARCHAR},
      </if>
      <if test="bankCardUser != null">
        #{bankCardUser,jdbcType=VARCHAR},
      </if>
      <if test="bankName != null">
        #{bankName,jdbcType=VARCHAR},
      </if>
      <if test="creditor != null">
        #{creditor,jdbcType=VARCHAR},
      </if>
      <if test="repayInterest != null">
        #{repayInterest,jdbcType=DECIMAL},
      </if>
      <if test="repayInterestRmb != null">
        #{repayInterestRmb,jdbcType=DECIMAL},
      </if>
      <if test="actualRepayTime != null">
        #{actualRepayTime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtCreate != null">
        #{gmtCreate,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtModify != null">
        #{gmtModify,jdbcType=TIMESTAMP},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.bailuntec.domain.example.DcBaseFinanceInterestExample" resultType="java.lang.Long">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select count(*) from dc_base_finance_interest
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update dc_base_finance_interest
    <set>
      <if test="record.id != null">
        id = #{record.id,jdbcType=INTEGER},
      </if>
      <if test="record.borrowId != null">
        borrow_id = #{record.borrowId,jdbcType=INTEGER},
      </if>
      <if test="record.repayId != null">
        repay_id = #{record.repayId,jdbcType=INTEGER},
      </if>
      <if test="record.contractNo != null">
        contract_no = #{record.contractNo,jdbcType=VARCHAR},
      </if>
      <if test="record.companyVal != null">
        company_val = #{record.companyVal,jdbcType=INTEGER},
      </if>
      <if test="record.company != null">
        company = #{record.company,jdbcType=VARCHAR},
      </if>
      <if test="record.bankCard != null">
        bank_card = #{record.bankCard,jdbcType=VARCHAR},
      </if>
      <if test="record.bankCardUser != null">
        bank_card_user = #{record.bankCardUser,jdbcType=VARCHAR},
      </if>
      <if test="record.bankName != null">
        bank_name = #{record.bankName,jdbcType=VARCHAR},
      </if>
      <if test="record.creditor != null">
        creditor = #{record.creditor,jdbcType=VARCHAR},
      </if>
      <if test="record.repayInterest != null">
        repay_interest = #{record.repayInterest,jdbcType=DECIMAL},
      </if>
      <if test="record.repayInterestRmb != null">
        repay_interest_rmb = #{record.repayInterestRmb,jdbcType=DECIMAL},
      </if>
      <if test="record.actualRepayTime != null">
        actual_repay_time = #{record.actualRepayTime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.gmtCreate != null">
        gmt_create = #{record.gmtCreate,jdbcType=TIMESTAMP},
      </if>
      <if test="record.gmtModify != null">
        gmt_modify = #{record.gmtModify,jdbcType=TIMESTAMP},
      </if>
    </set>
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update dc_base_finance_interest
    set id = #{record.id,jdbcType=INTEGER},
      borrow_id = #{record.borrowId,jdbcType=INTEGER},
      repay_id = #{record.repayId,jdbcType=INTEGER},
      contract_no = #{record.contractNo,jdbcType=VARCHAR},
      company_val = #{record.companyVal,jdbcType=INTEGER},
      company = #{record.company,jdbcType=VARCHAR},
      bank_card = #{record.bankCard,jdbcType=VARCHAR},
      bank_card_user = #{record.bankCardUser,jdbcType=VARCHAR},
      bank_name = #{record.bankName,jdbcType=VARCHAR},
      creditor = #{record.creditor,jdbcType=VARCHAR},
      repay_interest = #{record.repayInterest,jdbcType=DECIMAL},
      repay_interest_rmb = #{record.repayInterestRmb,jdbcType=DECIMAL},
      actual_repay_time = #{record.actualRepayTime,jdbcType=TIMESTAMP},
      gmt_create = #{record.gmtCreate,jdbcType=TIMESTAMP},
      gmt_modify = #{record.gmtModify,jdbcType=TIMESTAMP}
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.bailuntec.domain.entity.DcBaseFinanceInterest">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update dc_base_finance_interest
    <set>
      <if test="borrowId != null">
        borrow_id = #{borrowId,jdbcType=INTEGER},
      </if>
      <if test="repayId != null">
        repay_id = #{repayId,jdbcType=INTEGER},
      </if>
      <if test="contractNo != null">
        contract_no = #{contractNo,jdbcType=VARCHAR},
      </if>
      <if test="companyVal != null">
        company_val = #{companyVal,jdbcType=INTEGER},
      </if>
      <if test="company != null">
        company = #{company,jdbcType=VARCHAR},
      </if>
      <if test="bankCard != null">
        bank_card = #{bankCard,jdbcType=VARCHAR},
      </if>
      <if test="bankCardUser != null">
        bank_card_user = #{bankCardUser,jdbcType=VARCHAR},
      </if>
      <if test="bankName != null">
        bank_name = #{bankName,jdbcType=VARCHAR},
      </if>
      <if test="creditor != null">
        creditor = #{creditor,jdbcType=VARCHAR},
      </if>
      <if test="repayInterest != null">
        repay_interest = #{repayInterest,jdbcType=DECIMAL},
      </if>
      <if test="repayInterestRmb != null">
        repay_interest_rmb = #{repayInterestRmb,jdbcType=DECIMAL},
      </if>
      <if test="actualRepayTime != null">
        actual_repay_time = #{actualRepayTime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtCreate != null">
        gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtModify != null">
        gmt_modify = #{gmtModify,jdbcType=TIMESTAMP},
      </if>
    </set>
    where id = #{id,jdbcType=INTEGER}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.bailuntec.domain.entity.DcBaseFinanceInterest">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update dc_base_finance_interest
    set borrow_id = #{borrowId,jdbcType=INTEGER},
      repay_id = #{repayId,jdbcType=INTEGER},
      contract_no = #{contractNo,jdbcType=VARCHAR},
      company_val = #{companyVal,jdbcType=INTEGER},
      company = #{company,jdbcType=VARCHAR},
      bank_card = #{bankCard,jdbcType=VARCHAR},
      bank_card_user = #{bankCardUser,jdbcType=VARCHAR},
      bank_name = #{bankName,jdbcType=VARCHAR},
      creditor = #{creditor,jdbcType=VARCHAR},
      repay_interest = #{repayInterest,jdbcType=DECIMAL},
      repay_interest_rmb = #{repayInterestRmb,jdbcType=DECIMAL},
      actual_repay_time = #{actualRepayTime,jdbcType=TIMESTAMP},
      gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
      gmt_modify = #{gmtModify,jdbcType=TIMESTAMP}
    where id = #{id,jdbcType=INTEGER}
  </update>
  <insert id="upsertSelective" parameterType="com.bailuntec.domain.entity.DcBaseFinanceInterest">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      @project https://github.com/itfsw/mybatis-generator-plugin
    -->
    insert into dc_base_finance_interest
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        id,
      </if>
      <if test="borrowId != null">
        borrow_id,
      </if>
      <if test="repayId != null">
        repay_id,
      </if>
      <if test="contractNo != null">
        contract_no,
      </if>
      <if test="companyVal != null">
        company_val,
      </if>
      <if test="company != null">
        company,
      </if>
      <if test="bankCard != null">
        bank_card,
      </if>
      <if test="bankCardUser != null">
        bank_card_user,
      </if>
      <if test="bankName != null">
        bank_name,
      </if>
      <if test="creditor != null">
        creditor,
      </if>
      <if test="repayInterest != null">
        repay_interest,
      </if>
      <if test="repayInterestRmb != null">
        repay_interest_rmb,
      </if>
      <if test="actualRepayTime != null">
        actual_repay_time,
      </if>
      <if test="gmtCreate != null">
        gmt_create,
      </if>
      <if test="gmtModify != null">
        gmt_modify,
      </if>
    </trim>
    values
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="id != null">
        #{id,jdbcType=INTEGER},
      </if>
      <if test="borrowId != null">
        #{borrowId,jdbcType=INTEGER},
      </if>
      <if test="repayId != null">
        #{repayId,jdbcType=INTEGER},
      </if>
      <if test="contractNo != null">
        #{contractNo,jdbcType=VARCHAR},
      </if>
      <if test="companyVal != null">
        #{companyVal,jdbcType=INTEGER},
      </if>
      <if test="company != null">
        #{company,jdbcType=VARCHAR},
      </if>
      <if test="bankCard != null">
        #{bankCard,jdbcType=VARCHAR},
      </if>
      <if test="bankCardUser != null">
        #{bankCardUser,jdbcType=VARCHAR},
      </if>
      <if test="bankName != null">
        #{bankName,jdbcType=VARCHAR},
      </if>
      <if test="creditor != null">
        #{creditor,jdbcType=VARCHAR},
      </if>
      <if test="repayInterest != null">
        #{repayInterest,jdbcType=DECIMAL},
      </if>
      <if test="repayInterestRmb != null">
        #{repayInterestRmb,jdbcType=DECIMAL},
      </if>
      <if test="actualRepayTime != null">
        #{actualRepayTime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtCreate != null">
        #{gmtCreate,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtModify != null">
        #{gmtModify,jdbcType=TIMESTAMP},
      </if>
    </trim>
    on duplicate key update 
    <trim suffixOverrides=",">
      <if test="id != null">
        id = #{id,jdbcType=INTEGER},
      </if>
      <if test="borrowId != null">
        borrow_id = #{borrowId,jdbcType=INTEGER},
      </if>
      <if test="repayId != null">
        repay_id = #{repayId,jdbcType=INTEGER},
      </if>
      <if test="contractNo != null">
        contract_no = #{contractNo,jdbcType=VARCHAR},
      </if>
      <if test="companyVal != null">
        company_val = #{companyVal,jdbcType=INTEGER},
      </if>
      <if test="company != null">
        company = #{company,jdbcType=VARCHAR},
      </if>
      <if test="bankCard != null">
        bank_card = #{bankCard,jdbcType=VARCHAR},
      </if>
      <if test="bankCardUser != null">
        bank_card_user = #{bankCardUser,jdbcType=VARCHAR},
      </if>
      <if test="bankName != null">
        bank_name = #{bankName,jdbcType=VARCHAR},
      </if>
      <if test="creditor != null">
        creditor = #{creditor,jdbcType=VARCHAR},
      </if>
      <if test="repayInterest != null">
        repay_interest = #{repayInterest,jdbcType=DECIMAL},
      </if>
      <if test="repayInterestRmb != null">
        repay_interest_rmb = #{repayInterestRmb,jdbcType=DECIMAL},
      </if>
      <if test="actualRepayTime != null">
        actual_repay_time = #{actualRepayTime,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtCreate != null">
        gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
      </if>
      <if test="gmtModify != null">
        gmt_modify = #{gmtModify,jdbcType=TIMESTAMP},
      </if>
    </trim>
  </insert>
  <insert id="upsert" parameterType="com.bailuntec.domain.entity.DcBaseFinanceInterest">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      @project https://github.com/itfsw/mybatis-generator-plugin
    -->
    insert into dc_base_finance_interest
    (id, borrow_id, repay_id, contract_no, company_val, company, bank_card, bank_card_user, 
      bank_name, creditor, repay_interest, repay_interest_rmb, actual_repay_time, gmt_create, 
      gmt_modify)
    values
    (#{id,jdbcType=INTEGER}, #{borrowId,jdbcType=INTEGER}, #{repayId,jdbcType=INTEGER}, 
      #{contractNo,jdbcType=VARCHAR}, #{companyVal,jdbcType=INTEGER}, #{company,jdbcType=VARCHAR}, 
      #{bankCard,jdbcType=VARCHAR}, #{bankCardUser,jdbcType=VARCHAR}, #{bankName,jdbcType=VARCHAR}, 
      #{creditor,jdbcType=VARCHAR}, #{repayInterest,jdbcType=DECIMAL}, #{repayInterestRmb,jdbcType=DECIMAL}, 
      #{actualRepayTime,jdbcType=TIMESTAMP}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModify,jdbcType=TIMESTAMP}
      )
    on duplicate key update 
    id = #{id,jdbcType=INTEGER}, 
    borrow_id = #{borrowId,jdbcType=INTEGER}, 
    repay_id = #{repayId,jdbcType=INTEGER}, 
    contract_no = #{contractNo,jdbcType=VARCHAR}, 
    company_val = #{companyVal,jdbcType=INTEGER}, 
    company = #{company,jdbcType=VARCHAR}, 
    bank_card = #{bankCard,jdbcType=VARCHAR}, 
    bank_card_user = #{bankCardUser,jdbcType=VARCHAR}, 
    bank_name = #{bankName,jdbcType=VARCHAR}, 
    creditor = #{creditor,jdbcType=VARCHAR}, 
    repay_interest = #{repayInterest,jdbcType=DECIMAL}, 
    repay_interest_rmb = #{repayInterestRmb,jdbcType=DECIMAL}, 
    actual_repay_time = #{actualRepayTime,jdbcType=TIMESTAMP}, 
    gmt_create = #{gmtCreate,jdbcType=TIMESTAMP}, 
    gmt_modify = #{gmtModify,jdbcType=TIMESTAMP}
  </insert>
  <select id="selectOneByExample" parameterType="com.bailuntec.domain.example.DcBaseFinanceInterestExample" resultMap="BaseResultMap">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
      @project https://github.com/itfsw/mybatis-generator-plugin
    -->
    select
    <include refid="Base_Column_List" />
    from dc_base_finance_interest
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
    limit 1
  </select>
</mapper>