|
|
@ -89,8 +89,12 @@ public class IcNatCompareRecordExcelImportListener implements ReadListener<IcNat |
|
|
|
if (null != hsjcResDTO && CollectionUtils.isNotEmpty(hsjcResDTO.getData()) && null != hsjcResDTO.getData().get(0)) { |
|
|
|
YtHsjcResDetailDTO ytHsjcResDetailDTO = hsjcResDTO.getData().get(0); |
|
|
|
String testTime = ytHsjcResDetailDTO.getTest_time(); |
|
|
|
compareRecordEntity.setLatestNatTime(DateUtils.parse(testTime, DateUtils.DATE_PATTERN)); |
|
|
|
compareRecordEntity.setNatAddress(StringUtils.isNotBlank(ytHsjcResDetailDTO.getSampling_org_pcr()) ? ytHsjcResDetailDTO.getSample_result_pcr() : StrConstant.EPMETY_STR); |
|
|
|
if (StringUtils.isNotBlank(testTime)) { |
|
|
|
// 赋值最近一次核酸时间
|
|
|
|
compareRecordEntity.setLatestNatTime(DateUtils.parse(testTime, DateUtils.DATE_TIME_PATTERN)); |
|
|
|
} |
|
|
|
// 赋值检测地点
|
|
|
|
compareRecordEntity.setNatAddress(StringUtils.isNotBlank(ytHsjcResDetailDTO.getSampling_org_pcr()) ? ytHsjcResDetailDTO.getSampling_org_pcr() : StrConstant.EPMETY_STR); |
|
|
|
|
|
|
|
// "sample_result_pcr":"2",// 核酸检测结果 1:阳性,2:阴性
|
|
|
|
String sample_result_pcr = ytHsjcResDetailDTO.getSample_result_pcr(); |
|
|
|