|
@@ -2,7 +2,7 @@
|
|
|
package com.winhc.bigdata.spark.jobs.chance.table
|
|
|
|
|
|
import com.winhc.bigdata.spark.jobs.chance.CompanyChangeHandle
|
|
|
-import com.winhc.bigdata.spark.utils.ChangeExtractUtils
|
|
|
+import com.winhc.bigdata.spark.utils.{ChangeExtractUtils, DateUtils}
|
|
|
|
|
|
/**
|
|
|
* @Author: XuJiakai
|
|
@@ -20,5 +20,7 @@ case class company_tm(equCols: Seq[String]) extends CompanyChangeHandle {
|
|
|
|
|
|
override def getLabel(oldMap: Map[String, String], newMap: Map[String, String]): String = ChangeExtractUtils.get_ip_tags("商标", newMap("tm_name"), newMap("app_date"), newMap("reg_no"))
|
|
|
|
|
|
- override def getBizTime(newMap: Map[String, String]): String = newMap("app_date")
|
|
|
+ override def getBizTime(newMap: Map[String, String]): String = {
|
|
|
+ DateUtils.getBizDate(newMap("app_date"), newMap("update_time"))
|
|
|
+ }
|
|
|
}
|