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

积木报表的sql脚本初始化的表的数据库名字不能改吗,能不能配置 #3515

Open
KyinGuan opened this issue Feb 27, 2025 · 1 comment

Comments

@KyinGuan
Copy link

版本号:积木报表,版本1.9.0

<dependency>
		<groupId>org.jeecgframework.jimureport</groupId>
		<artifactId>jimureport-spring-boot-starter</artifactId>
		<version>1.9.0</version>
	</dependency>

问题描述:接口报错:https://report.uatplatform.eec2m.com/api/jmreport/category/list

我的数据库名字叫:jmreport_init ,数据库的名字不是叫 jeecg-boot 能不能配置

{
"success": false,
"message": "操作失败:PreparedStatementCallback; bad SQL grammar [SELECT jrc.* FROM jimu_report_category jrc where 1=1 and (jrc.parent_id IS NULL OR jrc.parent_id = '0') and jrc.source_type = ? and jrc.DEL_FLAG = ? order by update_time desc]; nested exception is java.sql.SQLSyntaxErrorException: Table 'jeecg-boot.jimu_report_category' doesn't exist",
"code": 500,
"result": null,
"timestamp": 1740651553546
}

@zhangdaiscott
Copy link
Member

Table 'jeecg-boot.jimu_report_category'

这个在那个升级SQL里?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants