Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/zhaofuqiangmycomm/article/details/88548126
// Excel import data, but if the Excel cell type in a numerical value, but when the content data is too long (such as bank account numbers), import, default read as scientific notation, it is easy to solve with the following code BigDecimal bd = new BigDecimal(customer.getMobPhone()); String MyPhone=bd.toPlainString(); customer.setMobPhone(MyPhone);