去除@Autowired注解warning提示
提示
@Autowired
private ICommonUtilsService checkService;
![image.png](https://i-blog.csdnimg.cn/blog_migrate/0b211efbb9bfcc1e31fef43b0e3e3119.png)
Field injection is not recommended
解决
替换成下述
private ICommonUtilsService checkService;
@Autowired
public void setCheckService(ICommonUtilsService checkService) {
this.checkService = checkService;
}