| | |
| | | |
| | | @ApiOperation("更新一个问题") |
| | | @PostMapping("/updateProblem") |
| | | fun updateDeviceLocation( |
| | | fun updateProblem( |
| | | @ApiParam("问题信息json") @RequestParam("problem") problem: String, |
| | | @ApiParam("删除的问题图片id") @RequestParam("deleteImg") deleteImg: List<String>, |
| | | @ApiParam("问题图片") @RequestPart("images") images: Array<MultipartFile>, |
| | |
| | | @RequestPart("images") files: Array<MultipartFile>, |
| | | ) = problemlistService.changeProblem(problemId, files) |
| | | |
| | | @ApiOperation("更新一个问题整改") |
| | | @PostMapping("/updateChange") |
| | | fun updateChange( |
| | | @ApiParam("问题id") @RequestParam problemId: String, |
| | | @ApiParam("删除的整改图片id") @RequestParam("deleteImg") deleteImg: List<String>, |
| | | @ApiParam("新增整改图片") @RequestPart("images") images: Array<MultipartFile>, |
| | | ) = resPack { problemlistService.updateChange(problemId, deleteImg, images) } |
| | | |
| | | @ApiOperation(value = "通过任务查找问题") |
| | | @GetMapping("/subtask") |
| | | fun getBySubTask( |