Commit 1e61727d authored by neo's avatar neo

[dev] config mapper location

parent 19312c5d
...@@ -84,7 +84,7 @@ public class DataSourcePoolService extends AbstractRoutingDataSource { ...@@ -84,7 +84,7 @@ public class DataSourcePoolService extends AbstractRoutingDataSource {
SqlSessionFactoryBean bean = new SqlSessionFactoryBean(); SqlSessionFactoryBean bean = new SqlSessionFactoryBean();
bean.setDataSource(dynamicDataSource); bean.setDataSource(dynamicDataSource);
bean.setMapperLocations(new PathMatchingResourcePatternResolver() bean.setMapperLocations(new PathMatchingResourcePatternResolver()
.getResources("classpath*:pwc/taxtech/atms/vat/dao/*Mapper.xml")); .getResources("classpath*:pwc/taxtech/atms/vat/dao/**/*Mapper.xml"));
return bean.getObject(); return bean.getObject();
} }
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<property name="configLocation" value="classpath:sqlMapConfig.xml" /> <property name="configLocation" value="classpath:sqlMapConfig.xml" />
<property name="mapperLocations"> <property name="mapperLocations">
<array> <array>
<value>classpath:pwc/taxtech/atms/**/*Mapper.xml</value> <value>classpath*:pwc/taxtech/atms/**/*Mapper.xml</value>
</array> </array>
</property> </property>
</bean> </bean>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment