Subversion Repositories SmartDukaan

Rev

Rev 26783 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26783 Rev 32252
Line 1... Line 1...
1
package com.spice.profitmandi.dao.repository.dtr;
1
package com.spice.profitmandi.dao.repository.dtr;
2
 
2
 
3
import java.util.List;
3
import com.spice.profitmandi.dao.entity.dtr.Optin;
4
 
-
 
5
import org.springframework.stereotype.Repository;
4
import org.springframework.stereotype.Repository;
6
 
5
 
7
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
-
 
8
import com.spice.profitmandi.dao.entity.dtr.Otp;
-
 
9
 
-
 
10
@Repository
6
@Repository
11
public interface OtpRepository {
7
public interface OptinRepository {
12
	public void persist(Otp otp);
8
    void persist(Optin otp);
-
 
9
 
13
	public List<Otp> selectAllByMobileWithTime(String mobile);
10
    Optin selectByMobile(String mobile);
14
	public Otp selectById(int id) throws ProfitMandiBusinessException;
-
 
15
	public Otp selectByIdEmailIdMobileNumber(int id, String emailId, String mobileNumber) throws ProfitMandiBusinessException;
-
 
16
}
11
}