From cc92dd0f84de867e479e01d166fd0e27c6d082bf Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期三, 26 三月 2025 17:11:13 +0800 Subject: [PATCH] 巡检记录 --- src/main/java/com/whyc/controller/InterfaceFireRobotController.java | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/whyc/controller/InterfaceFireRobotController.java b/src/main/java/com/whyc/controller/InterfaceFireRobotController.java index af60ef3..f74f5c1 100644 --- a/src/main/java/com/whyc/controller/InterfaceFireRobotController.java +++ b/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); } -- Gitblit v1.9.1