|
@@ -6,7 +6,7 @@ import com.winhc.bigdata.spark.ng.dynamic.NgCompanyRiskLevelType.NgCompanyRiskLe
|
|
|
import com.winhc.bigdata.spark.ng.dynamic.{AssociationEntityInfo, CompanyDynamicRecord, NgCompanyRiskLevelType}
|
|
|
import com.winhc.bigdata.spark.utils.{BaseUtil, RegCapitalAmount}
|
|
|
import org.apache.commons.lang3.StringUtils
|
|
|
-
|
|
|
+import com.winhc.bigdata.spark.implicits.CaseClass2JsonHelper._
|
|
|
/**
|
|
|
* @author: XuJiakai
|
|
|
* @date: 2021/8/5 15:55
|
|
@@ -76,7 +76,7 @@ object BusinessTotalDynamicUtils {
|
|
|
, tn = tn
|
|
|
, update_type = "update"
|
|
|
, dynamic_code = dynamicCode
|
|
|
- , dynamic_info = map.toMap()
|
|
|
+ , dynamic_info = map.toJson().toAnyMap()
|
|
|
, agg_detail_text = null
|
|
|
, agg_detail_rowkey = null
|
|
|
, biz_time = date
|
|
@@ -291,8 +291,6 @@ object BusinessTotalDynamicUtils {
|
|
|
if (StringUtils.isEmpty(content_before) || StringUtils.isEmpty(content_after))
|
|
|
return Seq.empty
|
|
|
|
|
|
-
|
|
|
-
|
|
|
var entity: List[Map[String, String]] = List.empty
|
|
|
if (change_info != null) {
|
|
|
try {
|