Merge pull request #4624 from dataease/pr@dev@fix_field

fix(视图): 修复视图计算字段聚合函数报错的问题
This commit is contained in:
Junjun 2023-02-23 22:55:20 +08:00 committed by GitHub
commit 19bf2b472e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,11 +63,11 @@ FROM
WHERE WHERE
<filters:{filter|<if(filter)><filter><endif>}; separator="\nAND "> <filters:{filter|<if(filter)><filter><endif>}; separator="\nAND ">
<endif> <endif>
<if(groups && !useAliasForGroup)> <if(isGroup && groups && !useAliasForGroup)>
GROUP BY GROUP BY
<groups:{group|<if(group)><group.fieldName><endif>}; separator=",\n"> <groups:{group|<if(group)><group.fieldName><endif>}; separator=",\n">
<endif> <endif>
<if(groups && useAliasForGroup)> <if(isGroup && groups && useAliasForGroup)>
GROUP BY GROUP BY
<groups:{group|<if(group)><group.fieldAlias><endif>}; separator=",\n"> <groups:{group|<if(group)><group.fieldAlias><endif>}; separator=",\n">
<endif> <endif>