Subversion Repositories SmartDukaan

Rev

Rev 37651 | Rev 37729 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37651 Rev 37692
Line 21... Line 21...
21
 
21
 
22
    List<Lead> selectAllByColorStatusAndBetweenDate(List<LeadStatus> status, List<String> color, LocalDateTime createdTimestamp, LocalDateTime endDateTimeStamp);
22
    List<Lead> selectAllByColorStatusAndBetweenDate(List<LeadStatus> status, List<String> color, LocalDateTime createdTimestamp, LocalDateTime endDateTimeStamp);
23
 
23
 
24
    public List<Lead> selectAllByIds(List<Integer> ids);
24
    public List<Lead> selectAllByIds(List<Integer> ids);
25
 
25
 
-
 
26
    /**
-
 
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.
-
 
29
     */
-
 
30
    public List<Lead> selectPipeline(String q, Integer regionId, LocalDateTime from, LocalDateTime to,
-
 
31
                                     String sort, String dir, int offset, int limit);
-
 
32
 
-
 
33
    /** Total rows matching the same filters as {@link #selectPipeline}. */
-
 
34
    public long countPipeline(String q, Integer regionId, LocalDateTime from, LocalDateTime to);
-
 
35
 
26
    public List<Lead> selectByAssignAuthIdAndStatus(int authId, LeadStatus status);
36
    public List<Lead> selectByAssignAuthIdAndStatus(int authId, LeadStatus status);
27
 
37
 
28
    public List<Lead> selectByAssignAuthIdsAndStatus(List<Integer> authId, LeadStatus status);
38
    public List<Lead> selectByAssignAuthIdsAndStatus(List<Integer> authId, LeadStatus status);
29
 
39
 
30
    public List<Lead> selectAll(int offset, int limit);
40
    public List<Lead> selectAll(int offset, int limit);