|
@@ -241,9 +241,9 @@ public class ConceptInfoFacade extends ConceptInfoServiceImpl {
|
|
|
public StaticKnowledgeDTO getStaticKnowledge(StaticKnowledgeVO staticKnowledgeVO) {
|
|
|
StaticKnowledgeDTO staticKnowledgeDTO = new StaticKnowledgeDTO();
|
|
|
List<DictionaryInfoDTO> dicStaticTypeList = dictionaryFacade.getListByGroupType(10);
|
|
|
- Map<Integer, String> dicStaticTypeValNameMap =
|
|
|
+ Map<String, String> dicStaticTypeValNameMap =
|
|
|
EntityUtil.makeMapWithKeyValue(dicStaticTypeList, "val", "name");
|
|
|
- String typeName = dicStaticTypeValNameMap.get(staticKnowledgeVO.getType());
|
|
|
+ String typeName = dicStaticTypeValNameMap.get(staticKnowledgeVO.getType().toString());
|
|
|
List<DictionaryInfoDTO> dicList = dictionaryFacade.getListByGroupType(8);
|
|
|
typeName = convertTypeName(typeName, 1, dicList);
|
|
|
|