niohe·erbao пре 1 година
родитељ
комит
d01a2ea267
3 измењених фајлова са 8 додато и 3 уклоњено
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/dashboard/controller/DashboardController.java
  2. +5
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/dashboard/manage/DashboardProjectManage.java
  3. +2
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/dashboard/model/basic/QueryTimeYearBO.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/dashboard/controller/DashboardController.java Прегледај датотеку

@@ -25,7 +25,7 @@ import javax.validation.Valid;
*/

@RestController
@RequestMapping("/api/v1/dashboard/")
@RequestMapping("/api/v1/dashboard")
@Validated
@RequiredArgsConstructor
@Api(value = "DashboardController", tags = "驾驶舱相关接口")


+ 5
- 2
pmapi/src/main/java/com/ningdatech/pmapi/dashboard/manage/DashboardProjectManage.java Прегледај датотеку

@@ -25,7 +25,6 @@ public class DashboardProjectManage {

private static String timeFormat = "%s-01-01 00:00:00";


/**
* 查询年份BO 装配
*
@@ -56,17 +55,21 @@ public class DashboardProjectManage {
}

public DashboardInvestmentSummaryVO getInvestmentSummary(QueryYearPO queryYearPO) {
Integer year = queryYearPO.getYear();
QueryTimeYearBO queryTimeYearBO = getQueryTimeYearBO(queryYearPO.getYear());

return null;
}


public DashboardProjectCntSummaryVO getProjectCntSummary(QueryYearPO queryYearPO) {
QueryTimeYearBO queryTimeYearBO = getQueryTimeYearBO(queryYearPO.getYear());

return null;
}

public DashboardProjectSummaryVO getProjectSummary(QueryYearPO queryYearPO) {
QueryTimeYearBO queryTimeYearBO = getQueryTimeYearBO(queryYearPO.getYear());

return null;
}
}

+ 2
- 0
pmapi/src/main/java/com/ningdatech/pmapi/dashboard/model/basic/QueryTimeYearBO.java Прегледај датотеку

@@ -1,5 +1,6 @@
package com.ningdatech.pmapi.dashboard.model.basic;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@@ -11,6 +12,7 @@ import java.time.LocalDateTime;
*/

@Data
@ApiModel("查询年份起止BO")
public class QueryTimeYearBO {

@ApiModelProperty("开始年份时间")


Loading…
Откажи
Сачувај