恢复mapper路径
This commit is contained in:
parent
5eba0dccf3
commit
f56510e6f0
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue