青羊经侦大队-数据平台
wl
2022-12-23 b680856aa7a5c7225fae1ea81f2706f10437f373
src/main/java/com/example/jz/controller/ReportController.java
@@ -13,14 +13,11 @@
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponse;
import lombok.SneakyThrows;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
import java.io.Serializable;
import java.util.Date;
/**
 * 报案表(Report)表控制层
@@ -91,6 +88,7 @@
    @PutMapping("/updateReport")
    @ApiResponse(message = "执行成功", code = 200)
    public R updateReport(@RequestBody Report report) {
        report.setPic(null);
        reportService.updateById(report);
        return R.ok();
    }