Kaynağa Gözat

去除原被告相同

xufei 3 yıl önce
ebeveyn
işleme
8667c57b6f

+ 1 - 1
src/main/scala/com/winhc/bigdata/spark/jobs/judicial/JudicialCaseRelationDebtorRelation.scala

@@ -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)
 
   }