- 博客(2)
- 收藏
- 关注
原创 ## 实现springboot普通类调用mapper或service器
1)在starter启动类中@ComponentScan添加普通类所在包扫描路径 2)普通类代码示例: @Component public class ExcelUtils { @Autowired private InfoMapper infoMapper; private static ExcelUtils excelUtils; @PostConstruct //通过@PostConst...
2018-12-04 10:16:01
410
原创 ## 实现springboot普通类调用mapper或service器
1)在starter启动类中@ComponentScan添加普通类所在包扫描路径 2)普通类代码示例: @Component public class ExcelUtils { @Autowired private InfoMapper infoMapper; private static ExcelUtils excelUtils; @PostConstruct //通过@PostConst...
2018-12-04 10:15:32
2014
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅