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);
|
}
|
}
|