| | |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * E0功能码数据controller. |
| | | * |
| | |
| | | */ |
| | | @GetMapping("/selectpage") |
| | | @ApiOperation(value = "自定义分页", notes = "传入SelectPageParam对象") |
| | | public R<List<DistanceRecordVO>> selectPage(SelectPageParam param) { |
| | | List<DistanceRecordVO> recordVOList = distanceRecordService.selectPage(param); |
| | | return R.data(recordVOList); |
| | | public R<IPage<DistanceRecordVO>> selectPage(SelectPageParam param) { |
| | | IPage<DistanceRecordVO> page = distanceRecordService.selectPage(param); |
| | | return R.data(page); |
| | | } |
| | | |
| | | /** |