| Line 1... |
Line 1... |
| 1 |
package com.spice.profitmandi.service.inventory;
|
1 |
package com.spice.profitmandi.service.inventory;
|
| 2 |
|
2 |
|
| 3 |
import java.time.LocalDateTime;
|
- |
|
| 4 |
import java.util.List;
|
- |
|
| 5 |
|
- |
|
| 6 |
import org.springframework.stereotype.Service;
|
3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 7 |
|
- |
|
| 8 |
import com.spice.profitmandi.common.model.ItemCompleteLedgerModel;
|
4 |
import com.spice.profitmandi.common.model.ItemCompleteLedgerModel;
|
| 9 |
import com.spice.profitmandi.common.model.ItemLedgerModel;
|
5 |
import com.spice.profitmandi.common.model.ItemLedgerModel;
|
| - |
|
6 |
import org.springframework.stereotype.Service;
|
| - |
|
7 |
|
| - |
|
8 |
import java.time.LocalDateTime;
|
| - |
|
9 |
import java.util.List;
|
| 10 |
|
10 |
|
| 11 |
@Service
|
11 |
@Service
|
| 12 |
public interface ItemLedgerService {
|
12 |
public interface ItemLedgerService {
|
| 13 |
public List<ItemLedgerModel> getItemPurchase(LocalDateTime startDateTime, LocalDateTime endDateTime, int fofoId);
|
13 |
public List<ItemLedgerModel> getItemPurchase(LocalDateTime startDateTime, LocalDateTime endDateTime, int fofoId) throws ProfitMandiBusinessException;
|
| - |
|
14 |
|
| 14 |
public List<ItemLedgerModel> getItemSale(LocalDateTime startDateTime, LocalDateTime endDateTime, int fofoId);
|
15 |
public List<ItemLedgerModel> getItemSale(LocalDateTime startDateTime, LocalDateTime endDateTime, int fofoId) throws ProfitMandiBusinessException;
|
| - |
|
16 |
|
| 15 |
public List<ItemLedgerModel> getItemOpening(LocalDateTime startDateTime, int fofoId);
|
17 |
public List<ItemLedgerModel> getItemOpening(LocalDateTime startDateTime, int fofoId) throws ProfitMandiBusinessException;
|
| - |
|
18 |
|
| 16 |
public List<ItemLedgerModel> getItemClosing(LocalDateTime endDateTime, int fofoId);
|
19 |
public List<ItemLedgerModel> getItemClosing(LocalDateTime endDateTime, int fofoId) throws ProfitMandiBusinessException;
|
| - |
|
20 |
|
| 17 |
public List<ItemCompleteLedgerModel> getItemCompleteLedger(LocalDateTime startDateTime, LocalDateTime endDateTime, int fofoId);
|
21 |
public List<ItemCompleteLedgerModel> getItemCompleteLedger(LocalDateTime startDateTime, LocalDateTime endDateTime, int fofoId) throws ProfitMandiBusinessException;
|
| 18 |
}
|
22 |
}
|