| | |
| | | public Result getMonitorData(@PathVariable("name") String name){ |
| | | List<SuYuanMonitorData> list = suYuanService.getMonitorData(name); |
| | | return Result.OK(list); |
| | | } |
| | | |
| | | @ApiOperation(value = "更新Vocs名称", notes = "更新Vocs名称") |
| | | @ApiOperationSupport(order = 7) |
| | | @GetMapping("/updateVocsName") |
| | | public Result updateVocsName(@RequestParam(value = "date", required = true) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") Date date, |
| | | @RequestParam(value = "id", required = true) String id, |
| | | @RequestParam(value = "vocsName", required = true) String vocsName |
| | | ) { |
| | | return Result.OK(suYuanService.updateVocsName(date, id, vocsName)); |
| | | } |
| | | } |