Subversion Repositories SmartDukaan

Rev

Rev 25915 | Rev 25979 | 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
 
25927 amit.gupta 8
import com.spice.profitmandi.dao.entity.user.FranchiseeVisit;
25899 tejbeer 9
import com.spice.profitmandi.dao.entity.user.Lead;
10
import com.spice.profitmandi.dao.enumuration.dtr.LeadStatus;
11
 
12
@Repository
13
public interface LeadRepository {
14
	public void persist(Lead lead);
15
 
16
	public List<Lead> selectByAuthIdAndStatus(int authId, LeadStatus status, int offset, int limit);
17
 
18
	public Lead selectById(int id);
25915 amit.gupta 19
 
20
	List<Lead> selectLeadsScheduledBetweenDate(LocalDateTime startDate, LocalDateTime endDate);
25899 tejbeer 21
}