whycxzp
2025-04-14 cafb1288d41201c33b12bdfb979734241bfb296a
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
28
29
30
31
package com.whyc.controller;
 
import com.whyc.dto.DevA200AlarmDto;
import com.whyc.dto.Response;
import com.whyc.pojo.db_user.UserInf;
import com.whyc.service.DevLithiumAlarmDataService;
import com.whyc.util.ActionUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
 
import java.text.ParseException;
 
/**
 * 锂电设备告警-历史
 */
@RestController
@Api(tags = "锂电设备告警历史")
@RequestMapping("devLithiumAlarmDataHistory")
public class DevLithiumAlarmDataHisController {
    @Autowired
    private DevLithiumAlarmDataService dataService;
 
    @ApiOperation(value = "获取历史告警")
    @PostMapping("getPage")
    public Response getPage( @RequestBody DevA200AlarmDto dto) throws ParseException {
        return dataService.getPage(dto);
    }
 
}