This commit is contained in:
2023-09-14 21:04:08 +08:00
parent d6ee75650e
commit 47a8a0a51c

View File

@@ -196,7 +196,7 @@ public class DictionaryService extends BaseService<DictionaryEntity, DictionaryR
nd.setName(dictionary.getName());
nd.setDictType("1");
nd.setComponentType(dictionary.getComponentType());
nd.setComponentType(StringUtils.defaultIfBlank(dictionary.getComponentType(), "1"));
for (DictionaryItemEntity item : dictionary.getItem()) {
nd.addItem(item);