From cd80cf3380f82ddc720d5cf5aa22762812d7adea Mon Sep 17 00:00:00 2001 From: yefei Date: Fri, 28 Apr 2023 09:54:32 +0800 Subject: [PATCH] =?UTF-8?q?ariesy=20=E8=A7=A3=E5=86=B3=E9=82=AE=E7=AE=B1?= =?UTF-8?q?=E8=A7=A3=E6=9E=90=E8=AE=B0=E5=BD=95=E6=98=BE=E7=A4=BA=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E5=8E=9F=E5=9B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/mailGather/impl/MailGatherLogServiceImpl.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dxhy-core/src/main/java/com/dxhy/core/service/mailGather/impl/MailGatherLogServiceImpl.java b/dxhy-core/src/main/java/com/dxhy/core/service/mailGather/impl/MailGatherLogServiceImpl.java index 1490c3c4..a55e4e82 100644 --- a/dxhy-core/src/main/java/com/dxhy/core/service/mailGather/impl/MailGatherLogServiceImpl.java +++ b/dxhy-core/src/main/java/com/dxhy/core/service/mailGather/impl/MailGatherLogServiceImpl.java @@ -19,6 +19,8 @@ import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Service; import javax.annotation.Resource; +import java.text.ParseException; +import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; @@ -61,6 +63,12 @@ public class MailGatherLogServiceImpl implements MailGatherLogService { MailGatherLogVo mailGatherLogVo = emailMaintainVos.get(i); mailGatherLogVo.setCjsj(DateUtils.dateToStrLong(mailGatherLogVo.getCreateTime())); mailGatherLogVo.setXh(i + 1 + ""); + String ocrType = mailGatherLogVo.getOcrType(); + log.info("ocrType={}",ocrType); + if("0".equals(ocrType)){ + mailGatherLogVo.setErrorMsg(""); + } + } } PageInfo pageInfo = new PageInfo<>(emailMaintainVos);