whyclxw
2025-03-25 a7fef2846505b08e0711345b17902e7381612d23
src/main/java/com/whyc/controller/LockAlarmHisController.java
@@ -21,9 +21,9 @@
    private LockAlarmHisService service;
    @ApiOperation("查询锁告警的历史状态")
    @GetMapping("getLockAlmHis")
    public Response getLockAlmHis(@RequestParam Integer lockId,@RequestParam Integer almId, @RequestParam String startTime, @RequestParam String endTime
    public Response getLockAlmHis(@RequestParam(required = false) Integer areaId,@RequestParam(required = false) String almIds, @RequestParam String startTime, @RequestParam String endTime
            , @RequestParam int pageNum, @RequestParam int pageSize) throws ParseException, InterruptedException {
        Response res=service.getLockAlmHis(lockId,almId,startTime,endTime,pageNum,pageSize);
        Response res=service.getLockAlmHis(areaId,almIds,startTime,endTime,pageNum,pageSize);
        return res;
    }
}