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


import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.entity.pldoor.PlVisitorPowerSet;
import com.yuchen.saas.park.api.request.PlVisitorParkingSpotRequest;
import com.yuchen.saas.park.api.vo.pldoor.PlVisitorSpotVO;

import java.util.List;

/**
 * <p>
 * 访客权限设置 服务类
 * </p>
 *
 * @author miaoqs
 * @since 2024-05-28
 */
public interface PlVisitorPowerSetService extends IService<PlVisitorPowerSet> {

    PlVisitorPowerSet getByProjectId(Long parkId);

    /**
     * 根据项目id,停车场id,车牌号获取授权车位列表
     * @param request
     * @return
     */
    List<PlVisitorSpotVO> getParkingSpotIdListByParam(PlVisitorParkingSpotRequest request);
}
