Browse Source

Merge pull request #284 from qiaozhanwei/branch-1.0.2

columns alias update
pull/2/head
乔占卫 6 years ago committed by GitHub
parent
commit
c96a56c1a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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