select id, union_id, customer_name, record_type, integral, create_time, station_id, station_name from customer_points_record
insert into customer_points_record
union_id,customer_name,record_type,integral,create_time,station_id,station_name,#{unionId},#{customerName},#{recordType},#{integral},#{createTime},#{stationId},#{stationName},
update customer_points_record
union_id = #{unionId},customer_name = #{customerName},record_type = #{recordType},integral = #{integral},create_time = #{createTime},station_id = #{stationId},station_name = #{stationName},
where id = #{id}
delete from customer_points_record where id = #{id}
delete from customer_points_record where id in
#{id}