fix 移除过滤条件

This commit is contained in:
2025-12-10 10:58:54 +08:00
parent 1f71b660c1
commit 4ea0a1180f

View File

@@ -33,11 +33,6 @@ public class CostUploadJob : BaseJob
//从余额找人
var userCodeAll = await DbContext.Queryable<UserBalanceEntity>()
.Where(x => SqlFunc.Subqueryable<UserBalanceUploadRecordEntity>()
.Where(p => p.UserCode == x.UserCode)
.Where(p => p.Year == year && p.Month == month)
.NotAny()
)
.Select(x => x.UserCode)
.Distinct()
.ToListAsync();