Subversion Repositories SmartDukaan

Rev

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

Rev 36957 Rev 36984
Line 43... Line 43...
43
 
43
 
44
    public long getLeadCount(LeadStatus status, String searchTerm);
44
    public long getLeadCount(LeadStatus status, String searchTerm);
45
 
45
 
46
    public List<Lead> selectBySearchTerm(List<LeadStatus> status, String searchTerm, int offset, int limit);
46
    public List<Lead> selectBySearchTerm(List<LeadStatus> status, String searchTerm, int offset, int limit);
47
 
47
 
-
 
48
    // Global lead search: matches name / mobile / outlet / city across ALL leads (any status, any date).
-
 
49
    public List<Lead> selectByGlobalSearch(String searchTerm, int limit);
-
 
50
 
48
    public List<Lead> selectAllByColorStatusAndUpdatedTimestamp(List<LeadStatus> status, List<String> color, LocalDateTime updatedTimestamp);
51
    public List<Lead> selectAllByColorStatusAndUpdatedTimestamp(List<LeadStatus> status, List<String> color, LocalDateTime updatedTimestamp);
49
 
52
 
50
    public List<Lead> selectAllByColorStatusAndCreatedTimestamp(List<LeadStatus> status, List<String> color, LocalDateTime createdTimestamp);
53
    public List<Lead> selectAllByColorStatusAndCreatedTimestamp(List<LeadStatus> status, List<String> color, LocalDateTime createdTimestamp);
51
 
54
 
52
    List<Lead> selectAllByStatusAndUpdatedTimestampAndAuthId(List<LeadStatus> status, LocalDateTime updatedTimestamp, List<Integer> authIds);
55
    List<Lead> selectAllByStatusAndUpdatedTimestampAndAuthId(List<LeadStatus> status, LocalDateTime updatedTimestamp, List<Integer> authIds);