| | |
| | | private final StateDateCenterService dateCenterService; |
| | | |
| | | @GetMapping(UrlConstants.STATE_DATA_CENTER_SUM) |
| | | public AjaxResult<ProjectAnalysisSumVO> dataCenterSum(@RequestParam(required = false) String location, |
| | | @RequestParam(required = false) Integer projectStatus, |
| | | @RequestParam(required = false) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") Date projectStartTime) { |
| | | public AjaxResult<ProjectAnalysisSumVO> dataCenterSum( |
| | | @RequestParam(required = false) String location, |
| | | @RequestParam(required = false) Integer projectStatus, |
| | | @RequestParam(required = false) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") Date projectStartTime |
| | | ) { |
| | | return AjaxResult.success(dateCenterService.projectSumCount(location, projectStatus, projectStartTime)); |
| | | } |
| | | |
| | |
| | | |
| | | //安置情况 |
| | | @GetMapping(UrlConstants.STATE_DATA_CENTER_PLACEMENT_STATISTICS) |
| | | public AjaxResult<PlacementStatisticsVO> stateDataCenterPlacementStatistics( |
| | | public AjaxResult<PlacementStatisticsVO> stateDataCenterPlacementStatistics |
| | | ( |
| | | @RequestParam(required = false) String projectStreet, |
| | | @RequestParam(required = false) @DateTimeFormat(pattern = "yyyy-MM-dd") Date projectStartTime, |
| | | @RequestParam(required = false) Integer type |
| | |
| | | @GetMapping(UrlConstants.STATE_DATA_CENTER_PLACEMENT_STATISTICS_STREET) |
| | | public AjaxResult<PlacementStreetVO> stateDataCenterPlacementStatisticsStreet( |
| | | @RequestParam(required = false) String projectStreet, |
| | | @RequestParam(required = false) @DateTimeFormat(pattern = "yyyy-MM-dd") Date projectStartTime) { |
| | | @RequestParam(required = false) @DateTimeFormat(pattern = "yyyy-MM-dd") Date projectStartTime |
| | | ) { |
| | | return AjaxResult.success(dateCenterService.sumPlacementStreet(projectStreet, projectStartTime)); |
| | | } |
| | | |
| | | @PostMapping(UrlConstants.STATE_DATA_CENTER_PLACEMENT_STATISTICS_PAGE) |
| | | public AjaxResult<PageInfo<TransitionPageVO>> stateDataCenterPlacementStatisticsPage(@RequestBody PlacementStatisticsBO placementStatisticsBO) throws ParseException { |
| | | public AjaxResult<PageInfo<TransitionPageVO>> stateDataCenterPlacementStatisticsPage( |
| | | @RequestBody PlacementStatisticsBO placementStatisticsBO |
| | | ) throws ParseException { |
| | | return AjaxResult.success(dateCenterService.placementStatisticsPage(placementStatisticsBO)); |
| | | } |
| | | |
| | | //项目资金 |
| | | @GetMapping(UrlConstants.STATE_DATA_CENTER_ASSET_SUM_MONEY) |
| | | public AjaxResult<AssetMoneyVO> stateCenterAssetSumMoney(@RequestParam(required = false) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") Date projectStartTime) { |
| | | public AjaxResult<AssetMoneyVO> stateCenterAssetSumMoney( |
| | | @RequestParam(required = false) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") Date projectStartTime |
| | | ) { |
| | | return AjaxResult.success(dateCenterService.sumAssetMoney(projectStartTime)); |
| | | } |
| | | |
| | | @GetMapping(UrlConstants.STATE_DATA_CENTER_ASSET_SUM_MONEY_GRAPH) |
| | | public AjaxResult<List<AssetGraphVO>> stateCenterAssetSumGraph(@RequestParam(required = false) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") Date projectStartTime) { |
| | | public AjaxResult<List<AssetGraphVO>> stateCenterAssetSumGraph( |
| | | @RequestParam(required = false) |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") Date projectStartTime |
| | | ) { |
| | | return AjaxResult.success(dateCenterService.listAssetGraph(projectStartTime)); |
| | | } |
| | | } |