1
zj
10 hours ago d615fc515fc52d6ed970c11d59a017e48de4be32
src/main/resources/mapper/SiteSettingMapper.xml
@@ -11,6 +11,7 @@
      <arg column="stay_max_days" jdbcType="INTEGER" javaType="java.lang.Integer" />
      <arg column="buy_min_amt" jdbcType="INTEGER" javaType="java.lang.Integer" />
      <arg column="charge_min_amt" jdbcType="INTEGER" javaType="java.lang.Integer" />
      <arg column="charge_max_amt" jdbcType="INTEGER" javaType="java.lang.Integer" />
      <arg column="buy_min_num" jdbcType="INTEGER" javaType="java.lang.Integer" />
      <arg column="force_stop_fee" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
      <arg column="buy_max_amt_percent" jdbcType="DECIMAL" javaType="java.math.BigDecimal" />
@@ -113,7 +114,7 @@
    </where>
  </sql>
  <sql id="Base_Column_List" >
    id, buy_fee, sell_fee, stay_fee, duty_fee, stay_max_days, buy_min_amt, charge_min_amt,
    id, buy_fee, sell_fee, stay_fee, duty_fee, stay_max_days, buy_min_amt, charge_min_amt, charge_max_amt,
    buy_min_num, force_stop_fee, buy_max_amt_percent, force_stop_percent, hight_and_low,
    with_min_amt, crease_max_percent, buy_max_num, with_time_begin, with_time_end, trans_am_begin,
    trans_am_end, trans_pm_begin, trans_pm_end, trans_am_begin_us, trans_am_end_us, trans_pm_begin_us,
@@ -159,7 +160,7 @@
    </selectKey>
    insert into site_setting (id, buy_fee, sell_fee,
    stay_fee, duty_fee, stay_max_days,
    buy_min_amt, charge_min_amt, buy_min_num,
    buy_min_amt, charge_min_amt, charge_max_amt, buy_min_num,
    force_stop_fee, buy_max_amt_percent, force_stop_percent,
    hight_and_low, with_min_amt, crease_max_percent,
    buy_max_num, with_time_begin, with_time_end,
@@ -176,7 +177,7 @@
    hk_exchange_rate)
    values (#{id,jdbcType=INTEGER}, #{buyFee,jdbcType=DECIMAL}, #{sellFee,jdbcType=DECIMAL},
    #{stayFee,jdbcType=DECIMAL}, #{dutyFee,jdbcType=DECIMAL}, #{stayMaxDays,jdbcType=INTEGER},
    #{buyMinAmt,jdbcType=INTEGER}, #{chargeMinAmt,jdbcType=INTEGER}, #{buyMinNum,jdbcType=INTEGER},
    #{buyMinAmt,jdbcType=INTEGER}, #{chargeMinAmt,jdbcType=INTEGER}, #{chargeMaxAmt,jdbcType=INTEGER}, #{buyMinNum,jdbcType=INTEGER},
    #{forceStopFee,jdbcType=DECIMAL}, #{buyMaxAmtPercent,jdbcType=DECIMAL}, #{forceStopPercent,jdbcType=DECIMAL},
    #{hightAndLow,jdbcType=DECIMAL}, #{withMinAmt,jdbcType=INTEGER}, #{creaseMaxPercent,jdbcType=DECIMAL},
    #{buyMaxNum,jdbcType=INTEGER}, #{withTimeBegin,jdbcType=INTEGER}, #{withTimeEnd,jdbcType=INTEGER},
@@ -219,6 +220,9 @@
      </if>
      <if test="chargeMinAmt != null" >
        charge_min_amt,
      </if>
      <if test="chargeMaxAmt != null" >
        charge_max_amt,
      </if>
      <if test="buyMinNum != null" >
        buy_min_num,
@@ -366,6 +370,9 @@
      </if>
      <if test="chargeMinAmt != null" >
        #{chargeMinAmt,jdbcType=INTEGER},
      </if>
      <if test="chargeMaxAmt != null" >
        #{chargeMaxAmt,jdbcType=INTEGER},
      </if>
      <if test="buyMinNum != null" >
        #{buyMinNum,jdbcType=INTEGER},
@@ -525,6 +532,9 @@
      <if test="record.chargeMinAmt != null" >
        charge_min_amt = #{record.chargeMinAmt,jdbcType=INTEGER},
      </if>
      <if test="record.chargeMaxAmt != null" >
        charge_max_amt = #{record.chargeMaxAmt,jdbcType=INTEGER},
      </if>
      <if test="record.buyMinNum != null" >
        buy_min_num = #{record.buyMinNum,jdbcType=INTEGER},
      </if>
@@ -663,6 +673,7 @@
    stay_max_days = #{record.stayMaxDays,jdbcType=INTEGER},
    buy_min_amt = #{record.buyMinAmt,jdbcType=INTEGER},
    charge_min_amt = #{record.chargeMinAmt,jdbcType=INTEGER},
    charge_max_amt = #{record.chargeMaxAmt,jdbcType=INTEGER},
    buy_min_num = #{record.buyMinNum,jdbcType=INTEGER},
    force_stop_fee = #{record.forceStopFee,jdbcType=DECIMAL},
    buy_max_amt_percent = #{record.buyMaxAmtPercent,jdbcType=DECIMAL},
@@ -731,6 +742,9 @@
      </if>
      <if test="chargeMinAmt != null" >
        charge_min_amt = #{chargeMinAmt,jdbcType=INTEGER},
      </if>
      <if test="chargeMaxAmt != null" >
        charge_max_amt = #{chargeMaxAmt,jdbcType=INTEGER},
      </if>
      <if test="buyMinNum != null" >
        buy_min_num = #{buyMinNum,jdbcType=INTEGER},
@@ -867,6 +881,7 @@
      stay_max_days = #{stayMaxDays,jdbcType=INTEGER},
      buy_min_amt = #{buyMinAmt,jdbcType=INTEGER},
      charge_min_amt = #{chargeMinAmt,jdbcType=INTEGER},
      charge_max_amt = #{chargeMaxAmt,jdbcType=INTEGER},
      buy_min_num = #{buyMinNum,jdbcType=INTEGER},
      force_stop_fee = #{forceStopFee,jdbcType=DECIMAL},
      buy_max_amt_percent = #{buyMaxAmtPercent,jdbcType=DECIMAL},