ariesy 解决邮箱解析记录显示错误原因

release
yefei 2 years ago
parent 6e065aef08
commit cd80cf3380
  1. 8
      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<MailGatherLogVo> pageInfo = new PageInfo<>(emailMaintainVos);

Loading…
Cancel
Save