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

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuchen.saas.park.api.dto.property.PropertyHouseEnterpriseQueryDto;
import com.yuchen.saas.park.api.entity.property.PropertyHouseEnterprise;
import com.yuchen.saas.park.api.vo.property.PropertyEnterpriseAddressListVo;
import com.yuchen.saas.park.api.vo.property.PropertyHouseEnterpriseListVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 蔡文强
 * @Date 2023/11/28 10:56
 * @Description 园区入驻企业表 Mapper 接口
 */
public interface PropertyHouseEnterpriseMapper extends BaseMapper<PropertyHouseEnterprise> {
    Page<PropertyHouseEnterpriseListVo> getHouseEnterprisePageList(Page<PropertyHouseEnterpriseListVo> page, @Param("queryDto") PropertyHouseEnterpriseQueryDto queryDto);
    List<PropertyHouseEnterpriseListVo> getHouseEnterpriseList(@Param("queryDto") PropertyHouseEnterpriseQueryDto queryDto);
    Page<PropertyEnterpriseAddressListVo> getEnterpriseAddressList(Page<PropertyEnterpriseAddressListVo> page, @Param("queryDto") PropertyHouseEnterpriseQueryDto queryDto);
}
