package com.ruoyi.ibs.custmap.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.ibs.custmap.domain.dto.CustMapFavoriteDTO;
import com.ruoyi.ibs.custmap.domain.entity.CustMapFavorite;
import com.ruoyi.ibs.custmap.domain.vo.CustMapVO;
import com.ruoyi.ibs.custmap.domain.vo.FavoriteCountVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 吴凯程
 * @Date 2025/5/15
 **/
@Mapper
public interface CustMapFavoriteMapper extends BaseMapper<CustMapFavorite> {

    List<FavoriteCountVO> countFavoriteCustMap(@Param("userName") String userName);

    List<FavoriteCountVO> getCityWktList();

    List<CustMapVO> getFavoriteCustList(CustMapFavoriteDTO custMapFavoriteDTO);
}
