From a0a525d59f1cb3167a54af9309c8dab162e89005 Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期四, 12 六月 2025 19:23:32 +0800 Subject: [PATCH] 优化巡检和维修器件的图片路径 --- src/main/java/com/whyc/controller/AlarmInspectionResultController.java | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/controller/AlarmInspectionResultController.java b/src/main/java/com/whyc/controller/AlarmInspectionResultController.java new file mode 100644 index 0000000..478bd19 --- /dev/null +++ b/src/main/java/com/whyc/controller/AlarmInspectionResultController.java @@ -0,0 +1,30 @@ +package com.whyc.controller; + +import com.github.pagehelper.PageInfo; +import com.whyc.dto.Response; +import com.whyc.pojo.web_site.AlarmInspectionResult; +import com.whyc.service.AlarmInspectionResultService; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +@RestController +@RequestMapping("alarmInspectionResult") +@Api(tags = "鍛婅宸℃鍘嗗彶琛�") +public class AlarmInspectionResultController { + + @Autowired + private AlarmInspectionResultService service; + + @ApiOperation("鏌ヨ鍒嗛〉") + @GetMapping("getPage") + public Response<PageInfo<AlarmInspectionResult>> getPage(@RequestParam Integer pageNum,@RequestParam Integer pageSize, + @RequestParam(required = false) Integer stationId,@RequestParam(required = false) Integer inspectionType) { + return service.getPage(pageNum, pageSize,stationId,inspectionType); + } + +} -- Gitblit v1.9.1