Commit 9c776467 authored by 李欣峰's avatar 李欣峰

<dev>

1.修改代码规范(2021/10/12)服务器打包测试
parent ef20a45c
......@@ -233,7 +233,7 @@ public class ApiServiceApplicationImpl implements ApiApplication {
String name = apiDTO.getName();
String querySql = apiDTO.getQuerySql();
if(org.springframework.util.StringUtils.hasLength(querySql)){
apiDTO.setQuerySql(formatQuerySQL(querySql));
apiDTO.setQuerySql(formatQuerySql(querySql));
}
Integer count = 0;
try {
......@@ -1447,7 +1447,7 @@ public class ApiServiceApplicationImpl implements ApiApplication {
return bodyParams;
}
private String formatQuerySQL(String querySql){
private String formatQuerySql(String querySql){
return querySql.replace("$ { ", "${").replace(" }", "}");
}
}
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