feat: 新增FAQ条目批量更新排除功能,支持在ByTag操作中排除指定ID列表

This commit is contained in:
wizardchen
2025-12-25 10:41:41 +08:00
committed by lyingbug
parent 557081c8f8
commit 87ead9dec4
5 changed files with 18 additions and 4 deletions
+1 -1
View File
@@ -3570,7 +3570,7 @@ func (s *knowledgeService) UpdateFAQEntryFieldsBatch(ctx context.Context,
// Update all chunks with this tag
affectedIDs, err := s.chunkRepo.UpdateChunkFieldsByTagID(
ctx, tenantID, kb.ID, tagID,
update.IsEnabled, setFlags, clearFlags,
update.IsEnabled, setFlags, clearFlags, req.ExcludeIDs,
)
if err != nil {
return err