From cbd741c26c35b791a99fef1c95f2863eeebef91e Mon Sep 17 00:00:00 2001 From: lyt Date: Mon, 19 Aug 2019 17:36:09 +0800 Subject: [PATCH] =?UTF-8?q?Trippest=E7=BB=93=E7=AE=97:=E4=BE=9B=E5=BA=94?= =?UTF-8?q?=E5=95=86=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../third_party/trippestOrderSync/models/vendor_money_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webht/third_party/trippestOrderSync/models/vendor_money_model.php b/webht/third_party/trippestOrderSync/models/vendor_money_model.php index 0483fd35..6831d222 100644 --- a/webht/third_party/trippestOrderSync/models/vendor_money_model.php +++ b/webht/third_party/trippestOrderSync/models/vendor_money_model.php @@ -193,7 +193,7 @@ class Vendor_money_model extends CI_Model { WHERE DeleteFlag=0 AND GAI_COLI_SN=COLI_SN ) AS money_sum - ,(select dbo.[GetVendorName](COLD_PlanVEI_SN,2) from BIZ_ConfirmLineDetail + ,(select top 1 dbo.[GetVendorName](COLD_PlanVEI_SN,2) from BIZ_ConfirmLineDetail where COLD_COLI_SN=COLI_SN and DeleteFlag=0 and COLD_PlanVEI_SN in ($all_vendor)