Subversion Repositories SmartDukaan

Rev

Rev 34384 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.cart;

import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
import com.spice.profitmandi.common.model.ProfitMandiConstants;
import com.spice.profitmandi.dao.entity.fofo.FofoOpeningStock;
import com.spice.profitmandi.dao.model.*;
import com.spice.profitmandi.service.inventory.FocusedShortageModel;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;
import java.util.Set;

@Service
public interface SmartCartService{

    List<SoldFocusedItemPartnerWiseModel> getAllSoldFocusModelByPartner(int fofoId, LocalDateTime orderDate);

    List<PoAndGrnPendingPartnerStockModel> getAllGrnPendingAndPoPartnerStock(int fofoId);

    Set<Integer> getAllItemIdsForSmartCartOfPartner(int fofoId) throws ProfitMandiBusinessException;

    void addOpeningStock(int itemId, int fofoId, int quantity) throws ProfitMandiBusinessException;

    void minusOpeningStock(int itemId, int fofoId, int quantity) throws ProfitMandiBusinessException;

    public List<SoldAllCatalogitemQtyByPartnerModel> getAllSoldCatalogItemByPartner(int fofoId, LocalDateTime startOfday, LocalDateTime endOfDay);


}