重症更新分段

3.2.4.44
宇宙皮皮娃 2 years ago
parent 6f5dd32dce
commit 17f903fdc8

@ -129,6 +129,7 @@ public class ReportServiceImpl implements ReportService {
afReportRecord.setDownType(reportDto.getDowntype()); afReportRecord.setDownType(reportDto.getDowntype());
afReportRecord.setFileName(reportDto.getFileTitle()); afReportRecord.setFileName(reportDto.getFileTitle());
afReportRecord.setPatientId(patientId); afReportRecord.setPatientId(patientId);
afReportRecord.setZdAssortId(reportDto.getAssortId());
afReportRecordMapper.updateRecordByTaskId(afReportRecord); afReportRecordMapper.updateRecordByTaskId(afReportRecord);
} }
// 不使用事务,不需要回滚上面的保存 // 不使用事务,不需要回滚上面的保存

@ -37,7 +37,8 @@
`state`=0, `state`=0,
`file_name`=#{reportRecord.fileName}, `file_name`=#{reportRecord.fileName},
`patient_id`=#{reportRecord.patientId}, `patient_id`=#{reportRecord.patientId},
`update_time`=now() `update_time`=now(),
`zd_assort_id`=#{reportRecord.zdAssortId}
where `task_id` = #{reportRecord.taskId} where `task_id` = #{reportRecord.taskId}
</update> </update>
<update id="updateStateByTaskId"> <update id="updateStateByTaskId">

Loading…
Cancel
Save