select id, trade_count, trade_mony, trade_type, type, month_of from t_ament_trade insert into t_ament_trade trade_count, trade_mony, trade_type, type, month_of, #{tradeCount}, #{tradeMony}, #{tradeType}, #{type}, #{monthOf}, update t_ament_trade trade_count = #{tradeCount}, trade_mony = #{tradeMony}, trade_type = #{tradeType}, type = #{type}, month_of = #{monthOf}, where id = #{id} delete from t_ament_trade where id = #{id} delete from t_ament_trade where id in #{id}