Browse Source

columns alias update

pull/2/head
qiaozhanwei 6 years ago
parent
commit
45aa9db588
  1. 2
      escheduler-dao/src/main/java/cn/escheduler/dao/mapper/DataSourceMapperProvider.java

2
escheduler-dao/src/main/java/cn/escheduler/dao/mapper/DataSourceMapperProvider.java

@ -111,7 +111,7 @@ public class DataSourceMapperProvider {
*/ */
public String queryById(Map<String, Object> parameter) { public String queryById(Map<String, Object> parameter) {
return new SQL() {{ return new SQL() {{
SELECT("r.*,u.user_name as userName"); SELECT("r.*,u.user_name");
FROM(TABLE_NAME + " r"); FROM(TABLE_NAME + " r");

Loading…
Cancel
Save