From 5ae6dd97b4dc66b07eead304438384bbbb4de833 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Thu, 21 Mar 2024 16:53:40 +0800 Subject: [PATCH] fix ignoretenant --- Src/Dlhis.Basic/Dishes/Controller/DishesMenusController.cs | 1 + Src/Dlhis.Canteen/Order/Controllers/OrdersController.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/Src/Dlhis.Basic/Dishes/Controller/DishesMenusController.cs b/Src/Dlhis.Basic/Dishes/Controller/DishesMenusController.cs index 867d0e4e..555e8517 100644 --- a/Src/Dlhis.Basic/Dishes/Controller/DishesMenusController.cs +++ b/Src/Dlhis.Basic/Dishes/Controller/DishesMenusController.cs @@ -90,6 +90,7 @@ public class DishesMenusController : ControllerBase /// /// [HttpGet("checkdetail")] + [IgnoreTenant] public async Task GetBookingDishesDetailAsync(DateTime date, Guid businessPlaceCode, ShiftEnumType shiftType, string dishesCode) { return await _dishesMenuService.GetBookingDishesDetailAsync(date, businessPlaceCode, shiftType, dishesCode); diff --git a/Src/Dlhis.Canteen/Order/Controllers/OrdersController.cs b/Src/Dlhis.Canteen/Order/Controllers/OrdersController.cs index dafd75ae..6c802107 100644 --- a/Src/Dlhis.Canteen/Order/Controllers/OrdersController.cs +++ b/Src/Dlhis.Canteen/Order/Controllers/OrdersController.cs @@ -68,6 +68,7 @@ public class OrdersController : ControllerBase /// [HttpPost("booking")] [Transactional] + [IgnoreTenant] public async Task Booking(BookingMealRequest request) { return await _bookingOrderService.BookingAsync(request);