fix: 78188 企标--导入--导入的压缩包下有多个文件夹提示语错误
This commit is contained in:
@@ -87,4 +87,6 @@ public class ResultCommon {
|
||||
//该展示区域有关联数据,无法删除!
|
||||
public static final String TAG_ERROR_2 = "tag.error.2";
|
||||
|
||||
public static final String FOLDER_ONLY_ONE = "folder.only.one";
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -1418,7 +1418,7 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
|
||||
int length = Objects.requireNonNull(fileTemp.listFiles()).length;
|
||||
if (length > 2) {
|
||||
FileUnZip.deleteDir(saveDirectory);
|
||||
throw new JeroBootException(MessageUtils.getMessage(ResultCommon.IMPORT_TEMPLATE_ERROR));
|
||||
throw new JeroBootException(MessageUtils.getMessage(ResultCommon.FOLDER_ONLY_ONE));
|
||||
}
|
||||
File fileNew = new File(zipEntryName);
|
||||
List<File> fileList = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user