|
@@ -547,7 +547,7 @@ public class EmailParseService {
|
|
|
ReportParserParams params = new ReportParserParams(fileId, fileName, filepath, reportType);
|
|
|
long start = System.currentTimeMillis();
|
|
|
try {
|
|
|
- if (isAmac) {
|
|
|
+ if (isAmac || reportType == ReportType.LETTER) {
|
|
|
ReportParser<ReportData> instance = this.reportParserFactory.getInstance(reportType, fileType);
|
|
|
reportData = instance.parse(params);
|
|
|
result = new ParseResult<>(1, "报告解析成功", reportData);
|