| | |
| | | |
| | | 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 = "开锁日志") |
| | |
| | | @Autowired |
| | | private LockCtlLogService service; |
| | | |
| | | @ApiOperation(value = "查询最近的开锁日志") |
| | | @GetMapping("getLockLog") |
| | | public Response getLockLog(@RequestParam Integer lockId){ |
| | | return service.getLockLog(lockId); |
| | | } |
| | | } |