whyclxw
2024-12-21 1c9bdee152a57b93b573b76e6391fd929e9525de
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){
        return service.getLockLog(lockId);
    }
}