add workflow 客户地址信息提取,dev

This commit is contained in:
root 2025-12-08 19:01:12 +08:00
parent aae8bdc82f
commit 45090ceb22
1 changed files with 12 additions and 4 deletions

View File

@ -319,13 +319,21 @@ def main():
if flag:
# 初始化
db_manager = DatabaseManager(db_config)
# custom_query = """
# select
# dw_account as id ,
# prov_name || '-' || city_name as city,
# address_detail as address
# from p99_temp.address_city
# where dw_account not in (select account_id from p70_ai_intelligence.agent_address_complete)
# """
custom_query = """
select
dw_account as id ,
account_id as id ,
prov_name || '-' || city_name as city,
address_detail as address
from p99_temp.address_city_1
where dw_account not in (select account_id from p70_ai_intelligence.agent_address_complete)
address as address
from p99_temp.address_city_1
"""
try: