From 1b1de9f8200062d134234b2236f4c7f6603b4a4a Mon Sep 17 00:00:00 2001 From: "shenjian@fangjia.com" Date: Thu, 1 Dec 2022 11:02:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=A1=A5=E5=85=A8=E7=9A=84?= =?UTF-8?q?=E6=89=BE=E5=91=A8=E8=BE=B9=E4=B8=8D=E8=AE=A1=E7=AE=97=E5=9C=A8?= =?UTF-8?q?=E5=86=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/community/estate_charge_complete.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dags/business/business/community/estate_charge_complete.py b/dags/business/business/community/estate_charge_complete.py index b63035b..23c2460 100644 --- a/dags/business/business/community/estate_charge_complete.py +++ b/dags/business/business/community/estate_charge_complete.py @@ -66,6 +66,15 @@ def find_nearest_by_location(city, location): "city": city } } + ], + "must_not": [ + { + "term": { + "estate_charge_flag": { + "value": 1 + } + } + } ] } },