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);