<bean>
<property name = " typeAliasesPackage" value = " com.bean">
</property>
</bean>
设置这个以后再Mapper配置文件中在parameterType 的值就不用写成全路径名了
ep:parameterType="com.bean.User"可以写成parameterType = "User"
时间: 2024-11-13 06:59:23
<bean>
<property name = " typeAliasesPackage" value = " com.bean">
</property>
</bean>
设置这个以后再Mapper配置文件中在parameterType 的值就不用写成全路径名了
ep:parameterType="com.bean.User"可以写成parameterType = "User"