Browse Source

小数bug处理

wangfeng 6 years ago
parent
commit
9ed87966c6

+ 1 - 1
icss-service/src/main/java/com/diagbot/facade/LisExcelResFacade.java

@@ -215,7 +215,7 @@ public class LisExcelResFacade {
 					obj = DateFormatUtils.format(date, "yyyy-MM-dd");
 				} else {
 					obj = cell.getNumericCellValue();
-					DecimalFormat df = new DecimalFormat("0");
+					DecimalFormat df = new DecimalFormat();
 					obj = df.format(obj);
 				}