mybatis中如果存在参数不再实体中的是如何处理

    <select id="queryMapByType"  parameterType="int" resultType="my.geomap.VO.finaltask.NameValue">
        select a.`name`,a.counts  from regionsum as a  where a.type =#{type}
    </select>

 

posted @ 2017-08-19 21:18  牵牛花  阅读(442)  评论(0)    收藏  举报