whyclxw
2025-01-08 60479537b50adbc3ce951c4b98223105c3ed9641
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);
    }
}