我滴个乖乖

This commit is contained in:
zel
2025-02-20 15:20:28 +08:00
parent 4b54cca70b
commit 485cfcd6f2
2343 changed files with 495732 additions and 1022 deletions

View File

@@ -0,0 +1,20 @@
SELECT
PFR.Revision,
PF.[Id] as [Id],
PF.[PageId] as [PageId],
PF.[Name] as [Name],
PFR.[ContentType] as [ContentType],
PFR.[Size] as [Size],
PF.[CreatedDate] as [CreatedDate],
PFR.[Data] as [Data]
FROM
PageFile as PF
INNER JOIN [Page] as P
ON P.Id = PF.PageId
INNER JOIN PageFileRevision as PFR
ON PFR.PageFileId = PF.Id
WHERE
P.Navigation = @PageNavigation
AND PF.Navigation = @FileNavigation
AND PFR.Revision = Coalesce(@FileRevision, PF.Revision)