From c194e92020f17cd3b57985fed3ff480dbe0a79ea Mon Sep 17 00:00:00 2001 From: xuwenbo <717567226@qq.com> Date: Thu, 28 May 2020 09:49:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0MapperScan=E9=98=B2=E6=AD=A2?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E4=BB=A3=E7=A0=81=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yshop-system/src/main/java/co/yixiang/AppRun.java | 1 + 1 file changed, 1 insertion(+) diff --git a/yshop-system/src/main/java/co/yixiang/AppRun.java b/yshop-system/src/main/java/co/yixiang/AppRun.java index 7a41f2aa..7163ce5d 100644 --- a/yshop-system/src/main/java/co/yixiang/AppRun.java +++ b/yshop-system/src/main/java/co/yixiang/AppRun.java @@ -26,6 +26,7 @@ import org.springframework.web.bind.annotation.RestController; @RestController @SpringBootApplication @EnableTransactionManagement +@MapperScan(basePackages ={ "co.yixiang.*.mapper", "co.yixiang.config"}) public class AppRun { public static void main(String[] args) {