| | |
| | | |
| | | import com.flightfeather.uav.lightshare.service.RealTimeDataService |
| | | import io.swagger.annotations.Api |
| | | import io.swagger.annotations.ApiOperation |
| | | import io.swagger.annotations.ApiParam |
| | | import org.springframework.web.bind.annotation.* |
| | | import org.springframework.web.multipart.MultipartFile |
| | |
| | | fun importData( |
| | | @RequestPart("excel") file: MultipartFile |
| | | ) = realTimeDataService.importData(file) |
| | | |
| | | @ApiOperation(value = "导入静安区生态环境监测站的走行数据") |
| | | @PostMapping("/import/jinan") |
| | | fun importJinanData( |
| | | @RequestPart("excel") file: MultipartFile |
| | | ) = realTimeDataService.importJinanData(file) |
| | | } |