From e572952107a235e4ae30e6899cc3e3443d504644 Mon Sep 17 00:00:00 2001 From: lyt Date: Wed, 25 Dec 2019 22:12:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Trippest=E5=9B=A2=E7=9A=84=E6=8A=A5?= =?UTF-8?q?=E4=BB=B7=E5=B8=81=E7=A7=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/vendorPlanSync/models/BIZ_orders_model.php | 3 ++- 1 file changed, 2 insertions(+), 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 614e35de..de867993 100644 --- a/webht/third_party/vendorPlanSync/models/BIZ_orders_model.php +++ b/webht/third_party/vendorPlanSync/models/BIZ_orders_model.php @@ -138,11 +138,12 @@ class BIZ_Orders_model extends CI_Model { { $sql = "SELECT COLD_TotalPrice, dbo.GetSSJEFromSQJE( (select top 1 GAI_Type from BIZ_GroupAccountInfo b where gai_coli_sn=cold.COLD_COLI_SN and b.DeleteFlag=0) - ,'USD',COLD_TotalPrice) as CNY_price + ,coli.COLI_Currency,COLD_TotalPrice) as CNY_price ,(select top 1 GAI_Type from BIZ_GroupAccountInfo b where gai_coli_sn=cold.COLD_COLI_SN and b.DeleteFlag=0) as payment_type -- ,cold.* from BIZ_ConfirmLineDetail cold + inner join BIZ_ConfirmLineInfo coli on coli.COLI_SN=cold.COLD_COLI_SN where cold.COLD_SN in ($COLD_SN_str) and not exists ( select 1 from BIZ_PackageOrderInfo where POI_COLD_SN=cold.COLD_SN and POI_QuotationType=4