select warehouse_id, organization_id, organization_name, top_organization_id, warehouse_code, warehouse_name, warehouse_type, warehouse_type_name, warehouse_structure, warehouse_nature, warm_layer_code, warm_layer_name, director_name, director_phone, region_code, region_name, detail_address, longitude, latitude, building_region, usage_region, remark, opening_up, nullify, create_time, create_by, create_by_name, update_time, update_by, update_by_name, del_flag, IS_ENABLE from warehouse
and warehouse_id = #{warehouseId}
and organization_id = #{organizationId}
and organization_name like concat('%', #{organizationName}, '%')
and top_organization_id = #{topOrganizationId}
and warehouse_code like concat('%', #{warehouseCode}, '%')
and warehouse_name like concat('%', #{warehouseName}, '%')
and warehouse_type = #{warehouseType}
and warehouse_type_name like concat('%', #{warehouseTypeName}, '%')
and warehouse_structure = #{warehouseStructure}
and warehouse_nature = #{warehouseNature}
and warm_layer_code = #{warmLayerCode}
and warm_layer_name like concat('%', #{warmLayerName}, '%')
and director_name like concat('%', #{directorName}, '%')
and director_phone = #{directorPhone}
and region_code = #{regionCode}
and region_name like concat('%', #{regionName}, '%')
and detail_address = #{detailAddress}
and longitude = #{longitude}
and latitude = #{latitude}
and building_region = #{buildingRegion}
and usage_region = #{usageRegion}
and opening_up = #{openingUp}
and nullify = #{nullify}
and create_by_name like concat('%', #{createByName}, '%')
and update_by_name like concat('%', #{updateByName}, '%')
and remark like concat('%',#{remark},'%')
and warehouse_id in
#{item}
and organization_id in
#{item}
and del_flag = #{delFlag} and del_flag = 1