Browse Source

代码修改

pt
hyy-alt 4 years ago
parent
commit
98765fc0d0
  1. 4
      wisdomcar/src/main/java/com/ccsens/wisdomcar/service/OtherRecordsService.java

4
wisdomcar/src/main/java/com/ccsens/wisdomcar/service/OtherRecordsService.java

@ -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());

Loading…
Cancel
Save