fix 增加上传完成提醒
This commit is contained in:
@@ -89,6 +89,12 @@ public class BalanceRecordCheckBackgroundService : BackgroundService
|
||||
await db.Client.Ado.RollbackTranAsync();
|
||||
}
|
||||
}
|
||||
|
||||
balanceRecords = await db.Queryable<LocalBalanceRecordEntity>().Where(x => x.TenantId == factory).Where(x => !x.IsSync).ToListAsync(stoppingToken);
|
||||
if (!balanceRecords.Any())
|
||||
{
|
||||
_logger.LogInformation("上传离线订单完成");
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
||||
Reference in New Issue
Block a user