history_order_id, charging_station_id, charge_order_id, user_id, terminal_id, serial_number, internet_serial_number, power_price_total, service_price_total, total_price, promotion_discount, act_price, act_power_price, act_service_price, internet_commission, internet_svc_commission, platform_commission, platform_svc_commisssion, operation_commission, operation_svc_commission, start_soc, end_soc, reconciliation_status, sorting_status, `type`, `status`, del_flag, create_time, create_by, update_time, update_by, remark, `state`, vin_normal, search_value, operator_id_evcs, charge_model_evcs, connector_power_evcs, meter_value_end_evcs, meter_value_start_evcs, operator_id3rdpty_evcs, start_time, stop_reason_evcs, total_power, user_name_evcs, phone, rate_model_id INSERT INTO xhpc_history_order charging_station_id, charge_order_id, user_id, terminal_id, serial_number, internet_serial_number, power_price_total, service_price_total, total_price, promotion_discount, act_price, act_power_price, act_service_price, internet_commission, internet_svc_commission, platform_commission, platform_svc_commisssion, operation_commission, operation_svc_commission, start_soc, end_soc, reconciliation_status, sorting_status, type, status, del_flag, create_time, create_by, update_time, update_by, remark, state, vin_normal, search_value, operator_id_evcs, charge_model_evcs, connector_power_evcs, meter_value_end_evcs, meter_value_start_evcs, operator_id3rdpty_evcs, start_time, end_time, stop_reason_evcs, rate_model_id, total_power, user_name_evcs, phone, charging_mode, source, internet_degree_commission, activity_power_price_total, activity_service_price_total, activity_total_price, activity_id, #{chargingStationId,jdbcType=BIGINT}, #{chargeOrderId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{terminalId,jdbcType=BIGINT}, #{serialNumber,jdbcType=VARCHAR}, #{internetSerialNumber,jdbcType=VARCHAR}, #{powerPriceTotal,jdbcType=DECIMAL}, #{servicePriceTotal,jdbcType=DECIMAL}, #{totalPrice,jdbcType=DECIMAL}, #{promotionDiscount}, #{actPrice,jdbcType=DECIMAL}, #{actPowerPrice,jdbcType=DECIMAL}, #{actServicePrice,jdbcType=DECIMAL}, #{internetCommission,jdbcType=DECIMAL}, #{internetSvcCommission,jdbcType=DECIMAL}, #{platformCommission,jdbcType=DECIMAL}, #{platformSvcCommisssion,jdbcType=DECIMAL}, #{operationCommission,jdbcType=DECIMAL}, #{operationSvcCommission,jdbcType=DECIMAL}, #{startSoc,jdbcType=VARCHAR}, #{endSoc,jdbcType=VARCHAR}, #{reconciliationStatus,jdbcType=INTEGER}, #{sortingStatus,jdbcType=INTEGER}, #{type,jdbcType=TINYINT}, #{status,jdbcType=INTEGER}, #{delFlag,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{createBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{state,jdbcType=INTEGER}, #{vinNormal,jdbcType=VARCHAR}, #{searchValue,jdbcType=VARCHAR}, #{operatorIdEvcs,jdbcType=VARCHAR}, #{chargeModelEvcs,jdbcType=INTEGER}, #{connectorPowerEvcs,jdbcType=DOUBLE}, #{meterValueEndEvcs,jdbcType=DOUBLE}, #{meterValueStartEvcs,jdbcType=DOUBLE}, #{operatorId3rdptyEvcs,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{stopReasonEvcs,jdbcType=INTEGER}, #{rateModelId}, #{totalPower,jdbcType=DOUBLE}, #{userNameEvcs,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{chargingMode,jdbcType=VARCHAR}, #{source}, #{internetDegreeCommission}, #{activityPowerPriceTotal}, #{activityServicePriceTotal}, #{activityTotalPrice}, #{activityId}, UPDATE xhpc_history_order charging_station_id = #{chargingStationId}, charge_order_id = #{chargeOrderId}, user_id = #{userId}, terminal_id = #{terminalId}, serial_number = #{serialNumber}, internet_serial_number = #{internetSerialNumber}, power_price_total = #{powerPriceTotal}, service_price_total = #{servicePriceTotal}, total_price = #{totalPrice}, promotion_discount = #{promotionDiscount}, act_price = #{actPrice}, act_power_price = #{actPowerPrice}, act_service_price = #{actServicePrice}, internet_commission = #{internetCommission}, internet_svc_commission = #{internetSvcCommission}, platform_commission = #{platformCommission}, platform_svc_commisssion = #{platformSvcCommisssion}, operation_commission = #{operationCommission}, operation_svc_commission = #{operationSvcCommission}, start_soc = #{startSoc}, end_soc = #{endSoc}, reconciliation_status = #{reconciliationStatus}, sorting_status = #{sortingStatus}, `type` = #{type}, `status` = #{status}, del_flag = #{delFlag}, create_time = #{createTime}, create_by = #{createBy}, update_time = #{updateTime}, update_by = #{updateBy}, remark = #{remark}, `state` = #{state}, vin_normal = #{vinNormal}, search_value = #{searchValue}, operator_id_evcs = #{operatorIdEvcs}, charge_model_evcs = #{chargeModelEvcs}, connector_power_evcs = #{connectorPowerEvcs}, meter_value_end_evcs = #{meterValueEndEvcs}, meter_value_start_evcs = #{meterValueStartEvcs}, operator_id3rdpty_evcs = #{operatorId3rdptyEvcs}, start_time = #{startTime}, stop_reason_evcs = #{stopReasonEvcs}, total_power = #{totalPower}, user_name_evcs = #{userNameEvcs}, phone = #{phone}, where history_order_id = #{historyOrderId} update xhpc_history_order set reconciliation_status = #{status} where history_order_id in #{item} update xhpc_history_order set sorting_status = #{status} where history_order_id in #{item} update xhpc_history_order set state = #{state} where history_order_id=#{historyOrderId} UPDATE xhpc_history_order charging_station_id = #{chargingStationId}, charge_order_id = #{chargeOrderId}, user_id = #{userId}, terminal_id = #{terminalId}, serial_number = #{serialNumber}, internet_serial_number = #{internetSerialNumber}, power_price_total = #{powerPriceTotal}, service_price_total = #{servicePriceTotal}, total_price = #{totalPrice}, promotion_discount = #{promotionDiscount}, act_price = #{actPrice}, act_power_price = #{actPowerPrice}, act_service_price = #{actServicePrice}, internet_commission = #{internetCommission}, internet_svc_commission = #{internetSvcCommission}, platform_commission = #{platformCommission}, platform_svc_commisssion = #{platformSvcCommisssion}, operation_commission = #{operationCommission}, operation_svc_commission = #{operationSvcCommission}, start_soc = #{startSoc}, end_soc = #{endSoc}, reconciliation_status = #{reconciliationStatus}, sorting_status = #{sortingStatus}, `type` = #{type}, `status` = #{status}, del_flag = #{delFlag}, create_time = #{createTime}, create_by = #{createBy}, update_time = #{updateTime}, update_by = #{updateBy}, remark = #{remark}, `state` = #{state}, vin_normal = #{vinNormal}, search_value = #{searchValue}, operator_id_evcs = #{operatorIdEvcs}, charge_model_evcs = #{chargeModelEvcs}, connector_power_evcs = #{connectorPowerEvcs}, meter_value_end_evcs = #{meterValueEndEvcs}, meter_value_start_evcs = #{meterValueStartEvcs}, operator_id3rdpty_evcs = #{operatorId3rdptyEvcs}, start_time = #{startTime}, stop_reason_evcs = #{stopReasonEvcs}, total_power = #{totalPower}, user_name_evcs = #{userNameEvcs}, phone = #{phone}, where internet_serial_number = #{internetSerialNumber}