mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-25 02:09:12 +08:00
Update query in query select subquery bug
This commit is contained in:
@@ -142,6 +142,11 @@ namespace OrmTest
|
||||
{
|
||||
it.UnitA002 = db.Queryable<UnitA002>().SetContext(x => x.orgid, () => it.id, it).First();
|
||||
});
|
||||
db.Queryable(db.Queryable<Order>())
|
||||
.Select(it => new
|
||||
{
|
||||
x = SqlFunc.Subqueryable<Order>().Where(z => z.Id == it.Id).Any()
|
||||
}).ToList();
|
||||
}
|
||||
|
||||
public class UnitA001
|
||||
|
||||
Reference in New Issue
Block a user