| | |
| | | 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; |
| | |
| | | @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); |
| | | } |
| | | |
| | | /** |
| | |
| | | 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); |
| | | // } |
| | | } |
| | | |