|
@@ -78,13 +78,13 @@ public class KlConceptStaticFacade {
|
|
|
* @return
|
|
|
*/
|
|
|
public StaticKnowledgeDTO getStaticKnowledge(StaticKnowledgeVO staticKnowledgeVO) {
|
|
|
- StaticKnowledgeDTO staticKnowledgeDTO = new StaticKnowledgeDTO();
|
|
|
-
|
|
|
RespDTO<StaticKnowledgeDTO> respDTO = cdssCoreClient.getStaticKnowledge(staticKnowledgeVO);
|
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
- staticKnowledgeDTO = respDTO.data;
|
|
|
+ StaticKnowledgeDTO staticKnowledgeDTO = respDTO.data;
|
|
|
+ return staticKnowledgeDTO;
|
|
|
+ } else {
|
|
|
+ return null;
|
|
|
}
|
|
|
- return staticKnowledgeDTO;
|
|
|
}
|
|
|
|
|
|
/**
|