@@ -25,6 +25,7 @@ public class PatentToDbTaskJob extends QuartzJobBean {
@Override
public void executeInternal(JobExecutionContext context) throws JobExecutionException {
+
//1获得任务信息
// 2根据不同的任务类型,选择不同方法上传任务
@@ -24,6 +24,7 @@ public class scheduleTaskService {
private final ExcuteUploadSettingService excuteUploadSettingService;
//执行Excel导入任务
public void executeExcelTask(Task task) throws IOException {
//获得文件路径
String filePath=task.getUrl();
//检查文件合法性