From 5daff3511eb027b6ad22c70c4de080cadc6def47 Mon Sep 17 00:00:00 2001
From: yanghb <yangbhwork@163.com>
Date: 星期三, 18 十二月 2024 16:52:42 +0800
Subject: [PATCH] feat: 格式化
---
land-admin/src/main/java/com/zzg/web/controller/state/StateDataCenterController.java | 32 +++++++++++++++++++++-----------
1 files changed, 21 insertions(+), 11 deletions(-)
diff --git a/land-admin/src/main/java/com/zzg/web/controller/state/StateDataCenterController.java b/land-admin/src/main/java/com/zzg/web/controller/state/StateDataCenterController.java
index 39e2a3f..e226abf 100644
--- a/land-admin/src/main/java/com/zzg/web/controller/state/StateDataCenterController.java
+++ b/land-admin/src/main/java/com/zzg/web/controller/state/StateDataCenterController.java
@@ -22,10 +22,12 @@
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));
}
@@ -36,7 +38,8 @@
//安置情况
@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
@@ -48,25 +51,32 @@
@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));
}
}
--
Gitblit v1.7.1