| Line 95... |
Line 95... |
| 95 |
ProfitMandiBusinessException profitMandiBusinessException = new ProfitMandiBusinessException(TAG_LISTING, "", "TGLSTNG_VE_1012");
|
95 |
ProfitMandiBusinessException profitMandiBusinessException = new ProfitMandiBusinessException(TAG_LISTING, "", "TGLSTNG_VE_1012");
|
| 96 |
LOGGER.error("Excel file parse error : ", profitMandiBusinessException);
|
96 |
LOGGER.error("Excel file parse error : ", profitMandiBusinessException);
|
| 97 |
throw profitMandiBusinessException;
|
97 |
throw profitMandiBusinessException;
|
| 98 |
// missing headers in first row
|
98 |
// missing headers in first row
|
| 99 |
}
|
99 |
}
|
| - |
|
100 |
LOGGER.info("rowNumber {}", rowNumber);
|
| - |
|
101 |
LOGGER.info("row {}", row);
|
| - |
|
102 |
LOGGER.info("row {}", row.getLastCellNum());
|
| 100 |
if(rowNumber > 0 && row != null && row.getLastCellNum() == 11){
|
103 |
if(rowNumber > 0 && row != null && row.getLastCellNum() == 11){
|
| 101 |
TagListingModel tagListing = new TagListingModel();
|
104 |
TagListingModel tagListing = new TagListingModel();
|
| 102 |
if(row.getCell(0) != null && row.getCell(0).getCellTypeEnum() == CellType.NUMERIC){
|
105 |
if(row.getCell(0) != null && row.getCell(0).getCellTypeEnum() == CellType.NUMERIC){
|
| 103 |
tagListing.setTagId((Double.valueOf(row.getCell(0).getNumericCellValue())).intValue());
|
106 |
tagListing.setTagId((Double.valueOf(row.getCell(0).getNumericCellValue())).intValue());
|
| 104 |
}else{
|
107 |
}else{
|