|
@@ -136,5 +136,23 @@ public class DeviceHttpController {
|
|
return ApiResult.success(remoteTransferService.deviceControl("501_HGHK","0001",JSON.toJSONString(map),tenantId));
|
|
return ApiResult.success(remoteTransferService.deviceControl("501_HGHK","0001",JSON.toJSONString(map),tenantId));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 查询停车库剩余车位数
|
|
|
|
+ * @param parkSyscode
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @GetMapping("parkRemainSpaceList")
|
|
|
|
+ public ApiResult<Map<String,Object>> parkRemainSpaceList(@RequestParam(value = "parkSyscode") String parkSyscode){
|
|
|
|
+ Integer tenantId = SecurityUtils.getTenantId();
|
|
|
|
+
|
|
|
|
+ Map<String,Object> map = new HashMap<>();
|
|
|
|
+ map.put("method","parkRemainSpaceControl");
|
|
|
|
+ Map<String,Object> map1 = new HashMap<>();
|
|
|
|
+ map1.put("parkSyscode",parkSyscode);
|
|
|
|
+ map.put("params",map1);
|
|
|
|
+
|
|
|
|
+ return ApiResult.success(remoteTransferService.deviceControl("501_HGHK","0002",JSON.toJSONString(map),tenantId));
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
}
|
|
}
|