| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.github.pagehelper.PageInfo; |
| | | import com.whyc.dto.InspectionTask; |
| | | import com.whyc.dto.InspectionRecord; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.dto.WmsPalletDto; |
| | | import com.whyc.service.FireRobotService; |
| | | import com.whyc.service.WmsService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | |
| | | @ApiOperation("查询分页-巡检记录") |
| | | @GetMapping("getPageOfInspectionRecord") |
| | | public Response<PageInfo<InspectionTask>> getPageOfInspectionRecord(@RequestParam int pageNum, @RequestParam int pageSize){ |
| | | public Response<PageInfo<InspectionRecord>> getPageOfInspectionRecord(@RequestParam int pageNum, @RequestParam int pageSize, |
| | | @RequestParam(required = false) String startDate, @RequestParam(required = false) String endDate){ |
| | | |
| | | return service.getPageOfInspectionRecord(pageNum,pageSize); |
| | | return service.getPageOfInspectionRecord(pageNum,pageSize,startDate,endDate); |
| | | } |
| | | |
| | | |