Subversion Repositories SmartDukaan

Rev

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

Rev 27424 Rev 27877
Line 1... Line 1...
1
package com.spice.profitmandi.service.scheme;
1
package com.spice.profitmandi.service.scheme;
2
 
2
 
-
 
3
import java.time.LocalDate;
3
import java.time.LocalDateTime;
4
import java.time.LocalDateTime;
4
import java.util.List;
5
import java.util.List;
5
import java.util.Map;
6
import java.util.Map;
6
import java.util.Set;
7
import java.util.Set;
7
 
8
 
Line 49... Line 50...
49
 
50
 
50
	public double getTotalMargin(int itemId, PartnerType partnerType, LocalDateTime localDateTime);
51
	public double getTotalMargin(int itemId, PartnerType partnerType, LocalDateTime localDateTime);
51
 
52
 
52
	Map<Integer, Float> getItemSchemeCashBack();
53
	Map<Integer, Float> getItemSchemeCashBack();
53
 
54
 
54
	public List<Scheme> selectSchemeByPartnerType(PartnerType partnerType, int itemId, boolean isAdmin, int offset,
55
	public List<Scheme> selectSchemeByPartnerType(PartnerType partnerType, LocalDate onDate, int itemId, boolean isAdmin, int offset,
55
			int limit) throws ProfitMandiBusinessException;
56
			int limit) throws ProfitMandiBusinessException;
56
 
57
 
57
	// void updateSchmesForModel(int catalogId) throws ProfitMandiBusinessException;
58
	// void updateSchmesForModel(int catalogId) throws ProfitMandiBusinessException;
58
 
59
 
59
	public long selectSchemeCount(PartnerType partnerType, int itemId, boolean isAdmin);
60
	public long selectSchemeCount(PartnerType partnerType, LocalDate onDate, int itemId, boolean isAdmin);
60
 
61
 
61
	void processActivation() throws ProfitMandiBusinessException;
62
	void processActivation() throws ProfitMandiBusinessException;
62
}
63
}