Commit 41620335 authored by 黎博's avatar 黎博

修改日志

parent f8693228
...@@ -190,9 +190,9 @@ public class AutoUtilsServiceImpl implements AutoUtilsService { ...@@ -190,9 +190,9 @@ public class AutoUtilsServiceImpl implements AutoUtilsService {
params.put("database", db); params.put("database", db);
params.put("sql", sql); params.put("sql", sql);
params.put("type", type); params.put("type", type);
log.info("开始执行SQL:{}", sql);
String url = "https://qa-platform-yxm.liangkebang.net/sql/execute"; String url = "https://qa-platform-yxm.liangkebang.net/sql/execute";
String result = HttpClientUtils.doGet(url, params); String result = HttpClientUtils.doGet(url, params);
log.info("开始执行SQL:{}", sql);
log.info("SQL返回结果:{}", result); log.info("SQL返回结果:{}", result);
// 只有select才需要加入Map // 只有select才需要加入Map
if (sql.startsWith("select") || sql.startsWith("SELECT")) { if (sql.startsWith("select") || sql.startsWith("SELECT")) {
......
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