We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PostgreSql 没有 DATE() 函数, 查询语句设置别名不能省略 AS 关键词
continew-module-system/src/main/resources/mapper/LogMapper.xml 使用了 DATA() 函数
continew-module-system/src/main/java/top/continew/admin/system/mapper/FileMapper.java 省略了 AS 关键词
单纯提交错误 data(value) 使用了 to_char(value,'YYYY-MM-DD') 替代, 但 mysql 没有此函数 AS 补上就好...
ContiNew Admin version(s):3.3.0
No response
The text was updated successfully, but these errors were encountered:
1、关于仪表盘部分的 SQL,感谢给出方案。因为比较复杂,往往无法提供兼容性太强的 SQL,一般情况下如果切换数据库,那这部分就需要自己实现了,它们不是核心功能,甚至很大可能在实际开发时直接被砍掉。 2、我再次检查了下,FileMapper 似乎没有别名使用的 SQL。
Sorry, something went wrong.
No branches or pull requests
Bug 描述
PostgreSql 没有 DATE() 函数, 查询语句设置别名不能省略 AS 关键词
复现步骤
continew-module-system/src/main/resources/mapper/LogMapper.xml
使用了 DATA() 函数
continew-module-system/src/main/java/top/continew/admin/system/mapper/FileMapper.java
省略了 AS 关键词
预期结果
单纯提交错误
data(value) 使用了 to_char(value,'YYYY-MM-DD') 替代, 但 mysql 没有此函数
AS 补上就好...
环境信息
额外补充
No response
确认
The text was updated successfully, but these errors were encountered: