| | |
| | | @RequestPart("excel") file: MultipartFile, |
| | | ) = realTimeDataService.importData(file) |
| | | |
| | | @ApiOperation(value = "导入静安区生态环境监测站的走行数据") |
| | | @ApiOperation(value = "导入静安区生态环境监测站的走航数据") |
| | | @PostMapping("/import/jinan") |
| | | fun importJinanData( |
| | | @ApiParam("设备id") @RequestParam("code") code: String, |
| | |
| | | @ApiOperation(value = "下载静安区生态环境监测站走行数据导入模板") |
| | | @PostMapping("/import/jinan/download/template") |
| | | fun downloadTemplate(@ApiIgnore response: HttpServletResponse) = realTimeDataService.downloadTemplate(response) |
| | | |
| | | @ApiOperation(value = "获取按照路段分割的走航数据") |
| | | @GetMapping("/sec/segment") |
| | | fun getSegmentData( |
| | | @ApiParam("任务id") @RequestParam("missionCode") missionCode: String, |
| | | ) = resPack { realTimeDataService.getSegmentData(missionCode) } |
| | | } |