id, stock_display, kc_stock_display, index_display, futures_display, real_name_display, funds_display,
funds_display,
delay_display,
expand_display,
margin_display,
end_display,
stock_margin_display,
holiday_display
delete from site_product
where id = #{id,jdbcType=INTEGER}
insert into site_product (id, stock_display, kc_stock_display,
index_display, futures_display, real_name_display,
funds_display,
delay_display,
expand_display,
margin_display,
end_display)
values (#{id,jdbcType=INTEGER}, #{stockDisplay,jdbcType=BIT}, #{kcStockDisplay,jdbcType=BIT},
#{indexDisplay,jdbcType=BIT}, #{futuresDisplay,jdbcType=BIT}, #{realNameDisplay,jdbcType=BIT}
, #{fundsDisplay,jdbcType=BIT}, #{delayDisplay,jdbcType=BIT}, #{expandDisplay,jdbcType=BIT}
, #{marginDisplay,jdbcType=BIT}, #{endDisplay,jdbcType=BIT})
insert into site_product
id,
stock_display,
kc_stock_display,
index_display,
futures_display,
real_name_display,
funds_display,
delay_display,
expand_display,
margin_display,
end_display
#{id,jdbcType=INTEGER},
#{stockDisplay,jdbcType=BIT},
#{kcStockDisplay,jdbcType=BIT},
#{indexDisplay,jdbcType=BIT},
#{futuresDisplay,jdbcType=BIT},
#{realNameDisplay,jdbcType=BIT},
#{fundsDisplay,jdbcType=BIT},
#{delayDisplay,jdbcType=BIT},
#{expandDisplay,jdbcType=BIT},
#{marginDisplay,jdbcType=BIT},
#{endDisplay,jdbcType=BIT}
update site_product
stock_display = #{stockDisplay,jdbcType=BIT},
kc_stock_display = #{kcStockDisplay,jdbcType=BIT},
index_display = #{indexDisplay,jdbcType=BIT},
futures_display = #{futuresDisplay,jdbcType=BIT},
real_name_display = #{realNameDisplay,jdbcType=BIT},
funds_display = #{fundsDisplay,jdbcType=BIT},
delay_display = #{delayDisplay},
expand_display = #{expandDisplay},
margin_display = #{marginDisplay},
end_display = #{endDisplay},
stock_margin_display = #{stockMarginDisplay}
holiday_display = #{holidayDisplay}
where id = #{id,jdbcType=INTEGER}
update site_product
set stock_display = #{stockDisplay,jdbcType=BIT},
kc_stock_display = #{kcStockDisplay,jdbcType=BIT},
index_display = #{indexDisplay,jdbcType=BIT},
futures_display = #{futuresDisplay,jdbcType=BIT},
real_name_display = #{realNameDisplay,jdbcType=BIT},
funds_display = #{fundsDisplay,jdbcType=BIT}
where id = #{id,jdbcType=INTEGER}