Subversion Repositories SmartDukaan

Rev

Rev 27618 | Rev 30197 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27618 Rev 30148
Line 1... Line 1...
1
package com.spice.profitmandi.service.inventory;
1
package com.spice.profitmandi.service.inventory;
2
 
2
 
3
import java.time.LocalDate;
-
 
4
import java.time.LocalDateTime;
-
 
5
import java.util.List;
-
 
6
import java.util.Map;
-
 
7
import java.util.Set;
-
 
8
 
-
 
9
import org.springframework.stereotype.Service;
-
 
10
 
-
 
11
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
12
import com.spice.profitmandi.common.model.BrandStockPrice;
4
import com.spice.profitmandi.common.model.BrandStockPrice;
13
import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;
5
import com.spice.profitmandi.common.model.CustomCurrentInventorySnapshot;
14
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
6
import com.spice.profitmandi.common.model.InventoryItemAgingModel;
15
import com.spice.profitmandi.common.model.ItemDescriptionModel;
7
import com.spice.profitmandi.common.model.ItemDescriptionModel;
16
import com.spice.profitmandi.common.model.MapWrapper;
-
 
17
import com.spice.profitmandi.dao.entity.fofo.CustomerReturnItem;
8
import com.spice.profitmandi.dao.entity.fofo.CustomerReturnItem;
18
import com.spice.profitmandi.dao.entity.fofo.DebitNote;
9
import com.spice.profitmandi.dao.entity.fofo.DebitNote;
19
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
10
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
20
import com.spice.profitmandi.dao.entity.fofo.PurchaseReturnItem;
11
import com.spice.profitmandi.dao.entity.fofo.PurchaseReturnItem;
21
import com.spice.profitmandi.dao.entity.inventory.SaholicInventoryCIS;
12
import com.spice.profitmandi.dao.entity.inventory.SaholicInventoryCIS;
22
import com.spice.profitmandi.dao.entity.transaction.Order;
-
 
23
 
-
 
24
import in.shop2020.model.v1.user.ItemQuantity;
13
import in.shop2020.model.v1.user.ItemQuantity;
-
 
14
import org.springframework.stereotype.Service;
-
 
15
 
-
 
16
import java.time.LocalDate;
-
 
17
import java.time.LocalDateTime;
-
 
18
import java.util.List;
-
 
19
import java.util.Map;
-
 
20
import java.util.Set;
25
 
21
 
26
@Service
22
@Service
27
public interface InventoryService {
23
public interface InventoryService {
28
	public Map<Integer, String> getItemIdDescriptionMap(Set<Integer> itemIds);
24
	public Map<Integer, String> getItemIdDescriptionMap(Set<Integer> itemIds);
29
 
25
 
Line 31... Line 27...
31
 
27
 
32
	public Set<String> getAllTagListingBrands();
28
	public Set<String> getAllTagListingBrands();
33
 
29
 
34
	public Set<String> getAllTagListingBrands(int categoryId);
30
	public Set<String> getAllTagListingBrands(int categoryId);
35
 
31
 
36
	public Map<Integer, String> getAllTagListingItemIdItemDescriptionMap(String brand);
32
	public Map<Integer, String> getModelDescriptionMap(String brand);
37
 
33
 
38
	public List<MapWrapper<Integer, String>> getAllTagListingItemIdItemDescriptionMap(Set<String> brands);
34
	public Map<Integer, String> getModelDescriptionMap(Set<String> brands) throws Exception;
39
 
35
 
40
	public Map<String, Object> getCurrentInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
36
	public Map<String, Object> getCurrentInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
41
 
37
 
42
	public Map<String, Object> getBadInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
38
	public Map<String, Object> getBadInventorySnapshot(int fofoId, int offset, int limit, String searchTerm);
43
 
39