This commit is contained in:
LiJianZhao 2025-05-22 16:44:17 +08:00
parent 8a174a0736
commit 8cbb78194a
1 changed files with 12 additions and 1 deletions

View File

@ -115,7 +115,18 @@ public class PatientRegistrationService extends BaseService {
if (registration.getType().equals(RegistrationTypeEnum.Common.getType())){ if (registration.getType().equals(RegistrationTypeEnum.Common.getType())){
return registration; return registration;
} }
if (registration.getPsnNo() == null){
throw new MessageException("医保挂号人员编号不能为空");
}
if (registration.getInsutype() == null){
throw new MessageException("医保挂号险种不能为空");
}
if (mdtrtCertType == null){
throw new MessageException("医保挂号证件类型不能为空");
}
if (mdtrtCertNo == null){
throw new MessageException("医保挂号证件号码不能为空");
}
//医保挂号额外流程 //医保挂号额外流程
IM2201 im2201 = new IM2201(); IM2201 im2201 = new IM2201();
im2201.setPsnNo(registration.getPsnNo()); im2201.setPsnNo(registration.getPsnNo());