Parcourir la source

集团项目获取逻辑修改

Signed-off-by: binren <zhangbr@elab-plus.com>
binren il y a 4 ans
Parent
commit
062631ca63
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      sql.py

+ 1 - 1
sql.py

@@ -3,7 +3,7 @@
 class Sql:
     # 获取项目的城市信息
     sql_1 = """
-        select IFNULL(brand_id, -1), house_id, house_name, city from d_house a where brand_id = '13' order by house_id
+        select IFNULL(brand_id, -1), house_id, house_name, city from d_house a where brand_id = '13' and house_id != '13' order by house_id
     """
 
     # 根据任务id获取推送客户信息