@@ -386,7 +386,7 @@ case class JudicialCaseRelationDebtorRelation(s: SparkSession, project: String,
|-- on e.bg_cid = f.cid
|where e.num = 1
|)
- |where cnt > 1
+ |where cnt > 1 and yg_cid <> bg_cid
|""".stripMargin)
}