mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-05 05:07:57 +08:00
Mapper async bug
This commit is contained in:
parent
2f5ad11087
commit
11ac7f434d
@ -1564,6 +1564,10 @@ namespace SqlSugar
|
||||
asyncQueryable.Mapper(MapperAction);
|
||||
if (this.MapperActionWithCache != null)
|
||||
asyncQueryable.Mapper(MapperActionWithCache);
|
||||
if (this.Mappers != null && asyncContext is QueryableProvider<T>)
|
||||
{
|
||||
(asyncQueryable as QueryableProvider<T>).Mappers = this.Mappers;
|
||||
}
|
||||
CopyQueryBuilder(asyncQueryable.QueryBuilder); return asyncQueryable;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user