id, margin_min, margin_max, interest_free_lever, interest_free_days, interest_free_profit, interest_free_warning, interest_free_unwind, days_warning, days_unwind, weeks_warning, weeks_unwind, month_warning, month_unwind, days_use_period, weeks_use_period, month_use_period, early_termination_interest, trading_commission_rate, stamp_duty_rate, profit_sharing_ratio INSERT INTO funds_setting margin_min, margin_max, interest_free_lever, interest_free_days, interest_free_profit, interest_free_warning, interest_free_unwind, days_warning, days_unwind, weeks_warning, weeks_unwind, month_warning, month_unwind, days_use_period, weeks_use_period, month_use_period, early_termination_interest, trading_commission_rate, stamp_duty_rate, profit_sharing_ratio #{marginMin}, #{marginMax}, #{interestFreeLever}, #{interestFreeDays}, #{interestFreeProfit}, #{interestFreeWarning}, #{interestFreeUnwind}, #{daysWarning}, #{daysUnwind}, #{weeksWarning}, #{weeksUnwind}, #{monthWarning}, #{monthUnwind}, #{daysUsePeriod}, #{weeksUsePeriod}, #{monthUsePeriod}, #{earlyTerminationInterest}, #{tradingCommissionRate}, #{stampDutyRate}, #{profitSharingRatio} DELETE FROM funds_setting WHERE id = #{id} UPDATE funds_setting margin_min = #{marginMin}, margin_max = #{marginMax}, interest_free_lever = #{interestFreeLever}, interest_free_days = #{interestFreeDays}, interest_free_profit = #{interestFreeProfit}, interest_free_warning = #{interestFreeWarning}, interest_free_unwind = #{interestFreeUnwind}, days_warning = #{daysWarning}, days_unwind = #{daysUnwind}, weeks_warning = #{weeksWarning}, weeks_unwind = #{weeksUnwind}, month_warning = #{monthWarning}, month_unwind = #{monthUnwind}, days_use_period = #{daysUsePeriod}, weeks_use_period = #{weeksUsePeriod}, month_use_period = #{monthUsePeriod}, early_termination_interest = #{earlyTerminationInterest}, trading_commission_rate = #{tradingCommissionRate}, stamp_duty_rate = #{stampDutyRate}, profit_sharing_ratio = #{profitSharingRatio} WHERE id = #{id}