|
@@ -32,7 +32,7 @@ trait CompanyDynamicHandle {
|
|
|
, "" -> "publish_notice" //公示催告
|
|
|
, "" -> "serious_violation" //严重违法
|
|
|
, "" -> "simple_cancellation" //简易注销
|
|
|
- , "" -> "stock_pledge" //股权出质
|
|
|
+ , "company_equity_info" -> "stock_pledge" //股权出质
|
|
|
, "" -> "tax_illegal" //税收违法
|
|
|
, "" -> "tax_owenotice" //欠税公告
|
|
|
, "" -> "judicial" //司法拍卖
|
|
@@ -61,7 +61,7 @@ trait CompanyDynamicHandle {
|
|
|
, "" -> "14" // 行政处罚
|
|
|
, "" -> "15" // 公示催告
|
|
|
, "company_env_punishment" -> "16" // 环保处罚
|
|
|
- , "" -> "17" // 股权出质
|
|
|
+ , "company_equity_info" -> "17" // 股权出质
|
|
|
, "" -> "18" // 严重违法
|
|
|
, "" -> "19" // 简易注销
|
|
|
, "" -> "20" // 欠税公告
|
|
@@ -92,7 +92,9 @@ trait CompanyDynamicHandle {
|
|
|
* @param change_fields
|
|
|
* @param old_map
|
|
|
* @param new_map
|
|
|
- * @return info_type
|
|
|
+ * @return cid
|
|
|
+ * cname
|
|
|
+ * info_type
|
|
|
* rta_desc
|
|
|
* change_content
|
|
|
* change_time
|
|
@@ -101,15 +103,17 @@ trait CompanyDynamicHandle {
|
|
|
* info_risk_level
|
|
|
* winhc_suggest
|
|
|
*/
|
|
|
- def handle(rowkey: String, bizDate: String, cid: String, change_fields: Seq[String], old_map: Map[String, String], new_map: Map[String, String], cname: String = null, suggestion: String = null): Seq[(String, String, String, String, String, String, String, String)] = {
|
|
|
- Seq((get_info_type()
|
|
|
+ def handle(rowkey: String, bizDate: String, cid: String, change_fields: Seq[String], old_map: Map[String, String], new_map: Map[String, String], cname: String = null, suggestion: String = null): Seq[(String, String, String, String, String, String, String, String, String, String)] = {
|
|
|
+ Seq((cid
|
|
|
+ , cname
|
|
|
+ , get_info_type()
|
|
|
, get_rta_desc(old_map, new_map)
|
|
|
, get_change_content(old_map, new_map)
|
|
|
, get_change_time(bizDate, new_map)
|
|
|
, get_biz_id(rowkey)
|
|
|
, get_sub_info_type()
|
|
|
, get_info_risk_level(old_map, new_map)
|
|
|
- , if(suggestion == null) "被监控企业流动资金紧张,可能存在经营困难的情况。建议立即与被监控企业书面对账,适当催促其履行债务并持续监控。" else suggestion
|
|
|
+ , if (suggestion == null) "被监控企业流动资金紧张,可能存在经营困难的情况。建议立即与被监控企业书面对账,适当催促其履行债务并持续监控。" else suggestion
|
|
|
))
|
|
|
}
|
|
|
|
|
@@ -145,7 +149,7 @@ trait CompanyDynamicHandle {
|
|
|
* @param new_map
|
|
|
* @return
|
|
|
*/
|
|
|
- protected def get_change_content(old_map: Map[String, String], new_map: Map[String, String]): String
|
|
|
+ protected def get_change_content(old_map: Map[String, String], new_map: Map[String, String], cname: String = null): String
|
|
|
|
|
|
/**
|
|
|
* 变更时间
|