Commit b983fb5b authored by alex yao's avatar alex yao

fix: 知识库回答

parent 0cd9e782
...@@ -521,7 +521,7 @@ public class AgentApplicationInfoServiceImpl implements AgentApplicationInfoServ ...@@ -521,7 +521,7 @@ public class AgentApplicationInfoServiceImpl implements AgentApplicationInfoServ
for (Integer kdId : kdIds) { for (Integer kdId : kdIds) {
BizKnowledgeDocumentEntity knowledgeDocumentEntity = bizKnowledgeDocumentService.get(kdId); BizKnowledgeDocumentEntity knowledgeDocumentEntity = bizKnowledgeDocumentService.get(kdId);
if (null == knowledgeDocumentEntity || CommonConstant.YOrN.N.equals(knowledgeDocumentEntity.getIsEnable())) { if (null == knowledgeDocumentEntity) {
continue; continue;
} }
knowledgeIds.add(knowledgeDocumentEntity.getKnowledgeId()); knowledgeIds.add(knowledgeDocumentEntity.getKnowledgeId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment