whycxzp
2025-03-29 c57812396fb34070b6970d08457e090a1b6bcc47
src/main/java/com/whyc/controller/InterfaceFireRobotController.java
@@ -1,10 +1,11 @@
package com.whyc.controller;
import com.github.pagehelper.PageInfo;
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;
import org.springframework.web.bind.annotation.*;
@@ -43,4 +44,13 @@
        return service.specifyTask(interval,progress,direction);
    }
    @ApiOperation("查询分页-巡检记录")
    @GetMapping("getPageOfInspectionRecord")
    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,startDate,endDate);
    }
}