fix: repair review detail attachment query

This commit is contained in:
wren
2026-05-06 10:01:21 +08:00
parent 0d8f13ab3d
commit 6ff1fb1cf6
@@ -1543,7 +1543,7 @@ class DocumentServiceImpl(IDocumentService):
AND deleted_at IS NULL
AND is_active = true
AND file_role = 'attachment'
ORDER BY rr.id ASC
ORDER BY id ASC
"""
),
{"document_id": int(detailRow["document_id"])},