|
|
@ -306,7 +306,7 @@ public class PatientService implements IPatientService { |
|
|
|
PatientInformationExample patientInformationExample=new PatientInformationExample(); |
|
|
|
patientInformationExample.createCriteria().andHospitalizationEqualTo(param.getHospitalization()).andRecStatusEqualTo((byte)0); |
|
|
|
List<PatientInformation> patientInformations = patientInformationMapper.selectByExample(patientInformationExample); |
|
|
|
if(patientInformations.size()>=1){ |
|
|
|
if(patientInformations.size()!=1){ |
|
|
|
throw new BaseException(CodeEnum.QUANTITYERROR); |
|
|
|
} |
|
|
|
BiologicalSamples biologicalSamples=new BiologicalSamples(); |
|
|
|