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


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.entity.door.DoorDevicePoint;
import org.nest.springwrap.core.mp.support.Query;

import java.util.List;

/**
 * <p>
 * 门禁点 服务类
 * </p>
 *
 * @author miaoqs
 * @since 2023-12-18
 */
public interface DoorDevicePointService extends IService<DoorDevicePoint> {

    /**
     * 批量新增
     * @param doorDevicePointList
     * @return
     */
    boolean batchSave(List<DoorDevicePoint> doorDevicePointList);

    /**
     * 获取已绑定门禁点的设备Id
     * @return
     */
    List<Long> getListBindId();

    /**
     * 分页查询
     * @param doorDevicePoint
     * @param query
     * @return
     */
    IPage<DoorDevicePoint> pageByparam(DoorDevicePoint doorDevicePoint, Query query);

    /**
     *  获取门禁点列表
     * @param doorDevicePoint
     * @return
     */
    List<DoorDevicePoint> listByparam(DoorDevicePoint doorDevicePoint);

    /**
     * 获取门禁点 列表(包含已删除)
     * @return
     */
    List<DoorDevicePoint> getListByparamAll();
}
