Skip to content
New issue

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数据库时有些错误 #7779

Closed
mxz112233445566778899 opened this issue Feb 7, 2025 · 4 comments
Closed

postgresql数据库时有些错误 #7779

mxz112233445566778899 opened this issue Feb 7, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@mxz112233445566778899
Copy link

版本号:

3.7.2

问题描述:

打开大屏时报org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [SELECT count(0) FROM onl_drag_page odp LEFT JOIN jimu_report_category jrc ON odp.type = jrc.id WHERE jrc.del_flag = 0 AND odp.STYLE = ? AND odp.iz_template = ? AND odp.del_flag = ? OR (odp.type = "0" AND odp.STYLE = ? AND odp.del_flag = ? AND odp.iz_template = ?)]; nested exception is org.postgresql.util.PSQLException: 错误: 字段 "0" 不存在
位置:200
Online报表例子时报

SQL: SELECT COUNT() AS total FROM (SELECT DATE_FORMAT(create_time, '%Y-%m-%d') AS date, count() AS num FROM sys_log GROUP BY DATE_FORMAT(create_time, '%Y-%m-%d')) jeecg_rp_temp

Cause: org.postgresql.util.PSQLException: 错误: 函数 date_format(timestamp without time zone, unknown) 不存在

建议:没有匹配指定名称和参数类型的函数. 您也许需要增加明确的类型转换.
位置:39 这些问题怎么解决啊

错误截图:

Image

Image

友情提示:

  • 未按格式要求发帖、描述过于简单的,会被直接删掉;
  • 描述问题请图文并茂,方便我们理解并快速定位问题;
  • 如果使用的不是master,请说明你使用的分支;
@mxz112233445566778899 mxz112233445566778899 added the bug Something isn't working label Feb 7, 2025
@chenkaiq
Copy link

chenkaiq commented Feb 8, 2025

已经修复了,官网还没发版

@zhangdaiscott
Copy link
Member

最新版已经发布了,更新代码试试

@chenkaiq
Copy link

chenkaiq commented Feb 8, 2025

更新了最新3.7.3还是没有,积木还是1.9.3的,待发布更新

@zhangdaiscott
Copy link
Member

hao d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants