添加项目文件。
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
SELECT
|
||||
P.Id,
|
||||
P.[Name],
|
||||
P.[Namespace],
|
||||
P.[Description],
|
||||
P.Navigation,
|
||||
PR.Revision,
|
||||
PR.DataHash,
|
||||
P.Revision as MostCurrentRevision,
|
||||
P.CreatedByUserId,
|
||||
P.CreatedDate,
|
||||
P.ModifiedByUserId,
|
||||
P.ModifiedDate
|
||||
FROM
|
||||
[Page] as P
|
||||
INNER JOIN [PageRevision] as PR
|
||||
ON PR.PageId = P.Id
|
||||
WHERE
|
||||
P.Id = @PageId
|
||||
AND PR.Revision = COALESCE(@Revision, P.Revision)
|
||||
Reference in New Issue
Block a user