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