Subversion Repositories SmartDukaan

Rev

Rev 34449 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34449 Rev 35493
Line 22... Line 22...
22
 
22
 
23
    void addOpeningStock(int itemId, int fofoId, int quantity) throws ProfitMandiBusinessException;
23
    void addOpeningStock(int itemId, int fofoId, int quantity) throws ProfitMandiBusinessException;
24
 
24
 
25
    void minusOpeningStock(int itemId, int fofoId, int quantity) throws ProfitMandiBusinessException;
25
    void minusOpeningStock(int itemId, int fofoId, int quantity) throws ProfitMandiBusinessException;
26
 
26
 
-
 
27
    /**
-
 
28
     * Batch update opening stock for multiple items - reduces N+1 queries to 2 queries
-
 
29
     * @param itemIdQuantityMap map of itemId to quantity to subtract
-
 
30
     * @param fofoId partner ID
-
 
31
     */
-
 
32
    void minusOpeningStockBatch(Map<Integer, Integer> itemIdQuantityMap, int fofoId) throws ProfitMandiBusinessException;
-
 
33
 
27
    public List<SoldAllCatalogitemQtyByPartnerModel> getAllSoldCatalogItemByPartner(int fofoId, LocalDateTime startOfday, LocalDateTime endOfDay);
34
    public List<SoldAllCatalogitemQtyByPartnerModel> getAllSoldCatalogItemByPartner(int fofoId, LocalDateTime startOfday, LocalDateTime endOfDay);
28
 
35
 
29
 
36
 
30
    public Map<Integer, Map<Integer, Integer>> activatedButNotBilledCatalogQtyMap() throws ProfitMandiBusinessException;
37
    public Map<Integer, Map<Integer, Integer>> activatedButNotBilledCatalogQtyMap() throws ProfitMandiBusinessException;
31
}
38
}