|
@@ -18,6 +18,7 @@ import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import java.io.File;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
@@ -51,10 +52,10 @@ public class AsyncTaskServiceImpl extends ServiceImpl<AsyncTaskDao, AsyncTaskEnt
|
|
|
String server = sysProperty.getServer();
|
|
|
for (AsyncTaskVO record : records) {
|
|
|
if (StringUtils.isNotEmpty(record.getImportFilePath())) {
|
|
|
- record.setImportFilePath(server + record.getImportFilePath());
|
|
|
+ record.setImportFilePath(server + File.separator + record.getImportFilePath());
|
|
|
}
|
|
|
if (StringUtils.isNotEmpty(record.getExportFilePath())) {
|
|
|
- record.setExportFilePath(server + record.getExportFilePath());
|
|
|
+ record.setExportFilePath(server + File.separator + record.getExportFilePath());
|
|
|
}
|
|
|
}
|
|
|
|