|
|
@ -306,8 +306,9 @@ class MetaSecurityService: |
|
|
|
# await test_connection(dbConnent) |
|
|
|
#3获取sql中涉及的表名 |
|
|
|
sqlScheamAndTable =await cls.get_tables_from_sql(page_object.sqlStr) |
|
|
|
oldStrSql=generate_pagination_sql(page_object,dsDataResource["type"]) |
|
|
|
#4.执行原始sql |
|
|
|
result = await cls.execute_sql(dbConnent, page_object.sqlStr,"原始") |
|
|
|
result = await cls.execute_sql(dbConnent, oldStrSql,"原始") |
|
|
|
if 3 in role_id_list: |
|
|
|
resultDict={ |
|
|
|
"ctrlSql": page_object.sqlStr, |
|
|
|