From 638946cb8577632c0d2104d9dae918ffd0e2f83c Mon Sep 17 00:00:00 2001 From: lyt Date: Wed, 26 Jun 2019 09:10:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E6=8E=A5=E8=AE=A1=E5=88=92:fixed?= =?UTF-8?q?=E5=AE=A2=E4=BA=BA=E4=BF=A1=E6=81=AF=E5=A7=93=E5=90=8D=E5=AD=97?= =?UTF-8?q?=E6=AE=B5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../third_party/vendorPlanSync/models/BIZ_orders_model.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webht/third_party/vendorPlanSync/models/BIZ_orders_model.php b/webht/third_party/vendorPlanSync/models/BIZ_orders_model.php index 5132d35f..a718d921 100644 --- a/webht/third_party/vendorPlanSync/models/BIZ_orders_model.php +++ b/webht/third_party/vendorPlanSync/models/BIZ_orders_model.php @@ -37,7 +37,7 @@ class BIZ_Orders_model extends CI_Model { public function get_guestlist($COLD_SN_str) { $sql = "SELECT - BPE.BPE_FirstName+' '+BPE.BPE_MiddleName+' '+BPE.BPE_LastName as MemberName, + isnull(BPE.BPE_FirstName,'') +' '+isnull(BPE.BPE_MiddleName,'') +' '+isnull(BPE.BPE_LastName ,'') as MemberName, BPE.BPE_BirthDate BirthDay, ISNULL((select SYC2_CodeDiscribe from V_System_Code @@ -335,7 +335,7 @@ return ; ,f.adultcost ,f.TicketAddress ,cold.COLD_PersonNum as adult_num - ,cold.COLD_ChildNum+cold.COLD_BabyNum as child_num + ,isnull(cold.COLD_ChildNum,0)+isnull(cold.COLD_BabyNum,0) as child_num ,cold.COLD_StartDate,cold.COLD_EndDate ,(select CII2_Name from CItyInfo2 inner join VEndorInfo on VEI_CII_Name=CII2_CII_SN @@ -394,7 +394,7 @@ return ; public function get_customer_contact($COLD_SN_str) { $sql = "SELECT - GUT_FirstName + ' '+GUT_LastName as MemberName, + isnull(GUT_FirstName,'') + ' '+isnull(GUT_LastName,'') as MemberName, '' as BirthDay, '' as Gender, GUT_MoveTel as phone,