whyczh
2022-01-19 f83c4ad4117737869c5c189e48c9f99a7b16a091
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.whyc.controller;
 
import com.whyc.dto.Response;
import com.whyc.dto.paramter.PwrdevReportParam;
import com.whyc.service.PwrdevDataHistoryService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
import javax.annotation.Resource;
@RestController
@Api(tags = "报表统计-查询电源信息历史数据")
@RequestMapping("pwrdevDataHistory")
public class PwrdevDataHistoryController {
    @Resource
    private PwrdevDataHistoryService service;
    @PostMapping("/getDataHistory")
    @ApiOperation(value = "查询电源信息历史数据" , notes = "PwrdevDataHistoryAction_power_getPwrdevDataHistory")
    public Response getDataHistory(@RequestBody PwrdevReportParam pwrDevReportParam){
        return service.searchByCondition(pwrDevReportParam);
    }
 
}