Commit 04552a63 authored by peng.xiaozhe's avatar peng.xiaozhe

inline_Zdu表改为inline表

parent 0f7edb38
......@@ -3,8 +3,8 @@ from pot_libs.mysql_util.mysql_util import MysqlUtil
async def inline_zdu_by_cid(cid):
"""inline_zdu"""
sql = "SELECT * from inline_zdu iz inner join monitor m2 " \
"on iz.mtid = m2.mtid where iz.cid_belongedto = %s " \
sql = "SELECT * from inline iz inner join monitor m2 " \
"on iz.mtid = m2.mtid where iz.cid = %s " \
"order by iz.sort_num"
async with MysqlUtil() as conn:
inline_zdu_list = await conn.fetchall(sql, args=(cid,))
......
Markdown is supported
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