|
@@ -564,7 +564,7 @@ public abstract class SnapshotApplicationBase
|
|
_systemLog.Add(LogName, $"OrderNo: {order.No}", status: 1);
|
|
_systemLog.Add(LogName, $"OrderNo: {order.No}", status: 1);
|
|
if (result.Code == 0)
|
|
if (result.Code == 0)
|
|
{
|
|
{
|
|
- int intervalTime = await _industryRepository.GetIntervalTimeAsync(orderSnapshot.IndustryId, _sysSetting.OvertimeBack, cancellationToken);
|
|
|
|
|
|
+ double intervalTime = await _industryRepository.GetIntervalTimeAsync(orderSnapshot.IndustryId, _sysSetting.OvertimeBack, cancellationToken);
|
|
_systemLog.Add(LogName, $"OrderNo: {order.No}", $"intervalTime: {intervalTime} overtimeBack: {_sysSetting.OvertimeBack}");
|
|
_systemLog.Add(LogName, $"OrderNo: {order.No}", $"intervalTime: {intervalTime} overtimeBack: {_sysSetting.OvertimeBack}");
|
|
await _capPublisher.PublishDelayAsync(TimeSpan.FromHours(intervalTime), EventNames.GuiderSystemReplyDelay, new PostGuiderSystemDelayed(order.Id), cancellationToken: cancellationToken);
|
|
await _capPublisher.PublishDelayAsync(TimeSpan.FromHours(intervalTime), EventNames.GuiderSystemReplyDelay, new PostGuiderSystemDelayed(order.Id), cancellationToken: cancellationToken);
|
|
}
|
|
}
|