|
@@ -109,10 +109,9 @@ public class ExcelUtil {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
if(cell != null){
|
|
if(cell != null){
|
|
- String stringCellValue = cell.getStringCellValue();
|
|
|
|
- log.info(stringCellValue.trim());
|
|
|
|
- log.info(cell.toString().trim());
|
|
|
|
- String value = fommartNum(cell.toString().trim());
|
|
|
|
|
|
+ DataFormatter formatter = new DataFormatter();
|
|
|
|
+ String phoneNumber = formatter.formatCellValue(cell);
|
|
|
|
+ String value = fommartNum(phoneNumber);
|
|
map.put(cellNum,value);
|
|
map.put(cellNum,value);
|
|
}
|
|
}
|
|
|
|
|