Subversion Repositories SmartDukaan

Rev

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

Rev 6467 Rev 6484
Line 6... Line 6...
6
import in.shop2020.warehouse.ScanType;
6
import in.shop2020.warehouse.ScanType;
7
import in.shop2020.warehouse.domain.InventoryItem;
7
import in.shop2020.warehouse.domain.InventoryItem;
8
import in.shop2020.warehouse.persistence.InventoryItemMapper;
8
import in.shop2020.warehouse.persistence.InventoryItemMapper;
9
 
9
 
10
import java.util.List;
10
import java.util.List;
-
 
11
import java.util.Map;
11
 
12
 
12
import org.springframework.beans.factory.annotation.Autowired;
13
import org.springframework.beans.factory.annotation.Autowired;
13
import org.springframework.stereotype.Service;
14
import org.springframework.stereotype.Service;
14
 
15
 
15
import com.mysql.jdbc.StringUtils;
16
import com.mysql.jdbc.StringUtils;
Line 89... Line 90...
89
	}
90
	}
90
 
91
 
91
	public List<InventoryItem> getCurrentNonSerializedItemsByItemId(long itemId, long warehouseId) {
92
	public List<InventoryItem> getCurrentNonSerializedItemsByItemId(long itemId, long warehouseId) {
92
		return inventoryItemMapper.getCurrentNonSerializedItemsByItemId(itemId, warehouseId);
93
		return inventoryItemMapper.getCurrentNonSerializedItemsByItemId(itemId, warehouseId);
93
	}
94
	}
-
 
95
	
-
 
96
	public List<Map<String, Integer>> getCurrentSerializedInventory() {
-
 
97
		return inventoryItemMapper.getCurrentSerializedInventory();
-
 
98
	}
-
 
99
	
-
 
100
	public List<Map<String, Integer>> getCurrentNonSerializedInventory() {
-
 
101
		return inventoryItemMapper.getCurrentNonSerializedInventory();
-
 
102
	}
-
 
103
	
94
}
104
}