|
@ -228,9 +228,14 @@ public class IcNatCompareRecordExcelImportListener implements ReadListener<IcNat |
|
|
compareRecordEntity.setNatResult(NumConstant.ZERO_STR); |
|
|
compareRecordEntity.setNatResult(NumConstant.ZERO_STR); |
|
|
} |
|
|
} |
|
|
compareRecordEntity.setContactAddress(StringUtils.isNotBlank(address) ? address : StrConstant.EPMETY_STR); |
|
|
compareRecordEntity.setContactAddress(StringUtils.isNotBlank(address) ? address : StrConstant.EPMETY_STR); |
|
|
|
|
|
compareRecordEntity.setInternalRemark(String.format("匹配成功,采样时间一致,采样视图最近一次采样时间:%s,检测结果视图的最近一次采样时间:%s", |
|
|
|
|
|
DateUtils.format(compareRecordEntity.getLatestCyTime(),DateUtils.DATE_TIME_PATTERN), |
|
|
|
|
|
DateUtils.format(sample_time,DateUtils.DATE_TIME_PATTERN))); |
|
|
} else { |
|
|
} else { |
|
|
// 采样时间不一致,说明未出结果
|
|
|
// 采样时间不一致,说明未出结果
|
|
|
compareRecordEntity.setInternalRemark(String.format("采样时间不一致,采样视图最近一次采样时间:%s,检测结果视图的最近一次采样时间:%s", compareRecordEntity.getLatestCyTime(), DateUtils.format(sample_time))); |
|
|
compareRecordEntity.setInternalRemark(String.format("采样时间不一致,采样视图最近一次采样时间:%s,检测结果视图的最近一次采样时间:%s", |
|
|
|
|
|
DateUtils.format(compareRecordEntity.getLatestCyTime(),DateUtils.DATE_TIME_PATTERN), |
|
|
|
|
|
DateUtils.format(sample_time,DateUtils.DATE_TIME_PATTERN))); |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
compareRecordEntity.setInternalRemark("最近一次检测结果为空"); |
|
|
compareRecordEntity.setInternalRemark("最近一次检测结果为空"); |
|
|