瀏覽代碼

集团项目获取逻辑修改

Signed-off-by: binren <zhangbr@elab-plus.com>
binren 4 年之前
父節點
當前提交
062631ca63
共有 1 個文件被更改,包括 1 次插入1 次删除
  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获取推送客户信息