xufei 4 سال پیش
والد
کامیت
da507b43fc
1فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 4 3
      src/main/scala/com/winhc/bigdata/spark/jobs/chance/CompanyChangeHandle.scala

+ 4 - 3
src/main/scala/com/winhc/bigdata/spark/jobs/chance/CompanyChangeHandle.scala

@@ -189,11 +189,12 @@ case class company_bid_list(equCols:Seq[String])extends CompanyChangeHandle{
   override def getBizTime(newMap: Map[String, String]): String = newMap("publish_time")
 }
 //土地转让
-case class company_land_transfer(equCols:Seq[String])extends CompanyChangeHandle{
+case class company_land_transfer(equCols:Seq[String])extends CompanyChangeHandle {
   override def getUpdateTitle(newMap: Map[String, String]): String = getValueOrNull(newMap("location"), s"${newMap("title")}土地转让信息发生变更")
 
-  override def getInsertTitle(newMap: Map[String, String]): String =  getValueOrNull(newMap("location"), s"新增${newMap("location")}土地转让信息")
+  override def getInsertTitle(newMap: Map[String, String]): String = getValueOrNull(newMap("location"), s"新增${newMap("location")}土地转让信息")
 
-  override def getLabel(oldMap: Map[String, String], newMap: Map[String, String]): String = ChangeExtractUtils.getTags(newMap,"土地转让", Array("merchandise_time","user_pre", "user_now", "location", "area", "merchandise_price", "aministrative_area"))
+  override def getLabel(oldMap: Map[String, String], newMap: Map[String, String]): String = ChangeExtractUtils.getTags(newMap, "土地转让", Array("merchandise_time", "user_pre", "user_now", "location", "area", "merchandise_price", "aministrative_area"))
 
   override def getBizTime(newMap: Map[String, String]): String = newMap("merchandise_time")
+}