| Line 25... |
Line 25... |
| 25 |
|
25 |
|
| 26 |
/**
|
26 |
/**
|
| 27 |
* Filtered, sorted, paged rows for the dashboard's Lead-pipeline table. A non-empty {@code q}
|
27 |
* Filtered, sorted, paged rows for the dashboard's Lead-pipeline table. A non-empty {@code q}
|
| 28 |
* searches every lead and IGNORES the date window; otherwise the window applies.
|
28 |
* searches every lead and IGNORES the date window; otherwise the window applies.
|
| 29 |
*/
|
29 |
*/
|
| 30 |
public List<Lead> selectPipeline(String q, Integer regionId, LocalDateTime from, LocalDateTime to,
|
30 |
public List<Lead> selectPipeline(String q, Integer regionId, Integer agentId, LocalDateTime from, LocalDateTime to,
|
| 31 |
String sort, String dir, int offset, int limit);
|
31 |
String sort, String dir, int offset, int limit);
|
| 32 |
|
32 |
|
| 33 |
/** Total rows matching the same filters as {@link #selectPipeline}. */
|
33 |
/** Total rows matching the same filters as {@link #selectPipeline}. */
|
| 34 |
public long countPipeline(String q, Integer regionId, LocalDateTime from, LocalDateTime to);
|
34 |
public long countPipeline(String q, Integer regionId, Integer agentId, LocalDateTime from, LocalDateTime to);
|
| 35 |
|
35 |
|
| 36 |
public List<Lead> selectByAssignAuthIdAndStatus(int authId, LeadStatus status);
|
36 |
public List<Lead> selectByAssignAuthIdAndStatus(int authId, LeadStatus status);
|
| 37 |
|
37 |
|
| 38 |
public List<Lead> selectByAssignAuthIdsAndStatus(List<Integer> authId, LeadStatus status);
|
38 |
public List<Lead> selectByAssignAuthIdsAndStatus(List<Integer> authId, LeadStatus status);
|
| 39 |
|
39 |
|