|
@@ -24,6 +24,7 @@ public class scheduleTaskService {
|
|
private final ExcuteUploadSettingService excuteUploadSettingService;
|
|
private final ExcuteUploadSettingService excuteUploadSettingService;
|
|
//执行Excel导入任务
|
|
//执行Excel导入任务
|
|
public void executeExcelTask(Task task) throws IOException {
|
|
public void executeExcelTask(Task task) throws IOException {
|
|
|
|
+
|
|
//获得文件路径
|
|
//获得文件路径
|
|
String filePath=task.getUrl();
|
|
String filePath=task.getUrl();
|
|
//检查文件合法性
|
|
//检查文件合法性
|