|
|
@ -97,10 +97,6 @@ public class OtherRecordsService implements IOtherRecordsService { |
|
|
|
PatientInformationRecordExample patientInformationRecordExample = new PatientInformationRecordExample(); |
|
|
|
patientInformationRecordExample.createCriteria().andTaskSubIdEqualTo(param.getId()); |
|
|
|
List<PatientInformationRecord> patientInformationRecords = patientInformationRecordMapper.selectByExample(patientInformationRecordExample); |
|
|
|
if(CollectionUtil.isEmpty(patientInformationRecords)){ |
|
|
|
log.info("没有找到对应的的任务"); |
|
|
|
throw new BaseException(CodeEnum.PARAM_ERROR); |
|
|
|
} |
|
|
|
for (PatientInformationRecord patientInformationRecord : patientInformationRecords) { |
|
|
|
OtherRecordsVo.TypeAndComment query = new OtherRecordsVo.TypeAndComment(); |
|
|
|
query.setComment(patientInformationRecord.getContent()); |
|
|
|