Parcourir la source

fix: 信用惩戒查询移除逻辑

许家凯 il y a 3 ans
Parent
commit
dffe60cf0b

+ 2 - 2
src/main/scala/com/winhc/bigdata/spark/ng/credit_punishment/CreditPunishmentEntityRemove.scala

@@ -60,8 +60,8 @@ case class CreditPunishmentEntityRemove(s: SparkSession
          |        ) AS t2
          |ON      t1.credit_punishment_case_id = t2.credit_punishment_case_id
          |AND     t1.credit_punishment_entity_id <> t2.credit_punishment_entity_id
-         |AND     t1.credit_punishment_case_id = t1.credit_punishment_entity_id
-         |AND     t2.credit_punishment_case_id <> t2.credit_punishment_entity_id
+         |AND     t1.credit_punishment_case_id <> t1.credit_punishment_entity_id
+         |AND     t2.credit_punishment_case_id = t2.credit_punishment_entity_id
          |""".stripMargin)
 
   }