mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update unit test
This commit is contained in:
parent
1cb9871d8d
commit
7b561b8af0
@ -40,7 +40,7 @@ namespace OrmTest
|
||||
.Where(x => x.IpfCode == "" && x.PmId == pm1.Id)
|
||||
.Select(x => SqlFunc.AggregateSum(SqlFunc.ToDecimal(x.SbrAmount))))
|
||||
}).ToSqlString();
|
||||
if (!sql.Contains("`bil_payment` pm1"))
|
||||
if (!sql.Contains("`bil_payment` `pm1`"))
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ namespace OrmTest
|
||||
.Having(cs => cs.PmAmount != 0)
|
||||
.ToSql();
|
||||
|
||||
if (!sql.Key.Contains("`bil_costshare` cs"))
|
||||
if (!sql.Key.Contains("`bil_costshare` `cs`"))
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user