package com.storlead.sales.mapper.customer;

import com.storlead.framework.mybatis.mapper.MyBaseMapper;
import com.storlead.sales.pojo.entity.customer.CustomerFollowUpEntity;
import com.storlead.sales.pojo.vo.customer.CustomerFollowUpLastVO;
import com.storlead.mail.pojo.vo.UserClickTitleVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 客户跟进记录表 Mapper 接口
 * </p>
 *
 * @author YPZ
 * @since 2024-04-19
 */
public interface CustomerFollowUpMapper extends MyBaseMapper<CustomerFollowUpEntity> {

    List<CustomerFollowUpLastVO> getFollowUpLastVOList(@Param("resourceTypeIdList") List<Long> resourceTypeIdList,@Param("type") String type);

    List<CustomerFollowUpLastVO> getBusinessFollowUpLastVOList(@Param("resourceTypeIdList") List<Long> resourceTypeIdList,@Param("type") String type);

    List<UserClickTitleVO> selectUserClickTitle(@Param("ownerBy") Long ownerBy, @Param("title") String title);

}
