| 33873 |
ranu |
1 |
package com.spice.profitmandi.dao.cart;
|
|
|
2 |
|
|
|
3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 34384 |
ranu |
4 |
import com.spice.profitmandi.dao.model.PoAndGrnPendingPartnerStockModel;
|
|
|
5 |
import com.spice.profitmandi.dao.model.SoldAllCatalogitemQtyByPartnerModel;
|
|
|
6 |
import com.spice.profitmandi.dao.model.SoldFocusedItemPartnerWiseModel;
|
| 33873 |
ranu |
7 |
import org.springframework.stereotype.Service;
|
|
|
8 |
|
|
|
9 |
import java.time.LocalDateTime;
|
|
|
10 |
import java.util.List;
|
|
|
11 |
import java.util.Set;
|
|
|
12 |
|
|
|
13 |
@Service
|
|
|
14 |
public interface SmartCartService{
|
|
|
15 |
|
|
|
16 |
List<SoldFocusedItemPartnerWiseModel> getAllSoldFocusModelByPartner(int fofoId, LocalDateTime orderDate);
|
|
|
17 |
|
|
|
18 |
List<PoAndGrnPendingPartnerStockModel> getAllGrnPendingAndPoPartnerStock(int fofoId);
|
|
|
19 |
|
|
|
20 |
Set<Integer> getAllItemIdsForSmartCartOfPartner(int fofoId) throws ProfitMandiBusinessException;
|
|
|
21 |
|
|
|
22 |
void addOpeningStock(int itemId, int fofoId, int quantity) throws ProfitMandiBusinessException;
|
|
|
23 |
|
|
|
24 |
void minusOpeningStock(int itemId, int fofoId, int quantity) throws ProfitMandiBusinessException;
|
|
|
25 |
|
|
|
26 |
public List<SoldAllCatalogitemQtyByPartnerModel> getAllSoldCatalogItemByPartner(int fofoId, LocalDateTime startOfday, LocalDateTime endOfDay);
|
|
|
27 |
|
|
|
28 |
|
| 34384 |
ranu |
29 |
void updateFofoOpeningStockWithActivateButNotBilledImei() throws ProfitMandiBusinessException;
|
| 33873 |
ranu |
30 |
}
|