From 2a72c19af55173f52b2951b7ce5716aaafb9e384 Mon Sep 17 00:00:00 2001 From: zhouwentao <1577701412@qq.com> Date: Fri, 1 Sep 2023 09:58:48 +0800 Subject: [PATCH] updates --- .../main/java/org/jeecg/common/constant/OcrConstant.java | 7 ++----- .../modules/ocr/service/impl/OcrIdentifyServiceImpl.java | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/OcrConstant.java b/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/OcrConstant.java index 990dff3..c94a024 100644 --- a/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/OcrConstant.java +++ b/jeecg-boot-base-core/src/main/java/org/jeecg/common/constant/OcrConstant.java @@ -1,5 +1,7 @@ package org.jeecg.common.constant; +import com.alibaba.fastjson.JSONObject; + import java.util.Arrays; import java.util.List; import java.util.Random; @@ -47,9 +49,4 @@ public class OcrConstant { //目前仅支持的字段中文名 public static List SUPPORTED_FIELD_NAMES= Arrays.asList("医院名称","医生名称","科室","时间"); - public static void main(String[] args) { - for (int i = 0; i < 100; i++) { - System.out.println(new Random().nextInt(10)); - } - } } diff --git a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/ocr/service/impl/OcrIdentifyServiceImpl.java b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/ocr/service/impl/OcrIdentifyServiceImpl.java index eac42cc..6064500 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/ocr/service/impl/OcrIdentifyServiceImpl.java +++ b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/ocr/service/impl/OcrIdentifyServiceImpl.java @@ -975,7 +975,7 @@ public class OcrIdentifyServiceImpl extends ServiceImpl