FollowClueMapper.java
1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package cn.fw.valhalla.dao.mapper;
import cn.fw.valhalla.domain.db.follow.FollowClue;
import cn.fw.valhalla.domain.dto.FollowClueDTO;
import cn.fw.valhalla.domain.query.CustomerCluePoolQueryVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* 跟进线索
*
* @author : kurisu
* @version : 1.0
* @className : FollowClueMapper
* @description : 跟进线索
* @date : 2022-07-22 17:54
*/
@Repository
public interface FollowClueMapper extends BaseMapper<FollowClue> {
/**
* 客户线索池
* @param startIndex
* @param pageSize
* @param queryVO
* @return
*/
List<FollowClueDTO> clueList(@Param("startIndex") Integer startIndex, @Param("pageSize") Integer pageSize, @Param("condition") CustomerCluePoolQueryVO queryVO);
/**
* 总数
* @param queryVO
* @return
*/
Long clueListCount(@Param("condition") CustomerCluePoolQueryVO queryVO);
/**
* 成交数
* @param queryVO
* @return
*/
Long completeNum(@Param("condition") CustomerCluePoolQueryVO queryVO);
/**
* 战败数
* @param queryVO
* @return
*/
Long defeatNum(@Param("condition") CustomerCluePoolQueryVO queryVO);
/**
* 进行中的数量
* @param queryVO
* @return
*/
Long onGoingNum(@Param("condition") CustomerCluePoolQueryVO queryVO);
}