Commit 7629a758 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程五脚本编写

parent 97faa50e
......@@ -226,8 +226,8 @@ class delData(object):
cursor = connection.cursor()
# 删除供应关系
info = FileUtils().r_info8('b5_spd3_core_business_flow', "供货关系申请2", 'message')
username = info['e_username']
sql = "delete from supply_relation where prov_id in(select id from bas_company_info where cname = '%s');"%username
e_corpId = info['e_corpId']
sql = "delete from supply_relation where prov_id in(select id from bas_company_info where id = '%s');"%e_corpId
print(sql)
cursor.execute(sql)
cursor.execute("commit;")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment