Browse Source

针对2.3类的案源机会过滤掉银行、保险企业

晏永年 4 năm trước cách đây
mục cha
commit
17ad1dab48

+ 1 - 0
src/main/scala/com/winhc/bigdata/spark/jobs/chance/eci_good_news.scala

@@ -70,6 +70,7 @@ object eci_good_news {
            |              AND     months_between('$now_time',to_date(biz_date)) < 3
            |          ) AS t2
            |ON      t1.rel_bg_cid = t2.detail_cid
+           |WHERE t1.bg_name not like concat('%','银行','%') AND t1.bg_name not like concat('%','保险','%')
            |""".stripMargin)
       df
         .cache()