insert into ba_ma_shop (ID,BUY_TIME,BUYER,ACCEPTOR,ACCEPT_TIME,CREATOR,CREATE_TIME,REMARK) values (#{id},#{buyTime},#{buyer},#{acceptor},#{acceptTime},#{creator},#{createTime},#{remark}) update ba_ma_shop set BUY_TIME = #{buyTime}, BUYER = #{buyer}, ACCEPTOR = #{acceptor}, ACCEPT_TIME = #{acceptTime}, CREATOR = #{creator}, CREATE_TIME = #{createTime}, REMARK = #{remark} where ID = #{id} delete from ba_ma_shop where ID = #{id} DELETE FROM ba_ma_shop WHERE id in( #{o.id} )