fix 时间范围逻辑
This commit is contained in:
@@ -192,7 +192,7 @@ public class DishesMenuService : IDishesMenuService
|
||||
{
|
||||
var detail = await _dbContext.Queryable<DishesMenuEntity>()
|
||||
.LeftJoin<DishesEntity>((x, d) => x.DishesCode == d.CustomCode)
|
||||
.Where(x => x.StartDate >= date && x.EndDate <= date)
|
||||
.Where(x => x.StartDate <= date && date <= x.EndDate)
|
||||
.Where(x => x.BusinessPlaceCode == businessPlaceCode)
|
||||
.Where(x => x.ShiftType == shiftType)
|
||||
.Where(x => x.DishesCode == dishesCode)
|
||||
|
||||
Reference in New Issue
Block a user