package com.yeejoin.amos.boot.module.common.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.amos.boot.module.common.api.dto.KeySiteDateDto;
import com.yeejoin.amos.boot.module.common.api.dto.KeySiteDto;
import com.yeejoin.amos.boot.module.common.api.entity.KeySite;

import java.util.List;

/**
 * 重点部位 Mapper 接口
 *
 * @author system_generator
 * @date 2021-07-26
 */
public interface KeySiteMapper extends BaseMapper<KeySite> {
/**
 * 分页查询
 */

public IPage<KeySiteDto> getPageList(Page<KeySiteDto> page, String name, Long buildingId, String fireEnduranceRate,
			String useNature, String fireFacilitiesInfo, Long belongId,String belongName);
/**
 * 获取所有的重点部位数据
 * @return
 */
public List<KeySiteDto> getKeySiteList( String name, Long buildingId, String fireEnduranceRate,
										String useNature, String fireFacilitiesInfo, Long belongId);
/**
 * 根据id查找
 * @param sequenceNbr
 * @return
 */
public KeySiteDto getSequenceNbr(Long sequenceNbr);


public  List<KeySiteDateDto> getKeySiteDate(Long id);
public List<String> getAddress();

}
