Trippest结算汇总:解决多地产品预订无法按目的地类型计算

feature/trippest
lyt 6 years ago
parent 057cb6ec09
commit 74bf566485

@ -71,8 +71,12 @@ class Vendor_money_model extends CI_Model {
)
and CGI_Checked=1
and GRI_OrderType=227002
and COLI_sourcetype=$sourcetype
and exists (
select 1 from BIZ_ConfirmLineDetail where COLD_COLI_SN=coli.COLI_SN
and DeleteFlag=0
and COLD_PlanVEI_SN=$vendor
)
-- and COLI_sourcetype=$sourcetype
) as cgi_group
) as sum_opi
group by sum_opi.COLI_OPI_ID

Loading…
Cancel
Save