Map封装多参数:
publicList<User> getUserList(Mapmap);
<selectid="getUserList"parameterType="hashmap"resultType=“User">
select 字段... from XXX where id=#{xxId}code = #{xxCode}</select>
Map封装多参数:
publicList<User> getUserList(Mapmap);
<selectid="getUserList"parameterType="hashmap"resultType=“User">
select 字段... from XXX where id=#{xxId}code = #{xxCode}</select>