public ActionResult <BuildingSearchResViewModel> Manage_OpinionInfo_Search(BuildingSearchViewModel buildingSearchViewModel) { var SearchResult = _buildingService.Building_Search(buildingSearchViewModel); int total = _buildingService.Building_SearchCount(buildingSearchViewModel); int buildingNoCount = _buildingService.Building_SearchBuildingNoCount(buildingSearchViewModel); int unitNoCount = _buildingService.Building_SearchUnitNoCount(buildingSearchViewModel); int houseNoCount = _houseInfoService.HouseCountSearch(buildingSearchViewModel); var Actionresult = _buildingFactory.GetBuildingSearchResViewModel(); Actionresult.baseViewModel.IsSuccess = true; Actionresult.Data = SearchResult; Actionresult.TotalCount = total; Actionresult.BuildingNoCount = buildingNoCount; Actionresult.UnitNoCount = unitNoCount; Actionresult.HouseNoCount = houseNoCount; Actionresult.baseViewModel.Message = "查询信息成功"; Actionresult.baseViewModel.ResponseCode = 200; _ILogger.Information("查询信息成功"); return(Ok(Actionresult)); }