From 87e9a028429485463973fb595dc4c11a7598a48f Mon Sep 17 00:00:00 2001 From: berlin-tzen Date: Fri, 3 Mar 2023 17:30:10 +0800 Subject: [PATCH] =?UTF-8?q?[WHAT]=20=E4=BF=AE=E6=AD=A3BookingDTO=20OnSiteS?= =?UTF-8?q?ervice=20=E8=B3=87=E6=96=99=E7=B5=90=E6=A7=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EasyBL.WEBAPP/ShowEasy/BookingMaintain_QryService.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingMaintain_QryService.cs b/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingMaintain_QryService.cs index 3b03873..ea62b5b 100644 --- a/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingMaintain_QryService.cs +++ b/EuroTran/EasyBL.WEBAPP/ShowEasy/BookingMaintain_QryService.cs @@ -776,11 +776,15 @@ namespace EasyBL.WEBAPP.SYS OnSiteServiceDTO rsService = new OnSiteServiceDTO(); - if (Booking.OnSiteService != null) + if (!string.IsNullOrEmpty(Booking.ServiceID)) { var Service = Booking.OnSiteService; + if (OnSiteServiceDic.ContainsKey(Booking.ServiceID)) { + Service = OnSiteServiceDic[Booking.ServiceID]; + } + rsService.ServiceID = Service.ServiceID; rsService.ServiceName = Service.ServiceName; rsService.Logo = fm_qry.FindOneImageURL(Service.PreviewFile);