Explorar o código

report_push: 修改sql的筛选条件

Signed-off-by: Binren Zhnag <zhangbr@elab-plus.com>
Binren Zhnag %!s(int64=5) %!d(string=hai) anos
pai
achega
46bc44c72c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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
     """