This commit is contained in:
2024-08-22 19:14:58 +08:00
parent c6b732ab96
commit 3e8f5da91d
6 changed files with 189 additions and 247 deletions

View File

@@ -93,7 +93,7 @@ public class MealSupplementRecordService : IMealSupplementRecordService
var data = await _dbContext.Queryable<BalanceRecordEntity>()
.Where(x => x.CostDateTime >= request.SearchDateTimePeriod.Start && x.CostDateTime <= request.SearchDateTimePeriod.End)
.Where(x => x.Status == BalanceRecordStatusEnumType.Valid)
.Where(x => x.ApplicationType == CanteenApplicationTypeEnumType.MealSupplement)
.Where(x => x.ApplicationType == CanteenApplicationTypeEnumType.MealSupplement || x.ApplicationType == CanteenApplicationTypeEnumType.Manually)
.Where(x => x.UserCode == code)
.OrderBy(x => x.CostDateTime)
.Select(x => new MealSupplementRecordItemResponse