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