SpringBootCodeGenerator icon indicating copy to clipboard operation
SpringBootCodeGenerator copied to clipboard

mybatis-plus的代码为何Controller直接调用了Mapper?

Open feng99 opened this issue 3 years ago • 0 comments

1.mybatis-plus的代码为何Controller直接调用了Mapper?

那Service的代码 作用是什么?

2.Service 接口,为何没有实现类

3.我在Controller类中引入Service类 private final OmsOrderLogisticsService omsOrderLogisticsService;

启动时报错 Parameter 0 of constructor in com.macro.mall.controller.OmsOrderLogisticsController required a bean of type 'com.macro.mall.service.OmsOrderLogisticsService' that could not be found.

feng99 avatar May 13 '22 12:05 feng99