fix 字段匹配
This commit is contained in:
@@ -65,7 +65,7 @@ public class CanteenController : ControllerBase
|
||||
public async Task<List<BalanceRecordResponse>> GetBalanceRecordsAsync(string factory, DateTime time)
|
||||
{
|
||||
return await _dbContext.Queryable<BalanceRecordEntity>()
|
||||
.Where(x => x.CostDateTime == time && x.TenantId == factory && x.Status == BalanceRecordStatusEnumType.Valid)
|
||||
.Where(x => x.CostDate == time && x.TenantId == factory && x.Status == BalanceRecordStatusEnumType.Valid)
|
||||
.Select(x => new BalanceRecordResponse
|
||||
{
|
||||
UserCode = x.UserCode,
|
||||
|
||||
Reference in New Issue
Block a user