Browse Source

Update Demo

pull/12/MERGE
sunkaixuan 6 years ago
parent
commit
11ea0b6369
  1. 1
      Src/Asp.Net/SqlServerTest/BugTest/Bug2.cs
  2. 4
      Src/Asp.Net/SqlServerTest/Program.cs

1
Src/Asp.Net/SqlServerTest/BugTest/Bug2.cs

@ -169,7 +169,6 @@ namespace OrmTest.BugTest
,
TempQty = SqlFunc.IsNull(SqlFunc.Subqueryable<TTempStock>().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<TTempStock>().Where(s => s.FMICode == vmg.FMICode && s.FK_Store == "")

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

Loading…
Cancel
Save