From 11ea0b6369591f31ba5826fdb615ed5ac6ba4e8d Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Fri, 26 Apr 2019 21:26:18 +0800 Subject: [PATCH] Update Demo --- Src/Asp.Net/SqlServerTest/BugTest/Bug2.cs | 1 - Src/Asp.Net/SqlServerTest/Program.cs | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Src/Asp.Net/SqlServerTest/BugTest/Bug2.cs b/Src/Asp.Net/SqlServerTest/BugTest/Bug2.cs index 15242c4d2..e2ef2e9c5 100644 --- a/Src/Asp.Net/SqlServerTest/BugTest/Bug2.cs +++ b/Src/Asp.Net/SqlServerTest/BugTest/Bug2.cs @@ -169,7 +169,6 @@ namespace OrmTest.BugTest , TempQty = SqlFunc.IsNull(SqlFunc.Subqueryable().Where(s => s.FMICode == vmg.FMICode && s.FK_Store == "") .GroupBy(s => new { s.FMICode, s.FK_Store }) - .OrderBy(s=>s.PKID) .Select(s => SqlFunc.AggregateSum(SqlFunc.ToInt32(s.FKCSL))), 0) , AbleQty = ts.FQty - SqlFunc.Subqueryable().Where(s => s.FMICode == vmg.FMICode && s.FK_Store == "") diff --git a/Src/Asp.Net/SqlServerTest/Program.cs b/Src/Asp.Net/SqlServerTest/Program.cs index 63e7eea43..77bc24a8b 100644 --- a/Src/Asp.Net/SqlServerTest/Program.cs +++ b/Src/Asp.Net/SqlServerTest/Program.cs @@ -10,8 +10,8 @@ namespace OrmTest { /***BUG repair test***/ - //new BugTest.Bug1().Init(); - //new BugTest.Bug2().Init(); + new BugTest.Bug1().Init(); + new BugTest.Bug2().Init(); /***Unit Test***/ new SqlRemark(2).Init();