select location_id, warehouse_id, location_code, loc_row, layer_num, loc_column, active_flag, material_type_id, qty_limit, instock_flag, outstock_flag, location_status, batch_mix, x_coordinate, y_coordinate, z_coordinate, create_by, create_time, update_by, update_time, remark, del_flag, shelf_order, check_order, pick_order, pick_flag, is_open_kn_flag, location_scrap_type, location_attr, turn_demand, check_code, work_area, volume_limit, weight_limit, box_limit, pallet_limit, length, width, height, x_pixels, y_pixels, z_pixels, bord, product_mix from wms_base_location insert into wms_base_location warehouse_id, location_code, loc_row, layer_num, loc_column, active_flag, material_type_id, qty_limit, instock_flag, outstock_flag, location_status, batch_mix, x_coordinate, y_coordinate, z_coordinate, create_by, create_time, update_by, update_time, remark, del_flag, shelf_order, check_order, pick_order, pick_flag, is_open_kn_flag, location_scrap_type, location_attr, turn_demand, check_code, work_area, volume_limit, weight_limit, box_limit, pallet_limit, length, width, height, x_pixels, y_pixels, z_pixels, bord, product_mix, #{warehouseId}, #{locationCode}, #{locRow}, #{layerNum}, #{locColumn}, #{activeFlag}, #{materialTypeId}, #{qtyLimit}, #{instockFlag}, #{outstockFlag}, #{locationStatus}, #{batchMix}, #{xCoordinate}, #{yCoordinate}, #{zCoordinate}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, #{delFlag}, #{shelfOrder}, #{checkOrder}, #{pickOrder}, #{pickFlag}, #{isOpenKnFlag}, #{locationScrapType}, #{locationAttr}, #{turnDemand}, #{checkCode}, #{workArea}, #{volumeLimit}, #{weightLimit}, #{boxLimit}, #{palletLimit}, #{length}, #{width}, #{height}, #{xPixels}, #{yPixels}, #{zPixels}, #{bord}, #{productMix}, update wms_base_location warehouse_id = #{warehouseId}, location_code = #{locationCode}, loc_row = #{locRow}, layer_num = #{layerNum}, loc_column = #{locColumn}, active_flag = #{activeFlag}, material_type_id = #{materialTypeId}, qty_limit = #{qtyLimit}, instock_flag = #{instockFlag}, outstock_flag = #{outstockFlag}, location_status = #{locationStatus}, batch_mix = #{batchMix}, x_coordinate = #{xCoordinate}, y_coordinate = #{yCoordinate}, z_coordinate = #{zCoordinate}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, del_flag = #{delFlag}, shelf_order = #{shelfOrder}, check_order = #{checkOrder}, pick_order = #{pickOrder}, pick_flag = #{pickFlag}, is_open_kn_flag = #{isOpenKnFlag}, location_scrap_type = #{locationScrapType}, location_attr = #{locationAttr}, turn_demand = #{turnDemand}, check_code = #{checkCode}, work_area = #{workArea}, volume_limit = #{volumeLimit}, weight_limit = #{weightLimit}, box_limit = #{boxLimit}, pallet_limit = #{palletLimit}, length = #{length}, width = #{width}, height = #{height}, x_pixels = #{xPixels}, y_pixels = #{yPixels}, z_pixels = #{zPixels}, bord = #{bord}, product_mix = #{productMix}, where location_id = #{locationId} delete from wms_base_location where location_id = #{locationId} delete from wms_base_location where location_id in #{locationId}