charging_station_id
, `name`, operator_id, `type`, construction_site, service_facilities,
periphery_facilities, area_code, address, detailed_address, longitude, latitude,
parking_instructions, serial_number, client_visible, `status`, del_flag, create_time,
create_by, update_time, update_by, remark, rate_model_id, business_instructions,
reminder_instructions, img_id, station_type, operator_id_evcs, service_tel, search_value,
park_nums, tenant_id
delete
from xhpc_charging_station
where charging_station_id = #{chargingStationId,jdbcType=BIGINT}
insert into xhpc_charging_station (`name`, operator_id, `type`,
construction_site, service_facilities, periphery_facilities,
area_code, address, detailed_address,
longitude, latitude, parking_instructions,
serial_number, client_visible, `status`,
del_flag, create_time, create_by,
update_time, update_by, remark,
rate_model_id, business_instructions, reminder_instructions,
img_id, station_type, operator_id_evcs,
service_tel, search_value, park_nums,
tenant_id)
values (#{name,jdbcType=VARCHAR}, #{operatorId,jdbcType=BIGINT}, #{type,jdbcType=INTEGER},
#{constructionSite,jdbcType=SMALLINT}, #{serviceFacilities,jdbcType=VARCHAR},
#{peripheryFacilities,jdbcType=VARCHAR},
#{areaCode,jdbcType=INTEGER}, #{address,jdbcType=VARCHAR}, #{detailedAddress,jdbcType=VARCHAR},
#{longitude,jdbcType=VARCHAR}, #{latitude,jdbcType=VARCHAR}, #{parkingInstructions,jdbcType=VARCHAR},
#{serialNumber,jdbcType=VARCHAR}, #{clientVisible,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
#{delFlag,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{createBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
#{rateModelId,jdbcType=BIGINT}, #{businessInstructions,jdbcType=VARCHAR},
#{reminderInstructions,jdbcType=VARCHAR},
#{imgId,jdbcType=VARCHAR}, #{stationType,jdbcType=SMALLINT}, #{operatorIdEvcs,jdbcType=VARCHAR},
#{serviceTel,jdbcType=VARCHAR}, #{searchValue,jdbcType=VARCHAR}, #{parkNums,jdbcType=INTEGER},
#{tenantId,jdbcType=VARCHAR})
insert into xhpc_charging_station
`name`,
operator_id,
`type`,
construction_site,
service_facilities,
periphery_facilities,
area_code,
address,
detailed_address,
longitude,
latitude,
parking_instructions,
serial_number,
client_visible,
`status`,
del_flag,
create_time,
create_by,
update_time,
update_by,
remark,
rate_model_id,
business_instructions,
reminder_instructions,
img_id,
station_type,
operator_id_evcs,
service_tel,
search_value,
park_nums,
tenant_id,
#{name,jdbcType=VARCHAR},
#{operatorId,jdbcType=BIGINT},
#{type,jdbcType=INTEGER},
#{constructionSite,jdbcType=SMALLINT},
#{serviceFacilities,jdbcType=VARCHAR},
#{peripheryFacilities,jdbcType=VARCHAR},
#{areaCode,jdbcType=INTEGER},
#{address,jdbcType=VARCHAR},
#{detailedAddress,jdbcType=VARCHAR},
#{longitude,jdbcType=VARCHAR},
#{latitude,jdbcType=VARCHAR},
#{parkingInstructions,jdbcType=VARCHAR},
#{serialNumber,jdbcType=VARCHAR},
#{clientVisible,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{delFlag,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{createBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
#{rateModelId,jdbcType=BIGINT},
#{businessInstructions,jdbcType=VARCHAR},
#{reminderInstructions,jdbcType=VARCHAR},
#{imgId,jdbcType=VARCHAR},
#{stationType,jdbcType=SMALLINT},
#{operatorIdEvcs,jdbcType=VARCHAR},
#{serviceTel,jdbcType=VARCHAR},
#{searchValue,jdbcType=VARCHAR},
#{parkNums,jdbcType=INTEGER},
#{tenantId,jdbcType=VARCHAR},
update xhpc_charging_station
`name` = #{name,jdbcType=VARCHAR},
operator_id = #{operatorId,jdbcType=BIGINT},
`type` = #{type,jdbcType=INTEGER},
construction_site = #{constructionSite,jdbcType=SMALLINT},
service_facilities = #{serviceFacilities,jdbcType=VARCHAR},
periphery_facilities = #{peripheryFacilities,jdbcType=VARCHAR},
area_code = #{areaCode,jdbcType=INTEGER},
address = #{address,jdbcType=VARCHAR},
detailed_address = #{detailedAddress,jdbcType=VARCHAR},
longitude = #{longitude,jdbcType=VARCHAR},
latitude = #{latitude,jdbcType=VARCHAR},
parking_instructions = #{parkingInstructions,jdbcType=VARCHAR},
serial_number = #{serialNumber,jdbcType=VARCHAR},
client_visible = #{clientVisible,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
del_flag = #{delFlag,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_by = #{createBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
rate_model_id = #{rateModelId,jdbcType=BIGINT},
business_instructions = #{businessInstructions,jdbcType=VARCHAR},
reminder_instructions = #{reminderInstructions,jdbcType=VARCHAR},
img_id = #{imgId,jdbcType=VARCHAR},
station_type = #{stationType,jdbcType=SMALLINT},
operator_id_evcs = #{operatorIdEvcs,jdbcType=VARCHAR},
service_tel = #{serviceTel,jdbcType=VARCHAR},
search_value = #{searchValue,jdbcType=VARCHAR},
park_nums = #{parkNums,jdbcType=INTEGER},
tenant_id = #{tenantId,jdbcType=VARCHAR},
where charging_station_id = #{chargingStationId,jdbcType=BIGINT}
update xhpc_charging_station
set `name` = #{name,jdbcType=VARCHAR},
operator_id = #{operatorId,jdbcType=BIGINT},
`type` = #{type,jdbcType=INTEGER},
construction_site = #{constructionSite,jdbcType=SMALLINT},
service_facilities = #{serviceFacilities,jdbcType=VARCHAR},
periphery_facilities = #{peripheryFacilities,jdbcType=VARCHAR},
area_code = #{areaCode,jdbcType=INTEGER},
address = #{address,jdbcType=VARCHAR},
detailed_address = #{detailedAddress,jdbcType=VARCHAR},
longitude = #{longitude,jdbcType=VARCHAR},
latitude = #{latitude,jdbcType=VARCHAR},
parking_instructions = #{parkingInstructions,jdbcType=VARCHAR},
serial_number = #{serialNumber,jdbcType=VARCHAR},
client_visible = #{clientVisible,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
del_flag = #{delFlag,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_by = #{createBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
rate_model_id = #{rateModelId,jdbcType=BIGINT},
business_instructions = #{businessInstructions,jdbcType=VARCHAR},
reminder_instructions = #{reminderInstructions,jdbcType=VARCHAR},
img_id = #{imgId,jdbcType=VARCHAR},
station_type = #{stationType,jdbcType=SMALLINT},
operator_id_evcs = #{operatorIdEvcs,jdbcType=VARCHAR},
service_tel = #{serviceTel,jdbcType=VARCHAR},
search_value = #{searchValue,jdbcType=VARCHAR},
park_nums = #{parkNums,jdbcType=INTEGER},
tenant_id = #{tenantId,jdbcType=VARCHAR}
where charging_station_id = #{chargingStationId,jdbcType=BIGINT}