ibatIS:
<select id="getPaper" resultClass="List" parameterClass="String">
select distinct type,count(*) as total from paper WHERE paperid = #paperid# group by type
</select>
Impl:
List<String> paperlist = (List<String>)getSqlMapClientTemplate().queryForList("getPaper",paperid);
出来的 paperlist 里面都为空