青羊经侦大队-数据平台
baizonghao
2023-03-21 e0670c59089d8461b13b7f910fd538e9a5a6edef
src/main/java/com/example/jz/controller/ReportController.java
@@ -14,6 +14,7 @@
import com.example.jz.modle.entity.Report;
import com.example.jz.modle.entity.User;
import com.example.jz.modle.vo.ReportListVo;
import com.example.jz.modle.vo.ReportVXVO;
import com.example.jz.service.GroupUserService;
import com.example.jz.service.MessageService;
import com.example.jz.service.ReportService;
@@ -77,6 +78,13 @@
    @ApiOperation(value = "通过主键查询单条数据")
    public R<ReportListVo> selectOne(@PathVariable Serializable id) {
        return R.ok(reportService.getReportListVoById(id));
    }
    @GetMapping("/rejectReport/{id}")
    @ApiOperation(value = "修改驳回后接口")
    public  R<ReportVXVO> getOne(@PathVariable Integer id){
        ReportVXVO res = reportService.getRejectReportById(id);
        return R.ok(res);
    }
    /**
@@ -164,11 +172,11 @@
        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);
    }
//    @ApiOperation(httpMethod = "POST", value = "案件台-报案人员-报案材料导出")
//    @PostMapping("/exportReporter")
//    @ApiResponse(message = "执行成功", code = 200)
//    public void exportReport(@RequestParam(value = "id") Integer id, HttpServletResponse response) {
//        reportService.exportReporter(id, response);
//    }
}