Commit 844dc279 authored by 黎博's avatar 黎博

前置动作新增日志

parent aa19948a
...@@ -187,6 +187,8 @@ public class AutoUtilsServiceImpl implements AutoUtilsService { ...@@ -187,6 +187,8 @@ public class AutoUtilsServiceImpl implements AutoUtilsService {
params.put("type", type); params.put("type", type);
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);
// 只有select才需要加入Map // 只有select才需要加入Map
if (sql.startsWith("select") || sql.startsWith("SELECT")) { if (sql.startsWith("select") || sql.startsWith("SELECT")) {
if (type.equals("map")) { if (type.equals("map")) {
......
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