浏览代码

启动配置修改

shilin 1 年之前
父节点
当前提交
542b1cef7f

+ 1 - 1
web/runeconomy-xk/src/main/java/com/gyee/RunEconomyApplication.java

@@ -17,7 +17,7 @@ import java.net.UnknownHostException;
 @Log4j2
 @SpringBootApplication
 @EnableScheduling
-@MapperScan("com.gyee.runeconomy.mapper")
+@MapperScan("com.gyee.runeconomy.mapper,com.gyee.jinneng_kpi.mapper")
 public class RunEconomyApplication {
 
     public static void main(String[] args) throws UnknownHostException {

+ 1 - 1
web/runeconomy-xk/src/main/resources/application-jn.yml

@@ -88,7 +88,7 @@ mybatis-plus:
       #table-prefix: t_
       id-type: assign_uuid
   #配置类型别名对应的包
-  type-aliases-package: com.gyee.runeconomy.model.auto
+  type-aliases-package: com.gyee.runeconomy.model.auto,com.gyee.jinneng_kpi.model.auto
   #用于扫描通用枚举包
   type-enums-package: com.gyee.runeconomy.config
 logging:

+ 1 - 1
web/runeconomy-xk/src/main/resources/application-xk.yml

@@ -97,7 +97,7 @@ mybatis-plus:
       #table-prefix: t_
       id-type: assign_uuid
   #配置类型别名对应的包
-  type-aliases-package: com.gyee.runeconomy.model.auto
+  type-aliases-package: com.gyee.runeconomy.model.auto,com.gyee.jinneng_kpi.model.auto
   #用于扫描通用枚举包
   type-enums-package: com.gyee.runeconomy.config
 logging: