fix 更新时间到3点30; 调整索引使用顺序

This commit is contained in:
2025-07-03 14:30:16 +08:00
parent 0e476c5151
commit ed56457688
2 changed files with 4 additions and 4 deletions

View File

@@ -104,7 +104,7 @@ public class BalanceRecordUploadBackgroundService : BackgroundService
try
{
if (now is { Hour: 5, Minute: 1 }
if (now is { Hour: 3, Minute: 30 }
&& !_healthCheckService.GetIsOffline()
&& !await db.Queryable<LocalBalanceRecordEntity>().Where(x => !x.IsSync).AnyAsync())
{