Commit 458ece41 by 陶光胜

报表中心

parent b5bb884c
......@@ -88,9 +88,11 @@ public class HiveDataDownloadApiServiceImpl implements HiveDataDownloadApiServic
downloadTaskPOJO.setCanDownload(!DownloadReportDataTypeEnum.COMPLETE_DATA.getCode().equals(hiveDataDownloadDTO.getDataType()));
downloadTaskPOJO.setDesenField(hiveDataDownloadDTO.getDesenField());
downloadTaskPOJO.setExcelExtension(hiveDataDownloadDTO.getExcelExtension());
downloadTaskPOJO.setTableName(hiveDataDownloadDTO.getSql().substring(hiveDataDownloadDTO.getSql().toLowerCase().indexOf("from")+4, hiveDataDownloadDTO.getSql().toLowerCase().indexOf("where")));
taskList.add(downloadTaskPOJO);
}
private void runDownloadTask(Integer interval) {
downloadService.scheduleAtFixedRate(new Runnable() {
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment