|
|
@ -245,6 +245,7 @@ public class KnowledgeManageServiceImpl implements KnowledgeManageService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 找到对应的content
|
|
|
|
// 找到对应的content
|
|
|
|
KnowledgeContext context = knowledgeContextService.getOptById(knowledge.getContentId()).orElse(KnowledgeContext.builder().id(reqVO.getKnowledgeId()).build());
|
|
|
|
KnowledgeContext context = knowledgeContextService.getOptById(knowledge.getContentId()).orElse(KnowledgeContext.builder().id(reqVO.getKnowledgeId()).build());
|
|
|
|
|
|
|
|
context.setContext(reqVO.getContent());
|
|
|
|
context.updateById();
|
|
|
|
context.updateById();
|
|
|
|
|
|
|
|
|
|
|
|
// 然后更新
|
|
|
|
// 然后更新
|
|
|
|