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

import com.yuchen.saas.park.api.entity.park.PmgBatParkRoomInfo;
import com.yuchen.saas.park.api.vo.park.PmgbatParkRoomVo;
import com.yuchen.saas.park.api.vo.park.RoomVo;
import org.nest.springwrap.core.mp.base.BaseService;
import org.nest.springwrap.core.tool.api.R;

import java.util.List;

/**
 * @author 刘碧清
 * @date 2021/04/26 11:03
 */
public interface PmgBatParkRoomInfoService extends BaseService<PmgBatParkRoomInfo> {

    /**
     * 通过楼层id获取 房间信息
     *
     * @param floorId
     * @return
     */
    List<PmgbatParkRoomVo> getList(Long floorId, RoomVo roomVo);

    /**
     * 批量插入房间信息
     *
     * @param
     * @return
     */
    R submit(List<PmgbatParkRoomVo> pmgBatParkRoomVos);

}
