package com.dk.mdm.mapper.mst;

import com.dk.mdm.model.pojo.mst.CusFollow;
import com.dk.common.mapper.BaseMapper;
import com.dk.mdm.model.query.mst.CusFollowQuery;
import com.dk.mdm.model.query.mst.CustomerQuery;
import com.dk.mdm.model.response.mst.CusFollowResponse;
import com.dk.mdm.model.response.mst.CustomerResponse;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 客户跟进 Mapper
 */
@Repository
public interface CusFollowMapper extends BaseMapper<CusFollow> {


    /**
     * @desc : 根据条件进行查询
     * @author : 于继渤
     * @date : 2024/2/26 10:36
     */
    List<CusFollowResponse> selectByCond(CusFollowQuery cusFollowQuery);


    /**
     * @desc : 根据条件进行查询（数量）
     * @author : 于继渤
     * @date : 2024/2/26 10:36
     */
    Long countByCond(CusFollowQuery cusFollowQuery);

    /**
     * @desc : 查询跟进记录
     * @author : 于继渤
     * @date : 2024/2/26 10:36
     */
    List<CusFollowResponse> selectByList(CusFollowQuery cusFollowQuery);


    int updateMeasure(CusFollow cusFollow);

}

