【优化】优化完成订单业务员,【佣金计算】使用延迟队列导致时效性不高的问题。

This commit is contained in:
JianWeie
2022-10-08 16:56:34 +08:00
parent 1606569f06
commit d7d4cd2576
2 changed files with 5 additions and 6 deletions

View File

@@ -2147,9 +2147,9 @@ namespace CoreCms.Net.Services
await _orderLogServices.InsertAsync(orderLog);
//订单完成结算订单
await _redisOperationRepository.SortedSetAddAsync(RedisMessageQueueKey.OrderFinishCommand, orderInfo.orderId, score);
await _redisOperationRepository.ListLeftPushAsync(RedisMessageQueueKey.OrderFinishCommand, orderInfo.orderId);
if (source== "system")
if (source == "system")
{
// 微信自定义交易组件-订单确认收货
await _redisOperationRepository.ListLeftPushAsync(RedisMessageQueueKey.TransactionComponentOrderDeliveryRecieveSync, JsonConvert.SerializeObject(orderInfo));
@@ -2272,7 +2272,7 @@ namespace CoreCms.Net.Services
return jm;
}
#endregion
#region
/// <summary>
/// 重写根据条件列表数据