Explorar o código

小数bug处理

wangfeng %!s(int64=6) %!d(string=hai) anos
pai
achega
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);
 				}