Subversion Repositories SmartDukaan

Rev

Rev 25899 | Rev 25927 | 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
 
15
	public List<Lead> selectByAuthIdAndStatus(int authId, LeadStatus status, int offset, int limit);
16
 
17
	public Lead selectById(int id);
25915 amit.gupta 18
 
19
	List<Lead> selectLeadsScheduledBetweenDate(LocalDateTime startDate, LocalDateTime endDate);
25899 tejbeer 20
}