select id, type, amount, illustrate from pos_margin insert into pos_margin type, amount, illustrate, #{type}, #{amount}, #{illustrate}, update pos_margin type = #{type}, amount = #{amount}, illustrate = #{illustrate}, where id = #{id} delete from pos_margin where id = #{id} delete from pos_margin where id in #{id}