青羊经侦大队-数据平台
wl
2022-07-29 53d6e1f54ec17280a4a20e8701787e814e74f135
src/main/java/com/example/jz/controller/ReportController.java
@@ -18,7 +18,6 @@
import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
import java.io.Serializable;
import java.util.Date;
/**
 * 报案表(Report)表控制层
@@ -64,13 +63,12 @@
    /**
     * 报案
     *
     * @param AddReportDto 实体对象
     * @param addReportDto 实体对象
     * @return 新增结果
     */
    @PostMapping
    @ApiOperation(value = "报案")
    public R<Boolean> insert(@RequestBody AddReportDto addReportDto) {
        return R.ok(reportService.addReport(addReportDto));
    }
@@ -86,7 +84,7 @@
        return R.ok(reportService.audit(report));
    }
    @ApiOperation(httpMethod = "PUT", value = "报案人编辑")
    @ApiOperation(httpMethod = "PUT", value = "案件台-报案人员-编辑")
    @PutMapping("/updateReport")
    @ApiResponse(message = "执行成功", code = 200)
    public R updateReport(@RequestBody Report report) {
@@ -94,7 +92,7 @@
        return R.ok();
    }
    @ApiOperation(httpMethod = "DELETE", value = "报案人人员退群")
    @ApiOperation(httpMethod = "DELETE", value = "案件台-报案人员-退群")
    @DeleteMapping("/leaveGroup")
    @ApiResponse(message = "执行成功", code = 200)
    public R leaveGroup(@RequestParam(value = "id") Integer id, @RequestParam(value = "groupId") Integer groupId) {
@@ -102,7 +100,7 @@
        return R.ok();
    }
    @ApiOperation(httpMethod = "DELETE", value = "删除报案人")
    @ApiOperation(httpMethod = "DELETE", value = "案件台-报案人员-删除")
    @DeleteMapping("/deleteReporter")
    @ApiResponse(message = "执行成功", code = 200)
    public R deleteReporter(@RequestParam(value = "id") Integer id) {
@@ -110,7 +108,7 @@
        return R.ok();
    }
    @ApiOperation(httpMethod = "POST", value = "导出材料")
    @ApiOperation(httpMethod = "POST", value = "案件台-报案人员-报案材料导出")
    @PostMapping("/exportReporter")
    @ApiResponse(message = "执行成功", code = 200)
    public void exportReport(@RequestParam(value = "id") Integer id, HttpServletResponse response) {