青羊经侦大队-数据平台
wl
2022-07-19 9c6150c879432b21816618a256c166dc3801b1a2
src/main/java/com/example/jz/controller/ReportController.java
@@ -1,5 +1,6 @@
package com.example.jz.controller;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.api.ApiController;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
@@ -14,6 +15,7 @@
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
import java.io.Serializable;
import java.util.Date;
@@ -25,7 +27,7 @@
 */
@RestController
@RequestMapping("report")
@Api(value = "报案接口", tags = "报案接口")
@Api(value = "案件区-案件人员", tags = "案件区-案件人员")
public class ReportController extends ApiController {
    /**
     * 服务对象
@@ -109,5 +111,12 @@
        reportService.removeById(id);
        return R.ok();
    }
    @ApiOperation(httpMethod = "POST", value = "导出材料")
    @PostMapping("/exportReporter")
    @ApiResponse(message = "执行成功", code = 200)
    public void exportReport(@RequestParam(value = "id") Integer id, HttpServletResponse response) {
        reportService.exportReporter(id, response);
    }
}