whycxzp
2025-03-26 cc92dd0f84de867e479e01d166fd0e27c6d082bf
src/main/java/com/whyc/controller/InterfaceFireRobotController.java
@@ -1,11 +1,9 @@
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;
@@ -48,9 +46,10 @@
    @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);
    }