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

SysDictServiceImpl、SysUserDepartServiceImpl 循环引用错误。 #82

Closed
imic07 opened this issue Apr 29, 2019 · 2 comments
Closed

SysDictServiceImpl、SysUserDepartServiceImpl 循环引用错误。 #82

imic07 opened this issue Apr 29, 2019 · 2 comments

Comments

@imic07
Copy link

imic07 commented Apr 29, 2019

SysDictServiceImpl 类删除以下两行代码, 因为是本类中调用,deleteByDictId中直接使用this.updateById(sysDict);即可。否则会出现循环引用问题

    @Autowired
    private ISysDictService sysDictService;

SysUserDepartServiceImpl 中删除 , 报错的地方使用this代替userDepartService

    @Autowired
    private ISysUserDepartService userDepartService;

另外,建议升级spring boot 版本为2.1.4.RELEASE。 更改yml

driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/test_jeecgboot?characterEncoding=UTF-8&characterSetResults=utf8&serverTimezone=Asia/Shanghai&characterEncoding=UTF-8&useUnicode=true&useSSL=false

@imic07 imic07 changed the title SysDictServiceImpl 循环引用。 SysDictServiceImpl、SysUserDepartServiceImpl 循环引用错误。 Apr 29, 2019
@zhang0001
Copy link

用this 的话无法调用代理类,切面类方法会失效,@Cacheable 等。

@zhangdaiscott
Copy link
Member

已经发现这个问题,下个版本发布

lexmeng pushed a commit to lexmeng/jeecg-boot that referenced this issue Jun 30, 2023
* 修改功能:
添加雷神过程数据和结果数据
添加daily和pr的单元测试结果数据
添加文档版本表和相应修改

* 数据上报接口排除token校验
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

3 participants