diff --git a/webht/third_party/trippestOrderSync/models/vendor_money_model.php b/webht/third_party/trippestOrderSync/models/vendor_money_model.php index 48b1bef3..546fc68c 100644 --- a/webht/third_party/trippestOrderSync/models/vendor_money_model.php +++ b/webht/third_party/trippestOrderSync/models/vendor_money_model.php @@ -82,7 +82,8 @@ class Vendor_money_model extends CI_Model { ) as order_total_receipt, (select isnull(SUM(GAI_SSJE),0) from BIZ_GroupAccountInfo where DeleteFlag=0 and GAI_COLI_SN=COLI_SN - and GAI_Type not in (" . PAY_OTHER . ") + --and GAI_Type not in (" . PAY_OTHER . ") + and isnull(GAI_VEI_SN,30561) = 30561 ) as ht_origin, (select isnull(SUM(GAI_SSJE),0) from BIZ_GroupAccountInfo where DeleteFlag=0 and GAI_COLI_SN=COLI_SN