whyclxw
2024-11-22 db47e45574b36a3d4e3760cc359acd86468ee3c5
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.whyc.controller;
 
import com.whyc.service.EchartPictureDowloadService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
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;
 
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
 
@Api(tags = "在线监测-实时监控")
@RestController
@RequestMapping("EchartPictureDowload")
public class EchartPictureDowloadController {
 
    @Autowired
    private EchartPictureDowloadService service;
 
    @ApiOperation(value = "导出excel")
    @PostMapping(value = "exportExcel")
    public void exportCorpLoanDemand( HttpServletRequest req, HttpServletResponse resp) throws Exception {
        service.exportExcel(req,resp);
    }
 
}