医院废弃物信息化管理平台
“mitao”
2025-12-24 3763145f34d7706923d55edc32f5cfbc8bc08b92
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package cn.besteam.modules.report.controller;
 
import cn.besteam.common.api.vo.Result;
import cn.besteam.modules.report.biz.SupervisionBiz;
import cn.besteam.modules.report.dto.DisposalMonthlyReportDTO;
import cn.besteam.modules.report.vo.DisposalMonthlyReportVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
import javax.servlet.http.HttpServletResponse;
 
@RestController
@RequestMapping(value = "/supervision")
@Slf4j
@Api(description = "监管报表")
public class SupervisionController {
 
    @Autowired
    private SupervisionBiz supervisionBiz;
 
 
 
    @GetMapping("/getDisposalMonthlyReport")
    @ApiOperation(value = "查询处置情况月报表")
    public Result<DisposalMonthlyReportVo> getDisposalMonthlyReport(DisposalMonthlyReportDTO dto){
        return Result.ok(supervisionBiz.getDisposalMonthlyReport(dto));
    }
 
 
 
    @GetMapping("/exportDisposalMonthlyReport")
    @ApiOperation(value = "导出处置情况月报表")
    public void exportDisposalMonthlyReport(DisposalMonthlyReportDTO dto, HttpServletResponse response){
        try {
            supervisionBiz.exportDisposalMonthlyReport(dto, response);
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}