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

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.dto.elevator.ElevatorFloorGroupDTO;
import com.yuchen.saas.park.api.dto.elevator.ElevatorPersonGroupDTO;
import com.yuchen.saas.park.api.entity.elevator.SaasParkElevatorPermissionFloorGroup;
import com.yuchen.saas.park.api.request.ElevatorFloorGroupRequest;
import com.yuchen.saas.park.api.request.ElevatorPersonGroupRequest;
import com.yuchen.saas.park.api.vo.elevator.ElevatorFloorGroupVO;
import com.yuchen.saas.park.api.vo.elevator.ElevatorPersonGroupVO;
import org.nest.springwrap.core.mp.support.Query;
import org.nest.springwrap.core.tool.api.R;

/**
 * <p>
 * 梯控楼层分组 服务类
 * </p>
 *
 * @author baichaojie
 * @since 2024-07-08
 */
public interface ISaasParkElevatorPermissionFloorGroupService extends IService<SaasParkElevatorPermissionFloorGroup> {
    /**
     * 分页 人员分组
     * @param query
     * @param req
     * @return
     */
    R<IPage<ElevatorFloorGroupVO>> list(ElevatorFloorGroupRequest req, Query query);


    /**
     * 人员分组 新增或修改
     * @param elevatorFloorGroupDTO
     * @return
     */
    boolean saveOrUpdateByParam(ElevatorFloorGroupDTO elevatorFloorGroupDTO);
}
