zhangf
2024-07-26 698995469a3fcdc3164fc486d18bdbe059b6c92e
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
27
28
29
30
31
package com.gkhy.fourierSpecialGasMonitor.controller;
 
import com.gkhy.fourierSpecialGasMonitor.commons.domain.Result;
import com.gkhy.fourierSpecialGasMonitor.commons.model.PageQuery;
import com.gkhy.fourierSpecialGasMonitor.entity.query.FindDailyReportPageQuery;
import com.gkhy.fourierSpecialGasMonitor.entity.query.FindRegionPageQuery;
import com.gkhy.fourierSpecialGasMonitor.service.MonitorDailyReportService;
import org.springframework.beans.factory.annotation.Autowired;
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;
 
/**
 * @author Mr.huang
 * @decription
 * @date 2023/8/9 15:42
 */
@RestController
@RequestMapping("/dailyReport")
public class MonitorDailyReportController {
 
    @Autowired
    private MonitorDailyReportService monitorDailyReportService;
 
    @PostMapping("/page")
    public Result findDailyReportPage(@RequestBody PageQuery<FindDailyReportPageQuery> pageQuery){
        Result result = monitorDailyReportService.findDailyReportPage(pageQuery);
        return result;
    }
}