whyclxw
2025-03-25 a7fef2846505b08e0711345b17902e7381612d23
src/main/java/com/whyc/controller/LockCtlLogController.java
@@ -2,11 +2,14 @@
import com.whyc.dto.Response;
import com.whyc.pojo.db_area.KeyInf;
import com.whyc.pojo.db_lock_ram.LockCtlLog;
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.*;
import java.util.Date;
@RestController
@Api(tags = "开锁日志")
@@ -15,9 +18,4 @@
    @Autowired
    private LockCtlLogService service;
    @ApiOperation(value = "查询最近的开锁日志")
    @GetMapping("getLockLog")
    public Response getLockLog(@RequestParam Integer lockId){
        return service.getLockLog(lockId);
    }
}