|
@@ -430,6 +430,19 @@ public class ConceptFacade extends ConceptServiceImpl {
|
|
concept.setGmtModified(now);
|
|
concept.setGmtModified(now);
|
|
concept.setModifier(currentUser);
|
|
concept.setModifier(currentUser);
|
|
updateById(concept);
|
|
updateById(concept);
|
|
|
|
+
|
|
|
|
+ if(lexicon.getIsHasCommon()==1){
|
|
|
|
+ QueryWrapper<ConceptCommon> conceptCommonQe = new QueryWrapper<>();
|
|
|
|
+ conceptCommonQe.eq("concept_id", conceptId);
|
|
|
|
+ ConceptCommon conceptCommon = conceptCommonFacade.getOne(conceptCommonQe);
|
|
|
|
+ if(conceptCommon==null){
|
|
|
|
+ conceptCommon = new ConceptCommon();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ BeanUtil.copyProperties(addConceptInfoVO, conceptCommon);
|
|
|
|
+
|
|
|
|
+ conceptCommonFacade.saveOrUpdate(conceptCommon);
|
|
|
|
+ }
|
|
|
|
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|