select config_id, user_id, config_name, base_layer_type, base_layer_name, base_layer_url,
terrain_layer_type, terrain_layer_name, terrain_layer_url, web_services, loaded_models, loaded_custom_services,
is_default, create_by, create_time, update_by, update_time, remark
from cesium_map_config
insert into cesium_map_config
user_id,
config_name,
base_layer_type,
base_layer_name,
base_layer_url,
terrain_layer_type,
terrain_layer_name,
terrain_layer_url,
web_services,
loaded_models,
loaded_custom_services,
is_default,
create_by,
create_time,
update_by,
update_time,
remark,
#{userId},
#{configName},
#{baseLayerType},
#{baseLayerName},
#{baseLayerUrl},
#{terrainLayerType},
#{terrainLayerName},
#{terrainLayerUrl},
#{webServices},
#{loadedModels},
#{loadedCustomServices},
#{isDefault},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
update cesium_map_config
user_id = #{userId},
config_name = #{configName},
base_layer_type = #{baseLayerType},
base_layer_name = #{baseLayerName},
base_layer_url = #{baseLayerUrl},
terrain_layer_type = #{terrainLayerType},
terrain_layer_type = NULL,
terrain_layer_name = #{terrainLayerName},
terrain_layer_name = NULL,
terrain_layer_url = #{terrainLayerUrl},
terrain_layer_url = NULL,
web_services = #{webServices},
loaded_models = #{loadedModels},
loaded_custom_services = #{loadedCustomServices},
is_default = #{isDefault},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
where config_id = #{configId}
delete from cesium_map_config where config_id = #{configId}
delete from cesium_map_config where config_id in
#{configId}