Subversion Repositories SmartDukaan

Rev

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

Rev 22206 Rev 22208
Line 93... Line 93...
93
					ProfitMandiBusinessException profitMandiBusinessException = new ProfitMandiBusinessException(TAG_LISTING, "", "TGLSTNG_VE_1012");
93
					ProfitMandiBusinessException profitMandiBusinessException = new ProfitMandiBusinessException(TAG_LISTING, "", "TGLSTNG_VE_1012");
94
					//LOGGER.error("Excel file parse error : ", profitMandiBusinessException);
94
					//LOGGER.error("Excel file parse error : ", profitMandiBusinessException);
95
					throw profitMandiBusinessException;
95
					throw profitMandiBusinessException;
96
					// missing headers in first row
96
					// missing headers in first row
97
				}
97
				}
98
				if(rowNumber > 0 && row != null && row.getLastCellNum() == 10){
98
				if(rowNumber > 0 && row != null && row.getLastCellNum() == 11){
99
					TagListingModel tagListing = new TagListingModel();
99
					TagListingModel tagListing = new TagListingModel();
100
					if(row.getCell(0) != null && row.getCell(0).getCellTypeEnum() == CellType.NUMERIC){
100
					if(row.getCell(0) != null && row.getCell(0).getCellTypeEnum() == CellType.NUMERIC){
101
						tagListing.setTagId((Double.valueOf(row.getCell(0).getNumericCellValue())).intValue());
101
						tagListing.setTagId((Double.valueOf(row.getCell(0).getNumericCellValue())).intValue());
102
					}else{
102
					}else{
103
						ProfitMandiBusinessException profitMandiBusinessException = new ProfitMandiBusinessException(TAG_ID, row.getCell(0).toString(), "TGLSTNG_VE_1010");
103
						ProfitMandiBusinessException profitMandiBusinessException = new ProfitMandiBusinessException(TAG_ID, row.getCell(0).toString(), "TGLSTNG_VE_1010");