From e8e41a122f200e8edd74d45f5c42c8d099261d9f Mon Sep 17 00:00:00 2001 From: zhangxiaofeng <1939543722@qq.com> Date: Thu, 23 May 2024 19:09:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=88=B1=E4=BD=8D=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/BookingSlot/BookingSlotService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs b/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs index b0582d17..31ee45d5 100644 --- a/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs +++ b/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs @@ -1090,7 +1090,7 @@ namespace Myshipping.Application [HttpPost("/BookingSlot/refreshAllStock")] public async Task RefreshAllStock([FromBody] long telentId) { - await _repBase.DeleteAsync(x => x.TenantId == UserManager.TENANT_ID); + await _repStock.DeleteAsync(x => x.TenantId == telentId); var logger = App.GetService>(); BookingSlotStockSubscriber subscriber = new BookingSlotStockSubscriber(logger);