| Line 113... |
Line 113... |
| 113 |
ProfitMandiBusinessException profitMandiBusinessException = new ProfitMandiBusinessException(SUPPORT_PRICE, row.getCell(10).toString(), "TGLSTNG_VE_1010");
|
113 |
ProfitMandiBusinessException profitMandiBusinessException = new ProfitMandiBusinessException(SUPPORT_PRICE, row.getCell(10).toString(), "TGLSTNG_VE_1010");
|
| 114 |
LOGGER.error("Excel file parse error : ", profitMandiBusinessException);
|
114 |
LOGGER.error("Excel file parse error : ", profitMandiBusinessException);
|
| 115 |
throw profitMandiBusinessException;
|
115 |
throw profitMandiBusinessException;
|
| 116 |
}
|
116 |
}
|
| 117 |
if(row.getCell(11) != null && HSSFDateUtil.isCellDateFormatted(row.getCell(11))){
|
117 |
if(row.getCell(11) != null && HSSFDateUtil.isCellDateFormatted(row.getCell(11))){
|
| 118 |
Date date = row.getCell(10).getDateCellValue();
|
118 |
Date date = row.getCell(11).getDateCellValue();
|
| 119 |
LocalDateTime startDate = LocalDateTime.ofInstant(date.toInstant(), ZoneId.systemDefault());
|
119 |
LocalDateTime startDate = LocalDateTime.ofInstant(date.toInstant(), ZoneId.systemDefault());
|
| 120 |
tagListing.setStartDate(startDate);
|
120 |
tagListing.setStartDate(startDate);
|
| 121 |
}else{
|
121 |
}else{
|
| 122 |
ProfitMandiBusinessException profitMandiBusinessException = new ProfitMandiBusinessException(START_DATE, row.getCell(10).toString(), "TGLSTNG_VE_1010");
|
122 |
ProfitMandiBusinessException profitMandiBusinessException = new ProfitMandiBusinessException(START_DATE, row.getCell(11).toString(), "TGLSTNG_VE_1010");
|
| 123 |
LOGGER.error("Excel file parse error : ", profitMandiBusinessException);
|
123 |
LOGGER.error("Excel file parse error : ", profitMandiBusinessException);
|
| 124 |
throw profitMandiBusinessException;
|
124 |
throw profitMandiBusinessException;
|
| 125 |
}
|
125 |
}
|
| 126 |
tagListings.add(tagListing);
|
126 |
tagListings.add(tagListing);
|
| 127 |
}
|
127 |
}
|