|
@@ -4,10 +4,10 @@ package com.winhc.bigdata.spark.ng.change.table
|
|
|
|
|
|
import com.winhc.bigdata.spark.ng.change.NgCompanyChangeHandle
|
|
|
import com.winhc.bigdata.spark.utils.DateUtils
|
|
|
-
|
|
|
+import com.winhc.bigdata.spark.ng.change.utils.Bool._
|
|
|
|
|
|
case class company_punishment_info_creditchina(equCols: Seq[String],is_inc:Boolean) extends NgCompanyChangeHandle {
|
|
|
|
|
|
|
|
|
- override protected def getBizDate(newMap: Map[String, String]): String = DateUtils.getBizDate(newMap("update_time"))
|
|
|
+ override protected def getBizDate(newMap: Map[String, String]): String = is_inc?DateUtils.getBizDate(newMap("update_time"))|DateUtils.getBizDate(newMap("decision_date"))
|
|
|
}
|