| | |
| | | fun getChargeResult(@RequestBody areaVo: AreaVo): ChargeInfoVo = problemlistService.getChargeResult(areaVo) |
| | | |
| | | @GetMapping("/getProblemsByScene") |
| | | fun getProblemsByScene(@RequestParam(value = "sceneId", required = true) sceneId: String, @RequestParam date: String): List<ProblemlistVo> = problemlistService.getProblemByScene(sceneId, date) |
| | | fun getProblemsByScene(@RequestParam(value = "sceneId", required = true) sceneId: String, @RequestParam date: String): List<ProblemlistVo> |
| | | = problemlistService.getProblemByScene(sceneId, date) |
| | | |
| | | @GetMapping("/month_anlysis") |
| | | fun getMonthProblemsById(@RequestParam(value = "taskId", required = true) taskId: String, |
| | |
| | | @RequestParam("problemVo") problemVo: String, |
| | | @RequestPart("images") files: Array<MultipartFile> |
| | | ) = problemlistService.newProblem(problemVo, files) |
| | | |
| | | @ApiOperation(value = "整改一个问题", notes = "简化上传所需问题信息,将大部分操作交由后台完成") |
| | | @PostMapping("/changeProblem") |
| | | fun changeProblem( |
| | | @RequestParam("problemId") problemId: String, |
| | | @RequestPart("images") files: Array<MultipartFile> |
| | | ) = problemlistService.changeProblem(problemId, files) |
| | | |
| | | @ApiOperation(value = "通过任务查找问题", notes = "简化上传所需问题信息,将大部分操作交由后台完成") |
| | | @GetMapping("/subtask") |
| | | fun getBySubTask( |
| | | @RequestParam("stGuid") stGuid: String, |
| | | ) = problemlistService.getBySubTask(stGuid) |
| | | } |