Explorar o código

调整扫包配置

zhuang hai 1 ano
pai
achega
8cbf570620
Modificáronse 1 ficheiros con 9 adicións e 3 borrados
  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
     map-underscore-to-camel-case: false
   #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:
     db-config:
       logic-delete-value: 1