mapper.java中这样定义List<Integral> getIntegralList(Page page,String userID);
我需要获取某个用户的积分充值记录
但是不知道mapper.xml中怎么去写
<select id="getIntegralList" parameterType="com.matol.entity.Page" resultMap="resultIntegral">
SELECT *
FROM INTEGRAL limit #{startPos},#{pageSize};
</select>
这里少了一个where USER_NAME=传过来的userID