|
@@ -9,11 +9,11 @@ import com.persagy.apm.energy.report.monthly.outline.model.ConvertReportOutlineT
|
|
|
import com.persagy.apm.energy.report.monthly.outline.model.ReportOutline;
|
|
|
import com.persagy.apm.energy.report.monthly.outline.model.dto.AddReportOutlineDTO;
|
|
|
import com.persagy.apm.energy.report.monthly.outline.model.dto.PageQueryReportOutlineDTO;
|
|
|
-import com.persagy.apm.energy.report.monthly.outline.model.dto.QueryReportOutlineDTO;
|
|
|
+import com.persagy.apm.energy.report.monthly.outline.model.vo.ResponseReportBelongItemVO;
|
|
|
import com.persagy.apm.energy.report.monthly.outline.model.vo.ResponseReportOutlineListItemVO;
|
|
|
+import com.persagy.apm.energy.report.monthly.outline.model.vo.ResponseReportTypeVO;
|
|
|
import com.persagy.apm.energy.report.monthly.outline.service.IReportOutlineService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
-import io.swagger.annotations.ApiModelProperty;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.assertj.core.util.Lists;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -24,7 +24,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.validation.Valid;
|
|
|
-import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* 报告概要控制层
|
|
@@ -102,14 +101,21 @@ public class ReportOutlineController {
|
|
|
|
|
|
@ApiOperation(value = "查询用户可选项目范围")
|
|
|
@PostMapping("/queryAvailableProjects")
|
|
|
- public CommonResult<PageList<ResponseReportOutlineListItemVO>> queryAvailableProjects() {
|
|
|
+ public CommonResult<PageList<ResponseReportBelongItemVO>> queryAvailableProjects() {
|
|
|
// TODO: 2021/5/17 查询用户可选项目范围
|
|
|
return ResultHelper.multi(Lists.newArrayList());
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "查询用户可选分区范围")
|
|
|
@PostMapping("/queryAvailableAreas")
|
|
|
- public CommonResult<PageList<ResponseReportOutlineListItemVO>> queryAvailableAreas() {
|
|
|
+ public CommonResult<PageList<ResponseReportBelongItemVO>> queryAvailableAreas() {
|
|
|
+ // TODO: 2021/5/17 查询用户可选分区范围
|
|
|
+ return ResultHelper.multi(Lists.newArrayList());
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "查询用户可选报告类型")
|
|
|
+ @PostMapping("/queryReportType")
|
|
|
+ public CommonResult<PageList<ResponseReportTypeVO>> queryReportType() {
|
|
|
// TODO: 2021/5/17 查询用户可选分区范围
|
|
|
return ResultHelper.multi(Lists.newArrayList());
|
|
|
}
|