package com.ruoyi.ibs.custmap.mapper;

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

import java.util.List;

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

    List<CustMapVO> selectCustMapListByCircle(CustMapCircleDTO custMapCircleDTO );

    Long countCustMapListByCircle(CustMapCircleDTO custMapCircleDTO);

    CustInfoRadar selectByCustId(@Param("custId") String custId, @Param("dept") String dept);

}
