package com.yuchen.saas.park.service.service.elevator;

import com.yuchen.saas.park.api.entity.elevator.SaasParkElevatorRelativePark;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.vo.elevator.ElevatorPersonVO;
import com.yuchen.saas.park.api.vo.elevator.SaasParkElevatorRelativeParkVO;

/**
 * <p>
 * 梯控-园区关联表 服务类
 * </p>
 *
 * @author baichaojie
 * @since 2024-08-21
 */
public interface ISaasParkElevatorRelativeParkService extends IService<SaasParkElevatorRelativePark> {

    /**
     * 梯控园区 详情
     * (人员分组那边根据项目获取园区相关)
     * 根据传入的parkId调用saveOrUpdateByParam添加关联表的园区信息,
     * 默认设置园区梯控限制状态
     * @param parkId
     * @return
     */
    SaasParkElevatorRelativeParkVO getDetailById(Long parkId);

    /**
     * 梯控园区 新增或修改
     *
     * @param saasParkElevatorRelativePark
     * @return
     */
    boolean saveOrUpdateByParam(SaasParkElevatorRelativePark saasParkElevatorRelativePark);

}
