|
|
@ -60,7 +60,7 @@ namespace Shentun.WebPeis.AppointSchedules |
|
|
if (input == null || input.MedicalCenterId == Guid.Empty || input.MedicalCenterId == null) |
|
|
if (input == null || input.MedicalCenterId == Guid.Empty || input.MedicalCenterId == null) |
|
|
{ |
|
|
{ |
|
|
var webPeisOrganizationUnit = await _webPeisOrganizationUnitManager.GetMedicalCenterListAsync(); |
|
|
var webPeisOrganizationUnit = await _webPeisOrganizationUnitManager.GetMedicalCenterListAsync(); |
|
|
if (webPeisOrganizationUnit.Count > 1) |
|
|
|
|
|
|
|
|
if (webPeisOrganizationUnit.Count > 1 || webPeisOrganizationUnit.Count == 0) |
|
|
{ |
|
|
{ |
|
|
throw new UserFriendlyException("体检中心参数不能为空"); |
|
|
throw new UserFriendlyException("体检中心参数不能为空"); |
|
|
} |
|
|
} |
|
|
|