select id, customerCode, type, course, refId, refType, time, status from b_customer_favorites insert into b_customer_favorites customerCode, type, course, refId, refType, time, status, #{customercode}, #{type}, #{course}, #{refid}, #{reftype}, #{time}, #{status}, update b_customer_favorites customerCode = #{customercode}, type = #{type}, course = #{course}, refId = #{refid}, refType = #{reftype}, time = #{time}, status = #{status}, where id = #{id} delete from b_customer_favorites where id = #{id} delete from b_customer_favorites where id in #{id}