lxw
2023-09-06 eee6c42d5069316f598c7f0455f9dd93a96d84b8
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
package com.whyc.controller;
 
import com.whyc.dto.Login;
import com.whyc.pojo.Response;
import com.whyc.service.CarCameraHisService;
import com.whyc.service.CarCameraService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
 
@Api(tags = "门禁历史")
@RestController
@RequestMapping("CarCameraHis")
public class CarCameraHisController {
    @Autowired
    private CarCameraHisService service;
 
 
    @ApiOperation(value = "获取门禁历史数据")
    @GetMapping("getCarCameraHis")
    public Response getCarCameraHis(@RequestParam int carCameraId,@RequestParam int pageCurr,@RequestParam int pageSize){
        return service.getCarCameraHis(carCameraId,pageCurr,pageSize);
    }
}