fix 时间判断
This commit is contained in:
@@ -87,7 +87,7 @@ public class OrderService : IOrderService
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 消费
|
||||
/// 消费
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="gainfo"></param>
|
||||
@@ -208,7 +208,7 @@ public class OrderService : IOrderService
|
||||
var businessPlace = await _dbContext.Queryable<CanteenBusinessPlaceEntity>().Where(x => x.Code == registry.BusinessPlaceCode).FirstAsync();
|
||||
businessPlace.ThrowIfNull("营业点尚未设置");
|
||||
|
||||
// 获取当前消费餐次
|
||||
// 获取当前消费 餐次
|
||||
var shifts = await _dbContext.Queryable<CanteenBusinessShiftEntity>().Where(x => x.BusinessPlaceCode == businessPlace.Code).ToListAsync();
|
||||
|
||||
// 使用 LINQ 查询找到满足条件的餐次
|
||||
|
||||
Reference in New Issue
Block a user