mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
Add unit test
This commit is contained in:
@@ -56,8 +56,8 @@ namespace OrmTest
|
|||||||
|
|
||||||
|
|
||||||
//测试用例
|
//测试用例
|
||||||
var list = db.Queryable<GWoBase>().AS<GWoBase>("zd_mes_wo.g_wo_base")
|
var list = db.Queryable<GWoBase>().AS<GWoBase>("SqlSugar4xTest.g_wo_base")
|
||||||
.LeftJoin<SysOrg>((g, s) => g.OrgId == s.Id).AS<SysOrg>("zd_mes_bd.sys_org")
|
.LeftJoin<SysOrg>((g, s) => g.OrgId == s.Id).AS<SysOrg>("SqlSugar4xTest.sys_org")
|
||||||
.Where(g => g.WorkOrder == "W001")
|
.Where(g => g.WorkOrder == "W001")
|
||||||
.Select((g, s) => new GWoBase
|
.Select((g, s) => new GWoBase
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user