恢复mapper路径

This commit is contained in:
shuzheng 2017-04-18 00:46:48 +08:00
parent 5eba0dccf3
commit f56510e6f0
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@
<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
<property name="dataSource" ref="dataSource"/>
<property name="configLocation" value="classpath:mybatis-config.xml"/>
<property name="mapperLocations" value="classpath*:com/zheng/cms/dao/mapper/CmsCategoryMapper.xml"/>
<property name="mapperLocations" value="classpath*:com/zheng/cms/dao/mapper/*Mapper.xml"/>
</bean>
<!-- Mapper接口所在包名Spring会自动查找其下的Mapper -->
<bean id="mapperScannerConfigurer" class="org.mybatis.spring.mapper.MapperScannerConfigurer">

View File

@ -95,7 +95,7 @@
<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
<property name="dataSource" ref="dataSource"/>
<property name="configLocation" value="classpath:mybatis-config.xml"/>
<property name="mapperLocations" value="classpath*:com/zheng/upms/dao/mapper/UpmsRolePermissionMapper.xml"/>
<property name="mapperLocations" value="classpath*:com/zheng/upms/dao/mapper/*Mapper.xml"/>
</bean>
<!-- Mapper接口所在包名Spring会自动查找其下的Mapper -->
<bean id="mapperScannerConfigurer" class="org.mybatis.spring.mapper.MapperScannerConfigurer">