我滴个乖乖

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,24 @@
SELECT
U.UserId,
U.EmailAddress,
U.AccountName,
U.Navigation,
U.PasswordHash,
U.FirstName,
U.LastName,
U.TimeZone,
U.Country,
U.[Language],
U.Biography,
U.CreatedDate,
U.ModifiedDate,
U.VerificationCode,
R.[Name] as [Role],
U.EmailConfirmed
FROM
Profile as U
INNER JOIN Role as R
ON R.Id = U.RoleId
WHERE
(U.EmailAddress = @AccountNameOrEmail OR U.AccountName = @AccountNameOrEmail)
AND U.PasswordHash = @PasswordHash