master
周文涛 2 years ago
parent 53677a8222
commit 446161aa7f

@ -262,7 +262,7 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
OcrResult lastResult = fieldRightMap.get(tag);
if (ruleValidation) {
fieldRightMap.put(tag, result);
} else if (lastResult == null && !lastResult.getRuleValidation()) {
} else if (lastResult == null || !lastResult.getRuleValidation()) {
fieldRightMap.put(tag, result);
}
}

Loading…
Cancel
Save