From ad4683d5c6e7e16eb75541f38e209e8cfe305479 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Fri, 21 Oct 2022 12:28:02 +0800 Subject: [PATCH] - --- Src/Asp.Net/SqlServerTest/UnitTest/ULock.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.Net/SqlServerTest/UnitTest/ULock.cs b/Src/Asp.Net/SqlServerTest/UnitTest/ULock.cs index 785d862dc..e8d130294 100644 --- a/Src/Asp.Net/SqlServerTest/UnitTest/ULock.cs +++ b/Src/Asp.Net/SqlServerTest/UnitTest/ULock.cs @@ -49,7 +49,7 @@ namespace OrmTest Ver = ver.Ver }) .UpdateColumns(z => z.Name).ExecuteCommandWithOptLock(); - if (data4 != 0) { throw new Exception("unit error"); } + if (data4 != 1) { throw new Exception("unit error"); } } public class ULockEntity