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

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.entity.elevator.SaasParkElevatorRelativePersonElevator;
import com.yuchen.saas.park.api.request.ElevatorPointGroupReq;
import com.yuchen.saas.park.api.request.ElevatorRelativePersonElevatorRequest;
import com.yuchen.saas.park.api.vo.elevator.ElevatorPointGroupVO;
import com.yuchen.saas.park.api.vo.elevator.ElevatorRelativePersonElevatorVO;
import org.nest.springwrap.core.mp.support.Query;
import org.nest.springwrap.core.tool.api.R;

import java.util.List;

/**
 * <p>
 * 梯控人员关联电梯表 服务类
 * </p>
 *
 * @author baichaojie
 * @since 2024-07-08
 */
public interface ISaasParkElevatorRelativePersonElevatorService extends IService<SaasParkElevatorRelativePersonElevator> {

    /**
     * 分页 综合权限查询
     * @param req
     * @param query
     * @return
     */
    R<IPage<ElevatorRelativePersonElevatorVO>> pageByParam(ElevatorRelativePersonElevatorRequest req, Query query);

    List<SaasParkElevatorRelativePersonElevator> getPermissionListByPersonId(Long id);
}
