add workflow 市场News-Agents调度,dev
This commit is contained in:
parent
967f25290f
commit
8a35162e06
|
|
@ -22,8 +22,6 @@ left join p30_common.white_list p3
|
|||
on (p1.company_name =p3.account_name
|
||||
or p1.company_name_ai =p3.account_name)
|
||||
and p3.as_of_date='2025-12-19'
|
||||
left join p31_dim.d_sales_mapping p4
|
||||
on p2.saler_name=p4.sales_dw
|
||||
where p2."name" is not null
|
||||
and (p1.company_name<>'' or p1.company_name_ai<>''))p1
|
||||
left join p20_pdm.t00_china_city_pnum p2
|
||||
|
|
@ -32,7 +30,9 @@ and p2.city_name like p1.city_name||'%'
|
|||
and ((p2.district like (substring(p1.district,1,2)||'%') and p1.district<>'')
|
||||
or p2.district is null
|
||||
or (p1.district ='' and p2.district like '%(客户未提供具体区域%')
|
||||
);
|
||||
)
|
||||
left join p31_dim.d_sales_mapping p4
|
||||
on p2.saler_name=p4.sales_dw;
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue