| | |
| | | <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" /> |
| | |
| | | </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, |
| | |
| | | </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, |
| | |
| | | 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}, |
| | |
| | | </if> |
| | | <if test="chargeMinAmt != null" > |
| | | charge_min_amt, |
| | | </if> |
| | | <if test="chargeMaxAmt != null" > |
| | | charge_max_amt, |
| | | </if> |
| | | <if test="buyMinNum != null" > |
| | | buy_min_num, |
| | |
| | | </if> |
| | | <if test="chargeMinAmt != null" > |
| | | #{chargeMinAmt,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="chargeMaxAmt != null" > |
| | | #{chargeMaxAmt,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="buyMinNum != null" > |
| | | #{buyMinNum,jdbcType=INTEGER}, |
| | |
| | | <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> |
| | |
| | | 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}, |
| | |
| | | </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}, |
| | |
| | | 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}, |