|
|
|
@ -70,7 +70,9 @@ public class ReportJob {
|
|
|
|
|
try {
|
|
|
|
|
// 如果出现多条出错的情况,还是得保存收到的信息,人工干预处理
|
|
|
|
|
String patientId = tBasicMapper.getPatientIdByInpatientNoAndAdminssTimes(reportRecord.getInpatientNo(), reportRecord.getAdmissTimes());
|
|
|
|
|
afReportRecordMapper.updateReportRecordPatientId(patientId, reportRecord.getTaskId());
|
|
|
|
|
if (Func.isNotBlank(patientId)) {
|
|
|
|
|
afReportRecordMapper.updateReportRecordPatientId(patientId, reportRecord.getTaskId());
|
|
|
|
|
}
|
|
|
|
|
} catch (Exception ex) {
|
|
|
|
|
log.error("查询病案主键出错了", ex);
|
|
|
|
|
}
|
|
|
|
|