select charging_pile_id, charging_station_id, name, national_standard, power, auxiliary_power_supply, input_voltage, max_voltage, min_voltage, max_electric_current, min_electric_current, serial_number, type, program_version, network_link_type, gun_number,communication_protocol_version,communication_operator,sim_card,rate_model_id,charging_pile_number,status, del_flag, create_time, create_by, update_time, update_by, remark, rate_model_id from xhpc_charging_pile
insert into xhpc_charging_pile
charging_station_id,
name,
national_standard,
power,
auxiliary_power_supply,
input_voltage,
max_voltage,
min_voltage,
max_electric_current,
min_electric_current,
serial_number,
type,
program_version,
network_link_type,
gun_number,
communication_protocol_version,
communication_operator,
sim_card,
rate_model_id,
charging_pile_number,
status,
del_flag,
create_time,
create_by,
update_time,
update_by,
remark
#{chargingStationId},
#{name},
#{nationalStandard},
#{power},
#{auxiliaryPowerSupply},
#{inputVoltage},
#{maxVoltage},
#{minVoltage},
#{maxElectricCurrent},
#{minElectriCurrent},
#{serialNumber},
#{type},
#{programVersion},
#{networkLinkType},
#{gunNumber},
#{communicationProtocolVersion},
#{communicationOperator},
#{simCard},
#{rateModelId},
#{chargingPileNumber},
#{status},
#{delFlag},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{remark}
update xhpc_charging_pile
charging_station_id = #{chargingStationId},
name = #{name},
national_standard = #{nationalStandard},
power = #{power},
auxiliary_power_supply = #{auxiliaryPowerSupply},
input_voltage = #{inputVoltage},
max_voltage = #{maxVoltage},
min_voltage = #{minVoltage},
max_electric_current = #{maxElectricCurrent},
min_electric_current = #{minElectriCurrent},
serial_number = #{serialNumber},
type = #{type},
program_version = #{programVersion},
network_link_type = #{networkLinkType},
network_link_type = #{gunNumber},
gun_number = #{networkLinkType},
communication_protocol_version = #{communicationProtocolVersion},
communication_operator = #{communicationOperator},
sim_card = #{simCard},
rate_model_id = #{rateModelId},
charging_pile_number = #{chargingPileNumber},
status = #{status},
del_flag = #{delFlag},
create_time = #{createTime},
create_by = #{createBy},
update_time = #{updateTime},
update_by = #{updateBy},
remark = #{remark}
where charging_pile_id = #{chargingPileId}