typeAliasesPackage mybatis映射类型别名包
比如:
typeAliasesPackage: xyz.hashdog.modules.*.bean配置后
<select id="findById" parameterType="int" resultType="xyz.hashdog.modules.User.bean">
select * from items where id = #{id}
</select>
就可以写成
<select id="findById" parameterType="int" resultType="User">
select * from items where id = #{id}
</select>