|
@@ -10,7 +10,6 @@ import com.winhc.bigdata.spark.implicits.MapHelper._
|
|
*/
|
|
*/
|
|
case class company_equity_info() extends CompanyDynamicHandle {
|
|
case class company_equity_info() extends CompanyDynamicHandle {
|
|
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @param rowkey
|
|
* @param rowkey
|
|
@@ -33,12 +32,12 @@ case class company_equity_info() extends CompanyDynamicHandle {
|
|
if ("1".equals(new_map("deleted"))) {
|
|
if ("1".equals(new_map("deleted"))) {
|
|
return Seq.empty
|
|
return Seq.empty
|
|
}
|
|
}
|
|
- var list: Seq[(String, String)] = Seq((new_map("cid"), cname))
|
|
|
|
|
|
+ var list: Seq[(String, String, String)] = Seq((new_map("cid"), cname, "2")) //标的企业
|
|
if ("2".equals(new_map.getOrElse("pledgor_type", "0"))) {
|
|
if ("2".equals(new_map.getOrElse("pledgor_type", "0"))) {
|
|
- list = list :+ (new_map("pledgor_id"), new_map("pledgor"))
|
|
|
|
|
|
+ list = list :+ (new_map("pledgor_id"), new_map("pledgor"), "3") //出质人
|
|
}
|
|
}
|
|
if ("2".equals(new_map.getOrElse("pledgee_type", "0"))) {
|
|
if ("2".equals(new_map.getOrElse("pledgee_type", "0"))) {
|
|
- list = list :+ (new_map("pledgee_id"), new_map("pledgee"))
|
|
|
|
|
|
+ list = list :+ (new_map("pledgee_id"), new_map("pledgee"), "1") //质权人
|
|
}
|
|
}
|
|
|
|
|
|
list.map(t => {
|
|
list.map(t => {
|
|
@@ -50,7 +49,7 @@ case class company_equity_info() extends CompanyDynamicHandle {
|
|
, get_change_time(bizDate, new_map)
|
|
, get_change_time(bizDate, new_map)
|
|
, get_biz_id(rowkey)
|
|
, get_biz_id(rowkey)
|
|
, get_sub_info_type()
|
|
, get_sub_info_type()
|
|
- , get_info_risk_level(old_map, new_map)
|
|
|
|
|
|
+ , t._3
|
|
, "被监控企业流动资金紧张,可能存在经营困难的情况。建议立即与被监控企业书面对账,适当催促其履行债务并持续监控。"
|
|
, "被监控企业流动资金紧张,可能存在经营困难的情况。建议立即与被监控企业书面对账,适当催促其履行债务并持续监控。"
|
|
)
|
|
)
|
|
}).seq
|
|
}).seq
|