whycxzp
2025-05-29 c7e295d1dfdfeb8b092e757b68b374912705ef15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.whyc.controller;
 
import com.github.pagehelper.PageInfo;
import com.whyc.dto.Response;
import com.whyc.pojo.db_fire_robot.IdentifyAlarmHis;
import com.whyc.service.IdentifyAlarmHisService;
import com.whyc.service.IdentifyAlarmService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
 
import java.lang.reflect.InvocationTargetException;
 
@RestController
@RequestMapping("identifyAlarmHis")
@Api("算法识别报警")
public class IdentifyAlarmHisController {
 
    @Autowired
    private IdentifyAlarmHisService service;
 
    @GetMapping("getPage")
    public Response<PageInfo<IdentifyAlarmHis>> getPage(@RequestParam int pageNum, @RequestParam int pageSize){
        return service.getPage(pageNum, pageSize);
    }
 
}