bugfix:修复修改内容不生效的问题

release_1.0.0
liu 8 months ago
parent 5c865858cf
commit 9c99d93488

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

Loading…
Cancel
Save