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,
trans_am_begin_hk,
trans_am_end_hk, trans_pm_begin_hk, trans_pm_end_hk,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,force_stop_remind_ratio,cy_crease_max_percent,
vip_password,dz_song_p,dz_min_by_count,withdraw,exchange_rate
delete from site_setting
where id = #{id,jdbcType=INTEGER}
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,trans_am_begin_hk, trans_am_end_hk, trans_pm_begin_hk,
trans_pm_end_hk, 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, force_stop_remind_ratio,vip_password)
)
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},#{transAmBeginhk,jdbcType=VARCHAR}, #{transAmEndhk,jdbcType=VARCHAR}, #{transPmBeginhk,jdbcType=VARCHAR},
#{transPmEndhk,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},
#{forceStopRemindRatio,jdbcType=DECIMAL},#{vipPassword,jdbcType=VARCHAR}
)
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_us,
trans_am_end_us,
trans_pm_begin_us,
trans_pm_end_us,
trans_am_begin_hk,
trans_am_end_hk,
trans_pm_begin_hk,
trans_pm_end_hk,
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,
force_stop_remind_ratio,
vip_password,
#{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},
#{transAmBeginhk,jdbcType=VARCHAR},
#{transAmEndhk,jdbcType=VARCHAR},
#{transPmBeginhk,jdbcType=VARCHAR},
#{transPmEndhk,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},
#{forceStopRemindRatio,jdbcType=DECIMAL},
#{vipPassword,jdbcType=VARCHAR},
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},
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},
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},
force_stop_remind_ratio = #{forceStopRemindRatio,jdbcType=DECIMAL},
cy_crease_max_percent = #{cyCreaseMaxPercent,jdbcType=DECIMAL},
vip_password = #{vipPassword,jdbcType=VARCHAR},
dz_song_p = #{dzSongP,jdbcType=INTEGER},
dz_min_by_count = #{dzMinByCount,jdbcType=INTEGER},
withdraw = #{withdraw,jdbcType=VARCHAR},
exchange_rate = #{exchangeRate,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},
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},
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},
force_stop_remind_ratio = #{forceStopRemindRatio,jdbcType=DECIMAL}
vipPassword = #{vipPassword,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}