| | |
| | | return service.getAllLockInf(lockName,lockType,lockState,areaId,pageNum,pageSize); |
| | | } |
| | | |
| | | @ApiOperation(value = "授权时查询所有锁信息(不分页)") |
| | | @ApiOperation(value = "授权时查询所有蓝牙锁信息(不分页)") |
| | | @GetMapping("getLockInfAuth") |
| | | public Response getLockInfAuth(){ |
| | | return service.getLockInfAuth(); |
| | |
| | | |
| | | @ApiOperation(value = "添加锁(批量)") |
| | | @GetMapping("addLock") |
| | | public Response addLock(@RequestParam(required = false) Integer areaId, @RequestParam String lockName, @RequestParam(required = false) String lockType, @RequestParam(required = false) Integer num){ |
| | | public Response addLock(@RequestParam(required = false) Integer areaId, @RequestParam String lockName, @RequestParam(required = false) Integer lockType, @RequestParam(required = false) Integer num){ |
| | | return service.addLock(areaId,lockName,lockType,num); |
| | | } |
| | | |
| | |
| | | public Response getLockRt(@RequestParam Integer areaId){ |
| | | return service.getLockRt(areaId); |
| | | } |
| | | |
| | | } |