文档库--列表树形结构显示

This commit is contained in:
zhn
2022-03-31 03:02:40 +08:00
parent 2660c092da
commit edc853ac86
@@ -2487,11 +2487,15 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
} }
} }
if (onlCgformFieldList.size() != 0 && StringUtils.isNotBlank(onlCgformFieldList.get(0).getDictField())) { if (onlCgformFieldList.size() != 0 && StringUtils.isNotBlank(onlCgformFieldList.get(0).getDictField())) {
if (CutEnum.CN.getValue().equals(cut)) { if(FieldTypeEnum.PULL_SINGLE.getValue().equals(onlCgformFieldList.get(0).getFieldShowType())
entry.setValue(StringUtils.join(dictItemsCh, ",")); || FieldTypeEnum.PULL_SINGLE.getValue().equals(onlCgformFieldList.get(0).getFieldShowType())){
} else { if (CutEnum.CN.getValue().equals(cut)) {
entry.setValue(StringUtils.join(dictItemsEn, ",")); entry.setValue(StringUtils.join(dictItemsCh, ","));
} else {
entry.setValue(StringUtils.join(dictItemsEn, ","));
}
} }
} }
} }