提交 07886a4e 作者: 薛凌堃

公告数据维护

上级 8088a002
""" """
...@@ -34,7 +34,7 @@ taskType = '企业公告/证监会' ...@@ -34,7 +34,7 @@ taskType = '企业公告/证监会'
def secrchATT(item_id, name, type_id): def secrchATT(item_id, name, type_id):
sel_sql = '''select id from clb_sys_attachment where item_id = %s and name = %s and type_id=%s ''' sel_sql = '''select id from clb_sys_attachment where item_id = %s and name = %s and type_id=%s '''
cursor_.execute(sel_sql, (item_id, name, type_id)) cursor_.execute(sel_sql, (item_id, name, type_id))
selects = cnx_.fetchone() selects = cursor_.fetchone()
return selects return selects
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论