From 67e16bb8122dc7858261abff9a83f8c1483a15ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BC=9F?= <250213850@qq.com> Date: Wed, 8 Jun 2022 10:28:04 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=96=B0=E5=A2=9E=E7=95=99=E5=AD=98=E5=88=86?= =?UTF-8?q?=E6=9E=90=E5=8C=BA=E9=97=B4=E7=AD=9B=E9=80=89=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=EF=BC=8C=E8=A7=84=E5=88=99=EF=BC=9A=E5=A4=A7=E4=BA=8E=E5=80=BC?= =?UTF-8?q?1=EF=BC=8C=E5=B0=8F=E4=BA=8E=E7=AD=89=E4=BA=8E=E5=80=BC2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/behavior_analysis.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/models/behavior_analysis.py b/models/behavior_analysis.py index 6cfbf47..18284b8 100644 --- a/models/behavior_analysis.py +++ b/models/behavior_analysis.py @@ -280,6 +280,9 @@ class BehaviorAnalysis: where.append(col > ftv[0]) elif comparator == '<': where.append(col < ftv[0]) + elif comparator == 'range': + where.append(col > ftv[0]) + where.append(col <= ftv[1]) elif comparator == 'is not null': where.append(col.isnot(None))