@@ -14,7 +14,7 @@ FROM (
WHERE ds > 20220111
) AS all_t1
) AS all_t2
-WHERE all_t2.num = 1 and reg_status_std NOT LIKE '%销%' and (name LIKE '%公司%' or name LIKE '%合伙%')
+WHERE all_t2.num = 1 and reg_status_std NOT LIKE '%销%' and (name LIKE '%公司%' or name LIKE '%合伙%') and company_type = 1
)
INSERT OVERWRITE TABLE out_winhc_data_analysis_pull_data PARTITION(ds='{latest_ds}')