|
|
|
@ -96,7 +96,7 @@ public class FileAnalysisTask {
|
|
|
|
|
taskClient.updateTask(task);
|
|
|
|
|
// 任务自动分配(未开启就不分配)
|
|
|
|
|
clueService.dynamicTaskDistribution(taskId, uploadType);
|
|
|
|
|
taskClient.sendMessage("上传成功", clueRecords.get(0).getCreateBy(), "create");
|
|
|
|
|
taskClient.sendMessage("文件上传成功", clueRecords.get(0).getCreateBy(), "create");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
//创建任务
|
|
|
|
@ -106,7 +106,7 @@ public class FileAnalysisTask {
|
|
|
|
|
BaseExcelListenerDto baseExcelListenerDto = new BaseExcelListenerDto(userId, uploadType, taskId, oneFileName);
|
|
|
|
|
clueService.saveTask(baseExcelListenerDto);
|
|
|
|
|
}
|
|
|
|
|
taskClient.sendMessage("上传成功", clueRecords.get(0).getCreateBy(), "create");
|
|
|
|
|
taskClient.sendMessage("文件上传成功", clueRecords.get(0).getCreateBy(), "create");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|