瀏覽代碼

fix:申万宏源证券的基金名称识别

wangzaijun 1 周之前
父節點
當前提交
5b422fdbe2

+ 3 - 0
mo-daq/src/main/java/com/smppw/modaq/application/components/report/parser/pdf/PDLetterReportParser.java

@@ -142,6 +142,9 @@ public class PDLetterReportParser extends AbstractPDReportParser<LetterReportDat
             } else {
                 infoMap.put(key, value);
             }
+            if (dataRow == 2 && !infoMap.containsKey("基金名称")) {
+                infoMap.put("基金名称", ReportParseUtils.cleaningValue(table.getCell(1, 0).getText()));
+            }
         }
     }
 }