From eace4178bdf7f89c17fcd230fb2fd0286667cdbc Mon Sep 17 00:00:00 2001 From: Argo-MacBookPro Date: Thu, 13 Sep 2018 21:33:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG=EF=BC=9A=E6=8B=92?= =?UTF-8?q?=E7=BB=9D=E7=94=A8=E6=88=B7=E6=98=AF=E7=BA=A7=E8=81=94=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=8E=88=E6=9D=83=E8=A1=A8=E4=B8=AD=E7=9A=84=E7=94=A8?= =?UTF-8?q?=E6=88=B7ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DatabaseScripts/Procedures.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/DatabaseScripts/Procedures.sql b/DatabaseScripts/Procedures.sql index a1157674..4f450893 100644 --- a/DatabaseScripts/Procedures.sql +++ b/DatabaseScripts/Procedures.sql @@ -233,6 +233,7 @@ BEGIN begin begin tran insert into RejectUsers (UserName, DisplayName, RegisterTime, RejectedBy, RejectedTime, RejectedReason) values (@userName, @displayName, @registerTime, @rejectedBy, GETDATE(), @rejectedReason) + delete from UserRole where UserId = @id delete from users where ID = @id commit tran end