Merge pull request 'fix:ai审批工具修改阈值方便测试' (#51) from fix/Example_Modify_the_judgment_threshold into test

Reviewed-on: #51
pull/52/head
cuihaojie 1 year ago
commit 38730470df

@ -188,7 +188,8 @@ public class OcrSearchHistoryServiceImpl extends ServiceImpl<OcrSearchHistoryMap
if(selectaisp.size()!=0){ if(selectaisp.size()!=0){
Object pictureResult = selectaisp.get("pictureResult"); Object pictureResult = selectaisp.get("pictureResult");
String pictureResultStr = pictureResult.toString(); String pictureResultStr = pictureResult.toString();
if ("100.0".equals(pictureResultStr)) { // if ("100.0".equals(pictureResultStr)) {
if (Double.parseDouble(pictureResultStr) < 90.0) {
similarComplete++; similarComplete++;
Long pictureId = (Long) selectaisp.get("pictureId"); Long pictureId = (Long) selectaisp.get("pictureId");
if (pictureId != null) { if (pictureId != null) {

Loading…
Cancel
Save