Browse Source

report_push: 修改sql的筛选条件

Signed-off-by: Binren Zhnag <zhangbr@elab-plus.com>
Binren Zhnag 5 years ago
parent
commit
46bc44c72c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      report_push.py

+ 1 - 0
report_push.py

@@ -91,6 +91,7 @@ class ReportPush(object):
                             rlat_created >= %s
                         AND rlat_created <= %s
                         AND rlat_house_id IN %s
+                        AND cust_house_flag ='1'
                 ) t1
     """