青羊经侦大队-数据平台
baizonghao
2023-04-23 028bd9c7cccb1ba7569636c631fa3c83a16d3e48
src/main/java/com/example/jz/controller/ReportController.java
@@ -13,7 +13,9 @@
import com.example.jz.modle.entity.Message;
import com.example.jz.modle.entity.Report;
import com.example.jz.modle.entity.User;
import com.example.jz.modle.vo.NewCauseVo;
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;
@@ -78,6 +80,20 @@
    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);
    }
    @GetMapping("/rejectCauseList")
    public R<NewCauseVo> rejectCauseList(@RequestParam Integer id){
        NewCauseVo res = reportService.rejectCauseList(id);
        return R.ok(res);
    }
    /**
     * 报案
@@ -164,11 +180,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);
//    }
}