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