|
@@ -177,4 +177,23 @@ case class company_employment(equCols: Seq[String]) extends CompanyChangeHandle
|
|
|
override def getLabel(oldMap: Map[String, String], newMap: Map[String, String]): String = ChangeExtractUtils.getTags(newMap, "招聘", Array("title", "city->employment_city", "employ_num", "start_date"))
|
|
|
|
|
|
override def getBizTime(newMap: Map[String, String]): String = newMap("start_date")
|
|
|
-}
|
|
|
+}
|
|
|
+//招投标
|
|
|
+case class company_bid_list(equCols:Seq[String])extends CompanyChangeHandle{
|
|
|
+ override def getUpdateTitle(newMap: Map[String, String]): String = getValueOrNull(newMap("title"), s"${newMap("title")}招投标信息发生变更")
|
|
|
+
|
|
|
+ override def getInsertTitle(newMap: Map[String, String]): String = getValueOrNull(newMap("title"), s"新增${newMap("title")}招投标信息")
|
|
|
+
|
|
|
+ override def getLabel(oldMap: Map[String, String], newMap: Map[String, String]): String = ChangeExtractUtils.getTags(newMap,"招投标", Array("publish_time","title", "purchaser", "province", "abs"))
|
|
|
+
|
|
|
+ override def getBizTime(newMap: Map[String, String]): String = newMap("publish_time")
|
|
|
+}
|
|
|
+//土地转让
|
|
|
+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 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")
|