<select id="mySelectPage" resultType="com.athuiju.eduservice.entity.vo.ResulstPageVo">
SELECT s.`stu_name`,r.`examDate` FROM `result` r RIGHT JOIN `student` s ON r.`studentNo`=s.`studentid`
LIMIT #{current},#{size}</select>
Controller层 @ApiOperation(value = "根据条件分页查询成绩") @PostMapping("condition/{current}/{limit}") public R pageQueryCondition(@ApiParam(name = "current", value = "当前页码", required = true) @PathVariable Long current,