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();