【fix】 修复文件下载路径问题
This commit is contained in:
parent
9b4cc4419f
commit
723a9340b9
@ -1442,7 +1442,7 @@ public class DataImportNewServiceImpl implements DataImportNewService {
|
|||||||
|
|
||||||
// 创建从开始年份到当前年份的子目录
|
// 创建从开始年份到当前年份的子目录
|
||||||
for (int year = beginYear; year <= currentYear; year++) {
|
for (int year = beginYear; year <= currentYear; year++) {
|
||||||
File yearDir = new File(Const.SERVER_FILE_PATH + "/" + api + "—" + year);
|
File yearDir = new File(Const.SERVER_FILE_PATH + "/" + api + "-" + year);
|
||||||
if (!yearDir.exists()) {
|
if (!yearDir.exists()) {
|
||||||
yearDir.mkdir();
|
yearDir.mkdir();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user