diff --git a/backend/src/main/java/io/dataease/service/dataset/DataSetTableTaskService.java b/backend/src/main/java/io/dataease/service/dataset/DataSetTableTaskService.java index a0b34fe714..57cdbe57a7 100644 --- a/backend/src/main/java/io/dataease/service/dataset/DataSetTableTaskService.java +++ b/backend/src/main/java/io/dataease/service/dataset/DataSetTableTaskService.java @@ -335,6 +335,10 @@ public class DataSetTableTaskService { public void execTask(DatasetTableTask datasetTableTask) throws Exception { execNow(datasetTableTask); + if(datasetTableTask.getRate().equalsIgnoreCase(ScheduleType.SIMPLE.toString())){ + //TODO add + scheduleService.addSchedule(datasetTableTask); + } if (!datasetTableTask.getRate().equalsIgnoreCase(ScheduleType.SIMPLE.toString())) { scheduleService.fireNow(datasetTableTask); } diff --git a/frontend/src/views/dataset/data/UpdateInfo.vue b/frontend/src/views/dataset/data/UpdateInfo.vue index 981051a2e1..a44ebedf1f 100644 --- a/frontend/src/views/dataset/data/UpdateInfo.vue +++ b/frontend/src/views/dataset/data/UpdateInfo.vue @@ -162,7 +162,7 @@ class="de-card-dropdown" >