@ -129,6 +129,7 @@ public class ReportServiceImpl implements ReportService {
afReportRecord.setDownType(reportDto.getDowntype());
afReportRecord.setFileName(reportDto.getFileTitle());
afReportRecord.setPatientId(patientId);
afReportRecord.setZdAssortId(reportDto.getAssortId());
afReportRecordMapper.updateRecordByTaskId(afReportRecord);
}
// 不使用事务,不需要回滚上面的保存
@ -37,7 +37,8 @@
`state`=0,
`file_name`=#{reportRecord.fileName},
`patient_id`=#{reportRecord.patientId},
`update_time`=now()
`update_time`=now(),
`zd_assort_id`=#{reportRecord.zdAssortId}
where `task_id` = #{reportRecord.taskId}
</update>
<update id="updateStateByTaskId">