master
周文涛 2 years ago
parent 276f148cb3
commit 7d20f3dad9

@ -145,7 +145,7 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
ocrIdentifyDetail.setMessage(message);
ocrIdentifyDetail.setOcrTime(new BigDecimal(ocrTime).setScale(2, RoundingMode.HALF_UP).doubleValue());
ocrIdentifyDetail.setNluTime(new BigDecimal(nluTime).setScale(2, RoundingMode.HALF_UP).doubleValue());
if (semanticResult.isEmpty()) {
if (!semanticResult.isEmpty()) {
ocrIdentifyDetail.setSemanticResult(semanticResult.toJSONString());
}
ocrIdentifyDetailService.save(ocrIdentifyDetail);

Loading…
Cancel
Save