修改标准拆分字段校验

This commit is contained in:
梁琦涛
2024-08-28 10:05:33 +08:00
parent c8dfafab3a
commit a5e765f072
@@ -3329,8 +3329,8 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
String[] treePathList = value.split(",");
for (String treePath : treePathList) {
List<SysDictItem> path =
sysDictItemList.stream().filter(o -> ("/" + o.getLevelPath() + "/")
.contains("/" + treePath + "/")).collect(Collectors.toList());
sysDictItemList.stream().filter(o -> treePath.equals(o.getLevelPath()))
.collect(Collectors.toList());
if (!path.isEmpty()){
if (path.size() > 1) {
if(MessageUtils.getLanguage().getValue().equals(LanguageEnum.CN.getValue())) {