From 3c46415ec95e8a542ab98ba686c4d9666c8776c1 Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期三, 11 十二月 2024 11:49:02 +0800 Subject: [PATCH] 租户id忽略表配置 --- iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/XmcPmsServerApplication.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/XmcPmsServerApplication.java b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/XmcPmsServerApplication.java index fc41f61..7e83c86 100644 --- a/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/XmcPmsServerApplication.java +++ b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/XmcPmsServerApplication.java @@ -2,12 +2,14 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.context.annotation.ComponentScan; /** * 项目的启动类 * * @author iailab */ +@ComponentScan(basePackages = {"com.iailab.iems.common", "com.iailab.module.pms"}) @SpringBootApplication public class XmcPmsServerApplication { -- Gitblit v1.9.3