| | |
| | | import com.flightfeather.uav.lightshare.bean.BaseResponse |
| | | import com.flightfeather.uav.lightshare.bean.DataImportResult |
| | | import com.flightfeather.uav.lightshare.bean.DataVo |
| | | import org.apache.poi.hssf.usermodel.HSSFWorkbook |
| | | import org.springframework.web.multipart.MultipartFile |
| | | import javax.servlet.http.HttpServletResponse |
| | | |
| | | interface RealTimeDataService { |
| | | |
| | |
| | | fun getNextData(deviceCode: String, updateTime: String, page: Int?, perPage: Int?): BaseResponse<List<DataVo>> |
| | | |
| | | fun importData(file: MultipartFile): BaseResponse<DataImportResult> |
| | | |
| | | fun outToWorkbook(deviceCode: String, startTime: String, endTime: String): HSSFWorkbook |
| | | |
| | | fun outToExcel(deviceCode: String, startTime: String, endTime: String, response: HttpServletResponse): HttpServletResponse |
| | | } |