Subversion Repositories SmartDukaan

Rev

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

Rev 24336 Rev 26456
Line 1... Line 1...
1
package com.spice.profitmandi.service;
1
package com.spice.profitmandi.service;
2
 
2
 
-
 
3
import java.util.List;
-
 
4
 
3
import org.springframework.stereotype.Service;
5
import org.springframework.stereotype.Service;
4
 
6
 
5
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
7
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
6
import com.spice.profitmandi.dao.entity.fofo.PartnerDailyInvestment;
8
import com.spice.profitmandi.dao.entity.fofo.PartnerDailyInvestment;
7
 
9
 
8
@Service
10
@Service
9
public interface PartnerInvestmentService {
11
public interface PartnerInvestmentService {
10
	boolean isInvestmentBelow(int fofoId, int percentage) throws ProfitMandiBusinessException;
12
	boolean isInvestmentBelow(int fofoId, int percentage) throws ProfitMandiBusinessException;
11
	PartnerDailyInvestment getInvestment(int fofoId, int minusSalesDays) throws ProfitMandiBusinessException;
13
	PartnerDailyInvestment getInvestment(int fofoId, int minusSalesDays) throws ProfitMandiBusinessException;
12
	boolean isInvestmentOk(int fofoId, int minPercentage, int maxPercentage) throws ProfitMandiBusinessException;
14
	boolean isInvestmentOk(int fofoId, int minPercentage, int maxPercentage) throws ProfitMandiBusinessException;
-
 
15
	List<PartnerDailyInvestment> getInvestment(List<Integer> fofoIds, int minusSalesDays)
-
 
16
			throws ProfitMandiBusinessException;
13
}
17
}