select warehouse_id, warehouse_instock_type, warehouse_type, warehouse_code, warehouse_name, warehouse_category_id, post_id, multi_row_type, workbin_flag, warehouse_location, active_flag, remark, create_by, create_time, update_by, update_time, del_flag, factory_id, data_source, schame, line_flag from wms_base_warehouse insert into wms_base_warehouse warehouse_instock_type, warehouse_type, warehouse_code, warehouse_name, warehouse_category_id, post_id, multi_row_type, workbin_flag, warehouse_location, active_flag, remark, create_by, create_time, update_by, update_time, del_flag, factory_id, data_source, schame, line_flag, #{warehouseInstockType}, #{warehouseType}, #{warehouseCode}, #{warehouseName}, #{warehouseCategoryId}, #{postId}, #{multiRowType}, #{workbinFlag}, #{warehouseLocation}, #{activeFlag}, #{remark}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{delFlag}, #{factoryId}, #{dataSource}, #{schame}, #{lineFlag}, update wms_base_warehouse warehouse_instock_type = #{warehouseInstockType}, warehouse_type = #{warehouseType}, warehouse_code = #{warehouseCode}, warehouse_name = #{warehouseName}, warehouse_category_id = #{warehouseCategoryId}, post_id = #{postId}, multi_row_type = #{multiRowType}, workbin_flag = #{workbinFlag}, warehouse_location = #{warehouseLocation}, active_flag = #{activeFlag}, remark = #{remark}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, del_flag = #{delFlag}, factory_id = #{factoryId}, data_source = #{dataSource}, schame = #{schame}, line_flag = #{lineFlag}, where warehouse_id = #{warehouseId} delete from wms_base_warehouse where warehouse_id = #{warehouseId} delete from wms_base_warehouse where warehouse_id in #{warehouseId}