Subversion Repositories SmartDukaan

Rev

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

Rev 6765 Rev 6880
Line 1... Line 1...
1
package in.shop2020.warehouse.handler;
1
package in.shop2020.warehouse.handler;
2
 
2
 
3
import in.shop2020.warehouse.DetailedPurchaseScan;
3
import in.shop2020.warehouse.DetailedPurchaseScan;
4
import in.shop2020.warehouse.InventoryAge;
4
import in.shop2020.warehouse.InventoryAge;
5
import in.shop2020.warehouse.InventoryAvailability;
5
import in.shop2020.warehouse.InventoryAvailability;
6
//import in.shop2020.warehouse.InventoryMovement;
6
import in.shop2020.warehouse.InventoryMovement;
7
import in.shop2020.warehouse.InvoiceScan;
7
import in.shop2020.warehouse.InvoiceScan;
8
import in.shop2020.warehouse.ScanType;
8
import in.shop2020.warehouse.ScanType;
9
import in.shop2020.warehouse.domain.InventoryItem;
-
 
10
import in.shop2020.warehouse.domain.Scan;
9
import in.shop2020.warehouse.domain.Scan;
11
import in.shop2020.warehouse.persistence.ScanMapper;
10
import in.shop2020.warehouse.persistence.ScanMapper;
12
 
11
 
13
import java.util.Date;
12
import java.util.Date;
14
import java.util.HashMap;
-
 
15
import java.util.List;
13
import java.util.List;
16
import java.util.Map;
-
 
17
 
14
 
18
import org.springframework.beans.factory.annotation.Autowired;
15
import org.springframework.beans.factory.annotation.Autowired;
19
import org.springframework.stereotype.Service;
16
import org.springframework.stereotype.Service;
20
 
17
 
21
@Service
18
@Service
Line 95... Line 92...
95
 
92
 
96
	public List<InventoryAvailability> getHistoricNonSerializedInventoryByScans(Date date) {
93
	public List<InventoryAvailability> getHistoricNonSerializedInventoryByScans(Date date) {
97
		return scanMapper.getHistoricNonSerializedInventoryByScans(date);
94
		return scanMapper.getHistoricNonSerializedInventoryByScans(date);
98
	}
95
	}
99
 
96
 
100
	/*public List<InventoryMovement> getMovementSerializedInventoryByScans(
97
	public List<InventoryMovement> getMovementSerializedInventoryByScans(
101
			Date startDate, Date endDate) {
98
			Date startDate, Date endDate) {
102
		return scanMapper.getMovementSerializedInventoryByScans(startDate, endDate);
99
		return scanMapper.getMovementSerializedInventoryByScans(startDate, endDate);
103
	}
100
	}
104
 
101
 
105
	public List<InventoryMovement> getMovementNonSerializedInventoryByScans(
102
	public List<InventoryMovement> getMovementNonSerializedInventoryByScans(
106
			Date startDate, Date endDate) {
103
			Date startDate, Date endDate) {
107
		return scanMapper.getMovementNonSerializedInventoryByScans(startDate, endDate);
104
		return scanMapper.getMovementNonSerializedInventoryByScans(startDate, endDate);
108
	}*/
105
	}
109
}
106
}