id, union_id, mobile_phone, customer_name, points, consumption_points, accumulate_points, invalid_points,
recent_consumption_date, station_id, station_name, create_time
INSERT INTO customer_points
union_id,
mobile_phone,
customer_name,
points,
consumption_points,
accumulate_points,
invalid_points,
recent_consumption_date,
station_id,
station_name,
create_time,
#{unionId},
#{mobilePhone},
#{customerName},
#{points},
#{consumptionPoints},
#{accumulatePoints},
#{invalidPoints},
#{recentConsumptionDate},
#{stationId},
#{stationName},
#{createTime},
UPDATE
customer_points
mobile_phone=#{mobilePhone},
customer_name =#{customerName},
points =#{points},
consumption_points =#{consumptionPoints},
accumulate_points =#{accumulatePoints},
invalid_points =#{invalidPoints},
recent_consumption_date =#{recentConsumptionDate},
station_id =#{stationId},
station_name =#{stationName},
create_time =#{createTime},
union_id = #{unionId},
station_id = #{stationId}
AND union_id = #{unionId}