@@ -170,9 +170,14 @@ case class company(is_inc: Boolean) extends NgCompanyDynamicHandle {
Seq(record)
}
+ val companyStatus_std = Seq("存续", "在业").toSet
+
//todo 公司状态变化
@deprecated
def companyStateChange(before: String, after: String): Seq[CompanyDynamicRecord] = {
+ if (companyStatus_std.contains(before) && companyStatus_std.contains(after)) {
+ return Seq.empty
+ }
val r = (after.contains("销")) ? NgCompanyRiskLevelType.Caution | NgCompanyRiskLevelType.Prompt
val record = getSingleRecordChange("101006", "公司状态变化", company_id, company_name, before, after, riskLevel = r)