mybatis根据id、idList查询数据
1、根据id查询:mapper.xml中的sql语句如下:<select id="getTestById" resultType="com.abc.Test" parameterType="int"> select <include refid="Base_Column_List" /> from test where id=#{id