mybatis:返回List Map

1,774 阅读1分钟
List<Map<String, String>> getMtypeList();
<select id="getMtypeList" resultType="java.util.HashMap">
    select code,`name` from jk_control_measure
</select>