Parcourir la source

调整扫包配置

zhuang il y a 1 an
Parent
commit
8cbf570620
1 fichiers modifiés avec 9 ajouts et 3 suppressions
  1. 9 3
      business-server/src/main/resources/bootstrap.yml

+ 9 - 3
business-server/src/main/resources/bootstrap.yml

@@ -45,9 +45,15 @@ mybatis-plus:
     log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
     log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
     map-underscore-to-camel-case: false
     map-underscore-to-camel-case: false
   #basepackage: com.rongwei.rwadmin.system.dao
   #basepackage: com.rongwei.rwadmin.system.dao
-  xmlLocation: classpath:mybatis/**/*Dao.xml
-  mapperLocations: "classpath:mybatis/**/*Dao.xml"
-  typeAliasesPackage: com.rongwei.bsentity.domain
+  xmlLocation:
+    - classpath:mybatis/**/*Dao.xml
+    - classpath*:mybatis/**/*Dao.xml
+  mapperLocations:
+    - "classpath:mybatis/**/*Dao.xml"
+    - "classpath*:mybatis/**/*Dao.xml"
+  typeAliasesPackage:
+    - com.rongwei.bsentity.domain
+    - com.rongwei.rwadmincommon.**.domain
   global-config:
   global-config:
     db-config:
     db-config:
       logic-delete-value: 1
       logic-delete-value: 1