|
@@ -51,11 +51,11 @@ public class OCRReportParser {
|
|
|
if (StrUtil.isNotBlank(reportDate)) {
|
|
|
res.setReportDate(reportDate);
|
|
|
}
|
|
|
- if (StrUtil.isNotBlank(fundName)) {
|
|
|
+ if (StrUtil.isNotBlank(fundName) && fundName.contains("基金") && !fundName.contains("公司")) {
|
|
|
res.setFundName(fundName);
|
|
|
}
|
|
|
if (StrUtil.isNotBlank(fundCode)) {
|
|
|
- res.setFundCode(fundCode);
|
|
|
+ res.setFundCode(ReportParseUtils.matchFundCode(fundCode));
|
|
|
}
|
|
|
if (StrUtil.isNotBlank(seals)) {
|
|
|
res.setWithSeals(true);
|