From ed156c45cf703b45692c01015103be945f1e4447 Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期三, 26 三月 2025 15:01:49 +0800 Subject: [PATCH] 巡检任务 --- src/main/java/com/whyc/controller/InterfaceFireRobotController.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/controller/InterfaceFireRobotController.java b/src/main/java/com/whyc/controller/InterfaceFireRobotController.java index ed5e418..c5c0a6f 100644 --- a/src/main/java/com/whyc/controller/InterfaceFireRobotController.java +++ b/src/main/java/com/whyc/controller/InterfaceFireRobotController.java @@ -1,10 +1,13 @@ package com.whyc.controller; +import com.github.pagehelper.PageInfo; +import com.whyc.dto.InspectionTask; 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 +46,12 @@ return service.specifyTask(interval,progress,direction); } + @ApiOperation("鏌ヨ鍒嗛〉-宸℃浠诲姟") + @GetMapping("getPageOfInspectionTask") + public Response<PageInfo<InspectionTask>> getPageOfInspectionTask(@RequestParam int pageNum, @RequestParam int pageSize){ + + return service.getPageOfInspectionTask(pageNum,pageSize); + } + + } -- Gitblit v1.9.1