Переглянути джерело

修改到docker外运行环境

tags/v1.0.0^2
林万龙 4 роки тому
джерело
коміт
f9fac1dd17
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      src/main/java/com/telpo/dipperposition/service/impl/DipperAstPosAsyncTaskServiceImpl.java

+ 1
- 1
src/main/java/com/telpo/dipperposition/service/impl/DipperAstPosAsyncTaskServiceImpl.java Переглянути файл

@@ -57,7 +57,7 @@ public class DipperAstPosAsyncTaskServiceImpl implements IDipperAstPosAsyncTaskS
try {
//appCsvPath ="/home/data/dipperposition" +this.centerProvinceFilePath;
File f = new File(this.getClass().getResource("").getPath());
appCsvPath = f.getAbsolutePath()+this.centerProvinceFilePath;
appCsvPath = f.getPath()+this.centerProvinceFilePath;
log.debug(appCsvPath);
} catch (Exception e) {
log.debug("cannot find path");


Завантаження…
Відмінити
Зберегти