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.PropertyCustomerArchivesDupNameListQueryDto;
import com.yuchen.saas.park.api.dto.property.PropertyCustomerArchivesQueryDto;
import com.yuchen.saas.park.api.entity.property.PropertyCustomerArchives;
import com.yuchen.saas.park.api.vo.property.PropertyCustomerArchivesDupNameListVo;
import com.yuchen.saas.park.api.vo.property.PropertyCustomerArchivesListVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 蔡文强
 * @Date 2023/11/28 10:56
 * @Description 客户档案表 Mapper 接口
 */
public interface PropertyCustomerArchivesMapper extends BaseMapper<PropertyCustomerArchives> {
    Page<PropertyCustomerArchivesListVo> getCustomerArchivesPageList(Page<PropertyCustomerArchivesListVo> page, @Param("queryDto") PropertyCustomerArchivesQueryDto queryDto);
    List<PropertyCustomerArchivesDupNameListVo> getDupNameList(@Param("queryDto") PropertyCustomerArchivesDupNameListQueryDto queryDto);
}
