Commit 8122c16c by 陶光胜

取数平台调整

parent 91d9e624
......@@ -161,7 +161,7 @@ public class FreeQueryController {
Integer dataPermission = this.enterpriseService.getEnterpriseSettingByEnterpriseId(SessionContextUtils.getLoginUserEnterpriseId()).getDataPermission();
System.out.println("!!!!!!!!:"+dataPermission);
String curLimit = "1000";
if(sql.indexOf("extract_member_information") > 0){
if(sql.indexOf("information_schema.columns") > 0){
sql = "SELECT tmpTable.* FROM (" + sql + ") AS tmpTable LIMIT 1000";
} else {
if(sql.indexOf("limit")>0 || sql.indexOf("LIMIT")>0){
......
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