select location_id, location_type, location_status, outer_id, area_id, tunnel_id, equipment_id, w_row, w_col, w_layer, w_depth, is_lock, vehicle_id, remark, is_working, is_enable from app_location insert into app_location location_id, location_type, location_status, outer_id, area_id, tunnel_id, equipment_id, w_row, w_col, w_layer, w_depth, is_lock, vehicle_id, remark, is_working, is_enable, #{locationId}, #{locationType}, #{locationStatus}, #{outerId}, #{areaId}, #{tunnelId}, #{equipmentId}, #{wRow}, #{wCol}, #{wLayer}, #{wDepth}, #{isLock}, #{vehicleId}, #{remark}, #{isWorking}, #{isEnable}, insert into app_location ( location_id, location_type, location_status, outer_id, area_id, tunnel_id, equipment_id, w_row, w_col, w_layer, w_depth, is_lock, vehicle_id, remark, is_working, is_enable, ) values ( #{location.locationId}, #{location.locationType}, #{location.locationStatus}, #{location.outerId}, #{location.areaId}, #{location.tunnelId}, #{location.equipmentId}, #{location.wRow}, #{location.wCol}, #{location.wLayer}, #{location.wDepth}, #{location.isLock}, #{location.vehicleId}, #{location.remark}, #{location.isWorking}, #{location.isEnable}, ) update app_location location_type = #{locationType}, location_status = #{locationStatus}, outer_id = #{outerId}, area_id = #{areaId}, tunnel_id = #{tunnelId}, equipment_id = #{equipmentId}, w_row = #{wRow}, w_col = #{wCol}, w_layer = #{wLayer}, w_depth = #{wDepth}, is_lock = #{isLock}, vehicle_id = #{vehicleId}, remark = #{remark}, is_working = #{isWorking}, is_enable = #{isEnable}, where location_id = #{locationId} delete from app_location where location_id = #{locationId} delete from app_location where location_id in #{locationId}