青羊经侦大队-数据平台
baizonghao
2023-04-23 4a9a9fa60f52be1e7c91f01df54b3cbae8c11d6c
src/main/java/com/example/jz/controller/ReportController.java
@@ -13,6 +13,7 @@
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;
@@ -86,6 +87,13 @@
        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);
    }
    /**
     * 报案
@@ -172,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);
//    }
}