Subversion Repositories SmartDukaan

Rev

Rev 25927 | Rev 25988 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
25899 tejbeer 1
package com.spice.profitmandi.dao.repository.dtr;
2
 
25915 amit.gupta 3
import java.time.LocalDateTime;
25899 tejbeer 4
import java.util.List;
5
 
6
import org.springframework.stereotype.Repository;
7
 
8
import com.spice.profitmandi.dao.entity.user.Lead;
9
import com.spice.profitmandi.dao.enumuration.dtr.LeadStatus;
10
 
11
@Repository
12
public interface LeadRepository {
13
	public void persist(Lead lead);
14
 
25979 tejbeer 15
	public List<Lead> selectByAssignAuthIdAndStatus(int authId, LeadStatus status, int offset, int limit);
25899 tejbeer 16
 
17
	public Lead selectById(int id);
25915 amit.gupta 18
 
25979 tejbeer 19
	public List<Lead> selectAll(int offset, int limit);
20
 
21
	public List<Lead> selectAllByStatus(LeadStatus status);
22
 
25915 amit.gupta 23
	List<Lead> selectLeadsScheduledBetweenDate(LocalDateTime startDate, LocalDateTime endDate);
25899 tejbeer 24
}