and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, buy_fee, sell_fee, stay_fee, duty_fee, stay_max_days, buy_min_amt, charge_min_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, trans_pm_end_us, with_fee_single, with_fee_percent, site_lever, buy_same_times, buy_same_nums, buy_num_times, buy_num_lots, cant_sell_times, kc_crease_max_percent, stock_days, stock_rate, stock_chaa, stock_chab, stock_chac, force_stop_remind_ratio, cy_crease_max_percent, fall_buy_display, trans_am_begin_hk, trans_am_end_hk, trans_pm_begin_hk, trans_pm_end_hk, vip_qc_max_amt, hk_exchange_rate delete from site_setting where id = #{id,jdbcType=INTEGER} delete from site_setting SELECT LAST_INSERT_ID() 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, 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, trans_pm_end_us, with_fee_single, with_fee_percent, site_lever, buy_same_times, buy_same_nums, buy_num_times, buy_num_lots, cant_sell_times, kc_crease_max_percent, stock_days, stock_rate, stock_chaa, stock_chab, stock_chac, force_stop_remind_ratio, cy_crease_max_percent, fall_buy_display, trans_am_begin_hk, trans_am_end_hk, trans_pm_begin_hk, trans_pm_end_hk, vip_qc_max_amt, 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}, #{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}, #{transAmBegin,jdbcType=VARCHAR}, #{transAmEnd,jdbcType=VARCHAR}, #{transPmBegin,jdbcType=VARCHAR}, #{transPmEnd,jdbcType=VARCHAR}, #{transAmBeginUs,jdbcType=VARCHAR}, #{transAmEndUs,jdbcType=VARCHAR}, #{transPmBeginUs,jdbcType=VARCHAR}, #{transPmEndUs,jdbcType=VARCHAR}, #{withFeeSingle,jdbcType=INTEGER}, #{withFeePercent,jdbcType=DECIMAL}, #{siteLever,jdbcType=VARCHAR}, #{buySameTimes,jdbcType=INTEGER}, #{buySameNums,jdbcType=INTEGER}, #{buyNumTimes,jdbcType=INTEGER}, #{buyNumLots,jdbcType=INTEGER}, #{cantSellTimes,jdbcType=INTEGER}, #{kcCreaseMaxPercent,jdbcType=DECIMAL}, #{stockDays,jdbcType=INTEGER}, #{stockRate,jdbcType=DECIMAL}, #{stockChaa,jdbcType=DECIMAL}, #{stockChab,jdbcType=DECIMAL}, #{stockChac,jdbcType=DECIMAL}, #{forceStopRemindRatio,jdbcType=DECIMAL}, #{cyCreaseMaxPercent,jdbcType=DECIMAL}, #{fallBuyDisplay,jdbcType=TINYINT}, #{transAmBeginHk,jdbcType=VARCHAR}, #{transAmEndHk,jdbcType=VARCHAR}, #{transPmBeginHk,jdbcType=VARCHAR}, #{transPmEndHk,jdbcType=VARCHAR}, #{vipQcMaxAmt,jdbcType=DECIMAL}, #{hkExchangeRate,jdbcType=DECIMAL}) SELECT LAST_INSERT_ID() 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, 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, trans_pm_end_us, with_fee_single, with_fee_percent, site_lever, buy_same_times, buy_same_nums, buy_num_times, buy_num_lots, cant_sell_times, kc_crease_max_percent, stock_days, stock_rate, stock_chaa, stock_chab, stock_chac, force_stop_remind_ratio, cy_crease_max_percent, fall_buy_display, trans_am_begin_hk, trans_am_end_hk, trans_pm_begin_hk, trans_pm_end_hk, vip_qc_max_amt, hk_exchange_rate, #{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}, #{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}, #{transAmBegin,jdbcType=VARCHAR}, #{transAmEnd,jdbcType=VARCHAR}, #{transPmBegin,jdbcType=VARCHAR}, #{transPmEnd,jdbcType=VARCHAR}, #{transAmBeginUs,jdbcType=VARCHAR}, #{transAmEndUs,jdbcType=VARCHAR}, #{transPmBeginUs,jdbcType=VARCHAR}, #{transPmEndUs,jdbcType=VARCHAR}, #{withFeeSingle,jdbcType=INTEGER}, #{withFeePercent,jdbcType=DECIMAL}, #{siteLever,jdbcType=VARCHAR}, #{buySameTimes,jdbcType=INTEGER}, #{buySameNums,jdbcType=INTEGER}, #{buyNumTimes,jdbcType=INTEGER}, #{buyNumLots,jdbcType=INTEGER}, #{cantSellTimes,jdbcType=INTEGER}, #{kcCreaseMaxPercent,jdbcType=DECIMAL}, #{stockDays,jdbcType=INTEGER}, #{stockRate,jdbcType=DECIMAL}, #{stockChaa,jdbcType=DECIMAL}, #{stockChab,jdbcType=DECIMAL}, #{stockChac,jdbcType=DECIMAL}, #{forceStopRemindRatio,jdbcType=DECIMAL}, #{cyCreaseMaxPercent,jdbcType=DECIMAL}, #{fallBuyDisplay,jdbcType=TINYINT}, #{transAmBeginHk,jdbcType=VARCHAR}, #{transAmEndHk,jdbcType=VARCHAR}, #{transPmBeginHk,jdbcType=VARCHAR}, #{transPmEndHk,jdbcType=VARCHAR}, #{vipQcMaxAmt,jdbcType=DECIMAL}, #{hkExchangeRate,jdbcType=DECIMAL}, update site_setting id = #{record.id,jdbcType=INTEGER}, buy_fee = #{record.buyFee,jdbcType=DECIMAL}, sell_fee = #{record.sellFee,jdbcType=DECIMAL}, stay_fee = #{record.stayFee,jdbcType=DECIMAL}, duty_fee = #{record.dutyFee,jdbcType=DECIMAL}, stay_max_days = #{record.stayMaxDays,jdbcType=INTEGER}, buy_min_amt = #{record.buyMinAmt,jdbcType=INTEGER}, charge_min_amt = #{record.chargeMinAmt,jdbcType=INTEGER}, buy_min_num = #{record.buyMinNum,jdbcType=INTEGER}, force_stop_fee = #{record.forceStopFee,jdbcType=DECIMAL}, buy_max_amt_percent = #{record.buyMaxAmtPercent,jdbcType=DECIMAL}, force_stop_percent = #{record.forceStopPercent,jdbcType=DECIMAL}, hight_and_low = #{record.hightAndLow,jdbcType=DECIMAL}, with_min_amt = #{record.withMinAmt,jdbcType=INTEGER}, crease_max_percent = #{record.creaseMaxPercent,jdbcType=DECIMAL}, buy_max_num = #{record.buyMaxNum,jdbcType=INTEGER}, with_time_begin = #{record.withTimeBegin,jdbcType=INTEGER}, with_time_end = #{record.withTimeEnd,jdbcType=INTEGER}, trans_am_begin = #{record.transAmBegin,jdbcType=VARCHAR}, trans_am_end = #{record.transAmEnd,jdbcType=VARCHAR}, trans_pm_begin = #{record.transPmBegin,jdbcType=VARCHAR}, trans_pm_end = #{record.transPmEnd,jdbcType=VARCHAR}, trans_am_begin_us = #{record.transAmBeginUs,jdbcType=VARCHAR}, trans_am_end_us = #{record.transAmEndUs,jdbcType=VARCHAR}, trans_pm_begin_us = #{record.transPmBeginUs,jdbcType=VARCHAR}, trans_pm_end_us = #{record.transPmEndUs,jdbcType=VARCHAR}, with_fee_single = #{record.withFeeSingle,jdbcType=INTEGER}, with_fee_percent = #{record.withFeePercent,jdbcType=DECIMAL}, site_lever = #{record.siteLever,jdbcType=VARCHAR}, buy_same_times = #{record.buySameTimes,jdbcType=INTEGER}, buy_same_nums = #{record.buySameNums,jdbcType=INTEGER}, buy_num_times = #{record.buyNumTimes,jdbcType=INTEGER}, buy_num_lots = #{record.buyNumLots,jdbcType=INTEGER}, cant_sell_times = #{record.cantSellTimes,jdbcType=INTEGER}, kc_crease_max_percent = #{record.kcCreaseMaxPercent,jdbcType=DECIMAL}, stock_days = #{record.stockDays,jdbcType=INTEGER}, stock_rate = #{record.stockRate,jdbcType=DECIMAL}, stock_chaa = #{record.stockChaa,jdbcType=DECIMAL}, stock_chab = #{record.stockChab,jdbcType=DECIMAL}, stock_chac = #{record.stockChac,jdbcType=DECIMAL}, force_stop_remind_ratio = #{record.forceStopRemindRatio,jdbcType=DECIMAL}, cy_crease_max_percent = #{record.cyCreaseMaxPercent,jdbcType=DECIMAL}, fall_buy_display = #{record.fallBuyDisplay,jdbcType=TINYINT}, trans_am_begin_hk = #{record.transAmBeginHk,jdbcType=VARCHAR}, trans_am_end_hk = #{record.transAmEndHk,jdbcType=VARCHAR}, trans_pm_begin_hk = #{record.transPmBeginHk,jdbcType=VARCHAR}, trans_pm_end_hk = #{record.transPmEndHk,jdbcType=VARCHAR}, vip_qc_max_amt = #{record.vipQcMaxAmt,jdbcType=DECIMAL}, hk_exchange_rate = #{record.hkExchangeRate,jdbcType=DECIMAL}, update site_setting set id = #{record.id,jdbcType=INTEGER}, buy_fee = #{record.buyFee,jdbcType=DECIMAL}, sell_fee = #{record.sellFee,jdbcType=DECIMAL}, stay_fee = #{record.stayFee,jdbcType=DECIMAL}, duty_fee = #{record.dutyFee,jdbcType=DECIMAL}, stay_max_days = #{record.stayMaxDays,jdbcType=INTEGER}, buy_min_amt = #{record.buyMinAmt,jdbcType=INTEGER}, charge_min_amt = #{record.chargeMinAmt,jdbcType=INTEGER}, buy_min_num = #{record.buyMinNum,jdbcType=INTEGER}, force_stop_fee = #{record.forceStopFee,jdbcType=DECIMAL}, buy_max_amt_percent = #{record.buyMaxAmtPercent,jdbcType=DECIMAL}, force_stop_percent = #{record.forceStopPercent,jdbcType=DECIMAL}, hight_and_low = #{record.hightAndLow,jdbcType=DECIMAL}, with_min_amt = #{record.withMinAmt,jdbcType=INTEGER}, crease_max_percent = #{record.creaseMaxPercent,jdbcType=DECIMAL}, buy_max_num = #{record.buyMaxNum,jdbcType=INTEGER}, with_time_begin = #{record.withTimeBegin,jdbcType=INTEGER}, with_time_end = #{record.withTimeEnd,jdbcType=INTEGER}, trans_am_begin = #{record.transAmBegin,jdbcType=VARCHAR}, trans_am_end = #{record.transAmEnd,jdbcType=VARCHAR}, trans_pm_begin = #{record.transPmBegin,jdbcType=VARCHAR}, trans_pm_end = #{record.transPmEnd,jdbcType=VARCHAR}, trans_am_begin_us = #{record.transAmBeginUs,jdbcType=VARCHAR}, trans_am_end_us = #{record.transAmEndUs,jdbcType=VARCHAR}, trans_pm_begin_us = #{record.transPmBeginUs,jdbcType=VARCHAR}, trans_pm_end_us = #{record.transPmEndUs,jdbcType=VARCHAR}, with_fee_single = #{record.withFeeSingle,jdbcType=INTEGER}, with_fee_percent = #{record.withFeePercent,jdbcType=DECIMAL}, site_lever = #{record.siteLever,jdbcType=VARCHAR}, buy_same_times = #{record.buySameTimes,jdbcType=INTEGER}, buy_same_nums = #{record.buySameNums,jdbcType=INTEGER}, buy_num_times = #{record.buyNumTimes,jdbcType=INTEGER}, buy_num_lots = #{record.buyNumLots,jdbcType=INTEGER}, cant_sell_times = #{record.cantSellTimes,jdbcType=INTEGER}, kc_crease_max_percent = #{record.kcCreaseMaxPercent,jdbcType=DECIMAL}, stock_days = #{record.stockDays,jdbcType=INTEGER}, stock_rate = #{record.stockRate,jdbcType=DECIMAL}, stock_chaa = #{record.stockChaa,jdbcType=DECIMAL}, stock_chab = #{record.stockChab,jdbcType=DECIMAL}, stock_chac = #{record.stockChac,jdbcType=DECIMAL}, force_stop_remind_ratio = #{record.forceStopRemindRatio,jdbcType=DECIMAL}, cy_crease_max_percent = #{record.cyCreaseMaxPercent,jdbcType=DECIMAL}, fall_buy_display = #{record.fallBuyDisplay,jdbcType=TINYINT}, trans_am_begin_hk = #{record.transAmBeginHk,jdbcType=VARCHAR}, trans_am_end_hk = #{record.transAmEndHk,jdbcType=VARCHAR}, trans_pm_begin_hk = #{record.transPmBeginHk,jdbcType=VARCHAR}, trans_pm_end_hk = #{record.transPmEndHk,jdbcType=VARCHAR}, vip_qc_max_amt = #{record.vipQcMaxAmt,jdbcType=DECIMAL}, hk_exchange_rate = #{record.hkExchangeRate,jdbcType=DECIMAL} update site_setting buy_fee = #{buyFee,jdbcType=DECIMAL}, sell_fee = #{sellFee,jdbcType=DECIMAL}, stay_fee = #{stayFee,jdbcType=DECIMAL}, duty_fee = #{dutyFee,jdbcType=DECIMAL}, stay_max_days = #{stayMaxDays,jdbcType=INTEGER}, buy_min_amt = #{buyMinAmt,jdbcType=INTEGER}, charge_min_amt = #{chargeMinAmt,jdbcType=INTEGER}, buy_min_num = #{buyMinNum,jdbcType=INTEGER}, force_stop_fee = #{forceStopFee,jdbcType=DECIMAL}, buy_max_amt_percent = #{buyMaxAmtPercent,jdbcType=DECIMAL}, force_stop_percent = #{forceStopPercent,jdbcType=DECIMAL}, hight_and_low = #{hightAndLow,jdbcType=DECIMAL}, with_min_amt = #{withMinAmt,jdbcType=INTEGER}, crease_max_percent = #{creaseMaxPercent,jdbcType=DECIMAL}, buy_max_num = #{buyMaxNum,jdbcType=INTEGER}, with_time_begin = #{withTimeBegin,jdbcType=INTEGER}, with_time_end = #{withTimeEnd,jdbcType=INTEGER}, trans_am_begin = #{transAmBegin,jdbcType=VARCHAR}, trans_am_end = #{transAmEnd,jdbcType=VARCHAR}, trans_pm_begin = #{transPmBegin,jdbcType=VARCHAR}, trans_pm_end = #{transPmEnd,jdbcType=VARCHAR}, trans_am_begin_us = #{transAmBeginUs,jdbcType=VARCHAR}, trans_am_end_us = #{transAmEndUs,jdbcType=VARCHAR}, trans_pm_begin_us = #{transPmBeginUs,jdbcType=VARCHAR}, trans_pm_end_us = #{transPmEndUs,jdbcType=VARCHAR}, with_fee_single = #{withFeeSingle,jdbcType=INTEGER}, with_fee_percent = #{withFeePercent,jdbcType=DECIMAL}, site_lever = #{siteLever,jdbcType=VARCHAR}, buy_same_times = #{buySameTimes,jdbcType=INTEGER}, buy_same_nums = #{buySameNums,jdbcType=INTEGER}, buy_num_times = #{buyNumTimes,jdbcType=INTEGER}, buy_num_lots = #{buyNumLots,jdbcType=INTEGER}, cant_sell_times = #{cantSellTimes,jdbcType=INTEGER}, kc_crease_max_percent = #{kcCreaseMaxPercent,jdbcType=DECIMAL}, stock_days = #{stockDays,jdbcType=INTEGER}, stock_rate = #{stockRate,jdbcType=DECIMAL}, stock_chaa = #{stockChaa,jdbcType=DECIMAL}, stock_chab = #{stockChab,jdbcType=DECIMAL}, stock_chac = #{stockChac,jdbcType=DECIMAL}, force_stop_remind_ratio = #{forceStopRemindRatio,jdbcType=DECIMAL}, cy_crease_max_percent = #{cyCreaseMaxPercent,jdbcType=DECIMAL}, fall_buy_display = #{fallBuyDisplay,jdbcType=TINYINT}, trans_am_begin_hk = #{transAmBeginHk,jdbcType=VARCHAR}, trans_am_end_hk = #{transAmEndHk,jdbcType=VARCHAR}, trans_pm_begin_hk = #{transPmBeginHk,jdbcType=VARCHAR}, trans_pm_end_hk = #{transPmEndHk,jdbcType=VARCHAR}, vip_qc_max_amt = #{vipQcMaxAmt,jdbcType=DECIMAL}, hk_exchange_rate = #{hkExchangeRate,jdbcType=DECIMAL}, where id = #{id,jdbcType=INTEGER} update site_setting set buy_fee = #{buyFee,jdbcType=DECIMAL}, sell_fee = #{sellFee,jdbcType=DECIMAL}, stay_fee = #{stayFee,jdbcType=DECIMAL}, duty_fee = #{dutyFee,jdbcType=DECIMAL}, stay_max_days = #{stayMaxDays,jdbcType=INTEGER}, buy_min_amt = #{buyMinAmt,jdbcType=INTEGER}, charge_min_amt = #{chargeMinAmt,jdbcType=INTEGER}, buy_min_num = #{buyMinNum,jdbcType=INTEGER}, force_stop_fee = #{forceStopFee,jdbcType=DECIMAL}, buy_max_amt_percent = #{buyMaxAmtPercent,jdbcType=DECIMAL}, force_stop_percent = #{forceStopPercent,jdbcType=DECIMAL}, hight_and_low = #{hightAndLow,jdbcType=DECIMAL}, with_min_amt = #{withMinAmt,jdbcType=INTEGER}, crease_max_percent = #{creaseMaxPercent,jdbcType=DECIMAL}, buy_max_num = #{buyMaxNum,jdbcType=INTEGER}, with_time_begin = #{withTimeBegin,jdbcType=INTEGER}, with_time_end = #{withTimeEnd,jdbcType=INTEGER}, trans_am_begin = #{transAmBegin,jdbcType=VARCHAR}, trans_am_end = #{transAmEnd,jdbcType=VARCHAR}, trans_pm_begin = #{transPmBegin,jdbcType=VARCHAR}, trans_pm_end = #{transPmEnd,jdbcType=VARCHAR}, trans_am_begin_us = #{transAmBeginUs,jdbcType=VARCHAR}, trans_am_end_us = #{transAmEndUs,jdbcType=VARCHAR}, trans_pm_begin_us = #{transPmBeginUs,jdbcType=VARCHAR}, trans_pm_end_us = #{transPmEndUs,jdbcType=VARCHAR}, with_fee_single = #{withFeeSingle,jdbcType=INTEGER}, with_fee_percent = #{withFeePercent,jdbcType=DECIMAL}, site_lever = #{siteLever,jdbcType=VARCHAR}, buy_same_times = #{buySameTimes,jdbcType=INTEGER}, buy_same_nums = #{buySameNums,jdbcType=INTEGER}, buy_num_times = #{buyNumTimes,jdbcType=INTEGER}, buy_num_lots = #{buyNumLots,jdbcType=INTEGER}, cant_sell_times = #{cantSellTimes,jdbcType=INTEGER}, kc_crease_max_percent = #{kcCreaseMaxPercent,jdbcType=DECIMAL}, stock_days = #{stockDays,jdbcType=INTEGER}, stock_rate = #{stockRate,jdbcType=DECIMAL}, stock_chaa = #{stockChaa,jdbcType=DECIMAL}, stock_chab = #{stockChab,jdbcType=DECIMAL}, stock_chac = #{stockChac,jdbcType=DECIMAL}, force_stop_remind_ratio = #{forceStopRemindRatio,jdbcType=DECIMAL}, cy_crease_max_percent = #{cyCreaseMaxPercent,jdbcType=DECIMAL}, fall_buy_display = #{fallBuyDisplay,jdbcType=TINYINT}, trans_am_begin_hk = #{transAmBeginHk,jdbcType=VARCHAR}, trans_am_end_hk = #{transAmEndHk,jdbcType=VARCHAR}, trans_pm_begin_hk = #{transPmBeginHk,jdbcType=VARCHAR}, trans_pm_end_hk = #{transPmEndHk,jdbcType=VARCHAR}, vip_qc_max_amt = #{vipQcMaxAmt,jdbcType=DECIMAL}, hk_exchange_rate = #{hkExchangeRate,jdbcType=DECIMAL} where id = #{id,jdbcType=INTEGER}