Browse Source

Pull request #2: QFX-1737 fix:数据上传之后报错

Merge in QFX/base-third from ~ECHEN/base-third:persist/10.0 to persist/10.0

* commit '327309208a946e2881f9ef8c5123044f963a6617':
  QFX-1737 fix:数据上传之后报错
release/10.0
Echen 4 years ago
parent
commit
a5039b98cd
  1. 9
      fine-poi/src/main/java/com/fr/third/v2/org/apache/poi/openxml4j/opc/internal/PackagePropertiesPart.java

9
fine-poi/src/main/java/com/fr/third/v2/org/apache/poi/openxml4j/opc/internal/PackagePropertiesPart.java

@ -571,10 +571,11 @@ public final class PackagePropertiesPart extends PackagePart implements
df.setTimeZone(LocaleUtil.TIMEZONE_UTC);
d = df.parse(dateTzStr, new ParsePosition(0));
}
if (d == null) {
throw new InvalidFormatException("Date " + dateTzStr + " not well formated, "
+ "expected format " + DEFAULT_DATEFORMAT + " or " + ALTERNATIVE_DATEFORMAT);
}
// BI-72094 先解决问题
// if (d == null) {
// throw new InvalidFormatException("Date " + dateTzStr + " not well formated, "
// + "expected format " + DEFAULT_DATEFORMAT + " or " + ALTERNATIVE_DATEFORMAT);
// }
return new Nullable<Date>(d);
}

Loading…
Cancel
Save