|
@@ -86,7 +86,7 @@ case class CompanyEmploymentScore(s: SparkSession, sourceTable: String, tableVie
|
|
|
val cnt1 = r.getAs[Long]("cnt1")
|
|
|
val cnt2 = r.getAs[Long]("cnt2")
|
|
|
flag match {
|
|
|
- case "302" => employmentScore(id, cid, cnt1,cnt2, kind, prpject)
|
|
|
+ case "208" => employmentScore(id, cid, cnt1,cnt2, kind, prpject)
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -119,7 +119,7 @@ object CompanyEmploymentScore {
|
|
|
"spark.hadoop.odps.spark.local.partition.amt" -> "10"
|
|
|
)
|
|
|
val spark: SparkSession = SparkUtils.InitEnv(this.getClass.getSimpleName, config)
|
|
|
- CompanyEmploymentScore(spark, "company_employment","", "302", "start_date", "经营情况", "招聘", "0", "winhc_eci_dev").calc()
|
|
|
+ CompanyEmploymentScore(spark, "company_employment","", "208", "start_date", "经营情况", "招聘", "0", "winhc_eci_dev").calc()
|
|
|
spark.stop()
|
|
|
}
|
|
|
}
|