|
@@ -474,6 +474,7 @@ public class ConceptFacade extends ConceptServiceImpl {
|
|
|
}
|
|
|
|
|
|
libraryInfo.setName(i.getName());
|
|
|
+ libraryInfo.setSpell(i.getSpell());
|
|
|
libraryInfo.setRemark(i.getRemark());
|
|
|
saveOrUpdateLibraryInfoList.add(libraryInfo);
|
|
|
}
|
|
@@ -485,7 +486,6 @@ public class ConceptFacade extends ConceptServiceImpl {
|
|
|
|
|
|
for (LibraryInfo i : saveOrUpdateLibraryInfoList) {
|
|
|
i.setId(null);
|
|
|
- i.setSpell(Cn2SpellUtil.converterToFirstSpell(i.getName()));
|
|
|
i.setConceptId(conceptId);
|
|
|
i.setTypeId(lexicon.getId());
|
|
|
i.setIsConcept(0);
|
|
@@ -494,7 +494,7 @@ public class ConceptFacade extends ConceptServiceImpl {
|
|
|
}
|
|
|
libraryInfoMain.setIsConcept(1);
|
|
|
libraryInfoMain.setRemark(addConceptInfoDetailVOMain.getRemark());
|
|
|
- libraryInfoMain.setSpell(Cn2SpellUtil.converterToFirstSpell(libraryInfoMain.getName()));
|
|
|
+ libraryInfoMain.setSpell(libraryInfoMain.getSpell());
|
|
|
libraryInfoMain.setConceptId(conceptId);
|
|
|
libraryInfoMain.setGmtModified(now);
|
|
|
libraryInfoMain.setModifier(currentUser);
|
|
@@ -634,6 +634,7 @@ public class ConceptFacade extends ConceptServiceImpl {
|
|
|
AddConceptInfoDetailVO addConceptInfoDetailVO = new AddConceptInfoDetailVO();
|
|
|
addConceptInfoDetailVO.setName(nm);
|
|
|
addConceptInfoDetailVO.setType(libType);
|
|
|
+ addConceptInfoDetailVO.setSpell(Cn2SpellUtil.converterToFirstSpell(nm));
|
|
|
if (libName.equals(nm)) {
|
|
|
addConceptInfoDetailVO.setIsConcept(1);
|
|
|
addConceptInfoDetailVO.setRemark(remark);
|