| | |
| | | return service.specifyTask(interval,progress,direction); |
| | | } |
| | | |
| | | @ApiOperation("查询分页-巡检任务") |
| | | @GetMapping("getPageOfInspectionTask") |
| | | public Response<PageInfo<InspectionTask>> getPageOfInspectionTask(@RequestParam int pageNum, @RequestParam int pageSize){ |
| | | @ApiOperation("查询分页-巡检记录") |
| | | @GetMapping("getPageOfInspectionRecord") |
| | | public Response<PageInfo<InspectionTask>> getPageOfInspectionRecord(@RequestParam int pageNum, @RequestParam int pageSize){ |
| | | |
| | | return service.getPageOfInspectionTask(pageNum,pageSize); |
| | | return service.getPageOfInspectionRecord(pageNum,pageSize); |
| | | } |
| | | |
| | | |
| | |
| | | return response; |
| | | } |
| | | |
| | | public Response<PageInfo<InspectionTask>> getPageOfInspectionTask(int pageNum, int pageSize) { |
| | | public Response<PageInfo<InspectionTask>> getPageOfInspectionRecord(int pageNum, int pageSize) { |
| | | //查询固定位置的文件数 |
| | | //再通过传入的pageNum和pageSize来获取 文件顺序的起止具体index值 |
| | | |