添加MapperScan防止启动代码警告

This commit is contained in:
xuwenbo
2020-05-28 09:49:07 +08:00
parent 5bd60304ec
commit c194e92020

View File

@ -26,6 +26,7 @@ import org.springframework.web.bind.annotation.RestController;
@RestController @RestController
@SpringBootApplication @SpringBootApplication
@EnableTransactionManagement @EnableTransactionManagement
@MapperScan(basePackages ={ "co.yixiang.*.mapper", "co.yixiang.config"})
public class AppRun { public class AppRun {
public static void main(String[] args) { public static void main(String[] args) {