mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:33:27 +08:00
【修复】修复部分Repository层使用WithNolock属性未生效的问题。
This commit is contained in:
@@ -373,10 +373,11 @@ namespace CoreCms.Net.Repository
|
||||
startTime = p.startTime,
|
||||
endTime = p.endTime,
|
||||
})
|
||||
.With(SqlWith.NoLock)
|
||||
.MergeTable()
|
||||
.OrderByIF(orderByExpression != null, orderByExpression, orderByType)
|
||||
.WhereIF(predicate != null, predicate)
|
||||
.With(SqlWith.NoLock).ToPageListAsync(pageIndex, pageSize, totalCount)
|
||||
.ToPageListAsync(pageIndex, pageSize, totalCount)
|
||||
:
|
||||
await DbClient.Queryable<CoreCmsCoupon, CoreCmsUser, CoreCmsPromotion>((p, sUser, sPromotion) => new JoinQueryInfos(
|
||||
JoinType.Left, p.userId == sUser.id,
|
||||
|
||||
Reference in New Issue
Block a user