| | |
| | | @Autowired |
| | | private AreaInfService ainfService; |
| | | |
| | | @Autowired |
| | | private LockCtlLogService ctlLogService; |
| | | |
| | | |
| | | @ApiOperation(value = "普通用户登录查看自己授权记录--普通用户") |
| | |
| | | return ainfService.getAreaLockById(id); |
| | | } |
| | | |
| | | @ApiOperation(value = "区域管理员查看指定区域下的锁具告警(失败的)--区域管理员") |
| | | @GetMapping("getErrLogByUid") |
| | | public Response getErrLogByUid(int pageNum, int pageSize){ |
| | | return ainfService.getErrLogByUid(pageNum,pageSize); |
| | | } |
| | | |
| | | @ApiOperation(value = "区域管理员查看指定区域下的锁具告警(全部的的)--区域管理员") |
| | | @GetMapping("getAllLogByUid") |
| | | public Response getAllLogByUid(int pageNum, int pageSize){ |
| | | return ainfService.getAllLogByUid(pageNum,pageSize); |
| | | } |
| | | |
| | | @ApiOperation(value = "区域管理员蓝牙开锁记录日志--区域管理员") |
| | | @GetMapping("setLogByUid") |
| | | public Response setLogByUid(String mac, int result){ |
| | | return ainfService.setLogByUid(mac,result); |
| | | } |
| | | } |