id, buy_max_percent, force_sell_percent, trans_am_begin, trans_am_end, trans_pm_begin, trans_pm_end, down_limit, rise_limit delete from site_index_setting where id = #{id,jdbcType=INTEGER} insert into site_index_setting (id, buy_max_percent, force_sell_percent, trans_am_begin, trans_am_end, trans_pm_begin, trans_pm_end, down_limit, rise_limit ) values (#{id,jdbcType=INTEGER}, #{buyMaxPercent,jdbcType=DECIMAL}, #{forceSellPercent,jdbcType=DECIMAL}, #{transAmBegin,jdbcType=VARCHAR}, #{transAmEnd,jdbcType=VARCHAR}, #{transPmBegin,jdbcType=VARCHAR}, #{transPmEnd,jdbcType=VARCHAR}, #{downLimit,jdbcType=DECIMAL}, #{riseLimit,jdbcType=DECIMAL} ) insert into site_index_setting id, buy_max_percent, force_sell_percent, trans_am_begin, trans_am_end, trans_pm_begin, trans_pm_end, down_limit, rise_limit, #{id,jdbcType=INTEGER}, #{buyMaxPercent,jdbcType=DECIMAL}, #{forceSellPercent,jdbcType=DECIMAL}, #{transAmBegin,jdbcType=VARCHAR}, #{transAmEnd,jdbcType=VARCHAR}, #{transPmBegin,jdbcType=VARCHAR}, #{transPmEnd,jdbcType=VARCHAR}, #{downLimit,jdbcType=DECIMAL}, #{riseLimit,jdbcType=DECIMAL}, update site_index_setting buy_max_percent = #{buyMaxPercent,jdbcType=DECIMAL}, force_sell_percent = #{forceSellPercent,jdbcType=DECIMAL}, trans_am_begin = #{transAmBegin,jdbcType=VARCHAR}, trans_am_end = #{transAmEnd,jdbcType=VARCHAR}, trans_pm_begin = #{transPmBegin,jdbcType=VARCHAR}, trans_pm_end = #{transPmEnd,jdbcType=VARCHAR}, down_limit = #{downLimit,jdbcType=DECIMAL}, rise_limit = #{riseLimit,jdbcType=DECIMAL}, where id = #{id,jdbcType=INTEGER} update site_index_setting set buy_max_percent = #{buyMaxPercent,jdbcType=DECIMAL}, force_sell_percent = #{forceSellPercent,jdbcType=DECIMAL}, trans_am_begin = #{transAmBegin,jdbcType=VARCHAR}, trans_am_end = #{transAmEnd,jdbcType=VARCHAR}, trans_pm_begin = #{transPmBegin,jdbcType=VARCHAR}, trans_pm_end = #{transPmEnd,jdbcType=VARCHAR}, down_limit = #{downLimit,jdbcType=DECIMAL}, rise_limit = #{riseLimit,jdbcType=DECIMAL} where id = #{id,jdbcType=INTEGER}