| | |
| | | public class StateDataCenterController { |
| | | |
| | | private final StateDateCenterService dateCenterService; |
| | | |
| | | // 计算最上面顶部统计数据 |
| | | @GetMapping(UrlConstants.STATE_DATA_CENTER_SUM) |
| | | public AjaxResult<ProjectAnalysisSumVO> dataCenterSum( |
| | | @RequestParam(required = false) String location, |
| | |
| | | ) { |
| | | return AjaxResult.success(dateCenterService.projectSumCount(location, projectStatus, projectStartTime)); |
| | | } |
| | | |
| | | // 项目统计-模拟征收超期项目 |
| | | @PostMapping(UrlConstants.STATE_DATA_CENTER_SUM_EXPIRED) |
| | | public AjaxResult<PageInfo<ProjectStatusExpiredVO>> sumExpiredAgreement(@RequestBody(required = false) ProjectStatisticsBO statisticsBO) { |
| | | return AjaxResult.success(dateCenterService.expiredProjectStatus(statisticsBO)); |
| | | } |
| | | |
| | | //安置情况 |
| | | // 安置情况 获取数据中心安置情况模块 中间的饼图 |
| | | @GetMapping(UrlConstants.STATE_DATA_CENTER_PLACEMENT_STATISTICS) |
| | | public AjaxResult<PlacementStatisticsVO> stateDataCenterPlacementStatistics |
| | | ( |
| | |
| | | ) { |
| | | return AjaxResult.success(dateCenterService.placementStatistics(projectStreet, projectStartTime,type)); |
| | | } |
| | | |
| | | // 数据中心-安置情况柱状图 |
| | | @GetMapping(UrlConstants.STATE_DATA_CENTER_PLACEMENT_STATISTICS_STREET) |
| | | public AjaxResult<PlacementStreetVO> stateDataCenterPlacementStatisticsStreet( |
| | | @RequestParam(required = false) String projectStreet, |
| | |
| | | ) { |
| | | return AjaxResult.success(dateCenterService.sumPlacementStreet(projectStreet, projectStartTime)); |
| | | } |
| | | |
| | | // 获取数据中心安置情况模块 下方的分页查询 |
| | | @PostMapping(UrlConstants.STATE_DATA_CENTER_PLACEMENT_STATISTICS_PAGE) |
| | | public AjaxResult<PageInfo<TransitionPageVO>> stateDataCenterPlacementStatisticsPage( |
| | | @RequestBody PlacementStatisticsBO placementStatisticsBO |
| | |
| | | return AjaxResult.success(dateCenterService.placementStatisticsPage(placementStatisticsBO)); |
| | | } |
| | | |
| | | //项目资金 |
| | | //项目资金 数据中心-项目资产统计 左侧数据 |
| | | @GetMapping(UrlConstants.STATE_DATA_CENTER_ASSET_SUM_MONEY) |
| | | public AjaxResult<AssetMoneyVO> stateCenterAssetSumMoney( |
| | | @RequestParam(required = false) |
| | |
| | | ) { |
| | | return AjaxResult.success(dateCenterService.sumAssetMoney(projectStartTime)); |
| | | } |
| | | |
| | | // 数据中心-项目资产统计 右侧柱状图 |
| | | @GetMapping(UrlConstants.STATE_DATA_CENTER_ASSET_SUM_MONEY_GRAPH) |
| | | public AjaxResult<List<AssetGraphVO>> stateCenterAssetSumGraph( |
| | | @RequestParam(required = false) |