package com.sptg.estate.biz.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.sptg.estate.api.dto.FloorDto;
import com.sptg.estate.api.entity.Floor;
import org.apache.ibatis.annotations.Param;

/**
 * title: FloorMapper
 * package: com.sptg.estate.biz.mapper
 * description: 楼层 DAO接口
 *
 *             
 *                 
 */
public interface FloorMapper extends BaseMapper<Floor> {

    /**
     * 功能描述:根据条件查询楼层
     * @param floorDto 楼层业务对象
     * @param wrapper 查询条件
     * @return int 数量
     *             
     *                      
     */
    int findFloorByCondition(@Param(value = "dto") FloorDto floorDto, @Param(value = "ew") Wrapper<Floor> wrapper);
}
