whyclxw
2024-12-19 c27a9c7bce5b6b9607fa69ee5e5d1a3ad033e22c
src/main/java/com/whyc/controller/LockInfController.java
@@ -35,13 +35,13 @@
    @ApiOperation(value = "删除锁")
    @GetMapping("delLock")
    public Response delLock(@RequestParam Integer id){
        return service.delLock(id);
    public Response delLock(@RequestParam Integer lockId){
        return service.delLock(lockId);
    }
    @ApiOperation(value = "修改锁")
    @GetMapping("updateLock")
    public Response updateLock(@RequestParam(required = false) Integer areaId,@RequestParam Integer id, @RequestParam String lockName, @RequestParam(required = false) String lockType){
        return service.updateLock(id,areaId,lockName,lockType);
    public Response updateLock(@RequestParam(required = false) Integer areaId,@RequestParam Integer lockId, @RequestParam String lockName, @RequestParam(required = false) String lockType){
        return service.updateLock(lockId,areaId,lockName,lockType);
    }
}