-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
关于系统变量使用问题 #720
Comments
这个什么问题啊,折腾好久都没找到原因。。。 |
收录 ws |
报错信息已修复,待新版本发布,出现这个错误是因为你没有自定义系统变量,参考文档http://report.jeecg.com/2159712 |
文档我看了,就是说默认系统变量sysUserCode也不能直接在SQL中用,也需要先配置一下“三、如何自定义系统变量”里面的自定义系统变量才可以是吧? |
是的,你需要自己做一下,如果是jeecgboot直接复制一份即可 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
版本号:1.4.2
问题描述:
查询创建人是当前登录用户的记录报表时,照着文档里配置了SQL数据源语句为:
select * from demo_student2 where create_by = '#{sysUserCode}'
然后发现预览的时候就报错了。
用的是JeecgBoot整合积木报表来着,业务表demo_student2 中是包含create_by字段的。
错误日志&截图:
重现步骤:
友情提示(为了提高issue处理效率):
The text was updated successfully, but these errors were encountered: