【优化】仓储单个数据查询增加悲观锁等待模式。
【优化】通过优惠券编码领取优惠券增加事务处理。
This commit is contained in:
@@ -694,7 +694,7 @@ namespace CoreCms.Net.Services
|
||||
where = where.And(p => p.isDel == false); //是否被删除
|
||||
|
||||
|
||||
var info = await _dal.QueryByClauseAsync(where);
|
||||
var info = await _dal.QueryByClauseAsync(where, false, true);
|
||||
if (info != null)
|
||||
{
|
||||
jm.data = info;
|
||||
|
||||
Reference in New Issue
Block a user