Subversion Repositories SmartDukaan

Rev

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

Rev 29865 Rev 29867
Line 1245... Line 1245...
1245
	private WarehouseInventoryService warehouseInventoryService;
1245
	private WarehouseInventoryService warehouseInventoryService;
1246
 
1246
 
1247
	public void genericCreateCurrentInventorySnapshot() throws Exception {
1247
	public void genericCreateCurrentInventorySnapshot() throws Exception {
1248
		purchaseService.genericCreateCurrentInventorySnapshot(175138856, 32820, 2);
1248
		purchaseService.genericCreateCurrentInventorySnapshot(175138856, 32820, 2);
1249
	}
1249
	}
-
 
1250
 
1250
	public void fixScans() {
1251
	public void fixScans() {
1251
		Map<Integer, Integer> inventoryOrderMap = new HashMap<>();
1252
		Map<Integer, Integer> inventoryOrderMap = new HashMap<>();
1252
		inventoryOrderMap.put(348795, 1628598);
1253
		inventoryOrderMap.put(348795, 1628598);
1253
		inventoryOrderMap.put(348796, 1628599);
1254
		inventoryOrderMap.put(348796, 1628599);
1254
		inventoryOrderMap.put(329854, 1628600);
1255
		inventoryOrderMap.put(329854, 1628600);
Line 1584... Line 1585...
1584
 
1585
 
1585
			Document panDoc = documentRepository.selectById(fk.getPanDoc());
1586
			Document panDoc = documentRepository.selectById(fk.getPanDoc());
1586
			File fPan = new File(panDoc.getPath() + panDoc.getName());
1587
			File fPan = new File(panDoc.getPath() + panDoc.getName());
1587
			String encodeString = encodeFileToBase64Binary(fPan);
1588
			String encodeString = encodeFileToBase64Binary(fPan);
1588
 
1589
 
1589
			LOGGER.info("encodstring" + encodeString);
-
 
1590
 
-
 
1591
			mandiiService.documentUpload(pan, fk.getMobile(), "PAN", encodeString, null);
1590
			mandiiService.documentUpload(pan, fk.getMobile(), "PAN", encodeString, null);
1592
 
1591
 
1593
			Document adhaarF = documentRepository.selectById(fk.getPoaFront());
1592
			Document adhaarF = documentRepository.selectById(fk.getPoaFront());
1594
			File adharf = new File(adhaarF.getPath() + adhaarF.getName());
1593
			File adharf = new File(adhaarF.getPath() + adhaarF.getName());
1595
			String adhaarFEncodstring = encodeFileToBase64Binary(adharf);
1594
			String adhaarFEncodstring = encodeFileToBase64Binary(adharf);