|
|
|
@ -261,7 +261,7 @@ public class IEmsServiceImpl implements IEmsService { |
|
|
|
PmsPatientBody patientBody = null; |
|
|
|
PmsPatientBodyExample patientBodyExample = new PmsPatientBodyExample(); |
|
|
|
patientBodyExample.createCriteria().andPatientIdEqualTo(dto.getPatientId()); |
|
|
|
patientBodyExample.setOrderByClause("id desc"); |
|
|
|
patientBodyExample.setOrderByClause("update_time desc"); |
|
|
|
List<PmsPatientBody> pmsPatientBodies = patientBodyMapper.selectByExample(patientBodyExample); |
|
|
|
if (CollectionUtil.isNotEmpty(pmsPatientBodies)) { |
|
|
|
patientBody = pmsPatientBodies.get(0); |
|
|
|
|