From 3ac969cb3a6429e9cb93fac4d56410cdead62e25 Mon Sep 17 00:00:00 2001 From: lyt Date: Mon, 22 Jul 2019 18:25:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E6=8E=A5=E8=AE=A1=E5=88=92:=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E6=B2=A1=E6=9C=89=E7=BC=BA=E7=9C=81=E4=BE=9B=E5=BA=94?= =?UTF-8?q?=E5=95=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/vendorPlanSync/models/BIZ_orders_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webht/third_party/vendorPlanSync/models/BIZ_orders_model.php b/webht/third_party/vendorPlanSync/models/BIZ_orders_model.php index 9b0068c3..94159878 100644 --- a/webht/third_party/vendorPlanSync/models/BIZ_orders_model.php +++ b/webht/third_party/vendorPlanSync/models/BIZ_orders_model.php @@ -82,7 +82,7 @@ class BIZ_Orders_model extends CI_Model { public function get_packageDetails($pag_code_str='', $vei_sn_str='', $is_trippest=true) { $code_sql = $pag_code_str=='' ? " " : " and pag.PAG_Code IN ($pag_code_str) "; - $vei_sql = $vei_sn_str=='' ? " " : " and pag.PAG_DefaultVEI_SN IN ($vei_sn_str) "; + $vei_sql = $vei_sn_str=='' ? " " : " and isnull(pag.PAG_DefaultVEI_SN,0) IN (0,$vei_sn_str) "; $trippest_sql = $is_trippest===true ? " and pag.PAG_DEI_SN=30 " : " "; $sql = "SELECT *, (select CII2_name from CItyInfo2 where CII2_CII_SN=PAG_CII_SN and CII2_LGC=2) as city_chinese,