package com.whyc.controller;
|
|
import com.whyc.dto.Response;
|
import com.whyc.pojo.db_area.KeyInf;
|
import com.whyc.service.LockCtlLogService;
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.*;
|
|
@RestController
|
@Api(tags = "开锁日志")
|
@RequestMapping("lockLog")
|
public class LockCtlLogController {
|
@Autowired
|
private LockCtlLogService service;
|
|
@ApiOperation(value = "查询开锁日志")
|
@GetMapping("getLockLog")
|
public Response getLockLog(@RequestParam Integer lockId,int pageNum, int pageSize){
|
return service.getLockLog(lockId,pageNum,pageSize);
|
}
|
}
|