UPDATE customer_card_use_record status = #{status} order_no = #{orderNo} INSERT INTO customer_card_use_record order_no, union_id, customer_no, customer_name, usage_type, pay_type, card_oils_type, amt, present_amt, balance, create_time, station_id, station_name, status, #{orderNo}, #{unionId}, #{customerNo}, #{customerName}, #{usageType}, #{payType}, #{cardOilsType}, #{amt}, #{presentAmt}, #{balance}, #{createTime}, #{stationId}, #{stationName}, #{status}, INSERT INTO customer_electronic_card union_id, blog_openid, mina_openid, customer_no, customer_name, mobile_phone, amt, card_oils_type, station_id, station_name, create_time, recently_time, #{unionId}, #{blogOpenid}, #{minaOpenid}, #{customerNo}, #{customerName}, #{mobilePhone}, #{amt}, #{cardOilsType}, #{stationId}, #{stationName}, #{createTime}, #{recentlyTime}, UPDATE customer_electronic_card amt = #{amt}, recently_time = #{recentlyTime} id = #{id} UPDATE customer_electronic_card union_id = #{unionId}, blog_openid = #{blogOpenid}, mina_openid = #{minaOpenid}, customer_no = #{customerNo}, customer_name = #{customerName}, mobile_phone = #{mobilePhone}, amt = #{amt}, card_oils_type = #{cardOilsType}, station_id = #{stationId}, station_name = #{stationName}, create_time = #{createTime}, recently_time = #{recentlyTime} station_id = #{stationId} AND union_id = #{unionId} AND card_oils_type = #{cardOilsType}