diff --git a/src/Shentun.WebPeis.Application/Persons/PersonAppService.cs b/src/Shentun.WebPeis.Application/Persons/PersonAppService.cs index 610b003..a428118 100644 --- a/src/Shentun.WebPeis.Application/Persons/PersonAppService.cs +++ b/src/Shentun.WebPeis.Application/Persons/PersonAppService.cs @@ -584,7 +584,7 @@ namespace Shentun.WebPeis.Persons } #region 检查是否需要填写问卷 - var isQuestion = _customerOrgRegisterRepository.FirstOrDefaultAsync(f => f.CustomerOrgRegisterId == entity.CustomerOrgRegisterId && f.IsQuestion == 'Y'); + var isQuestion =await _customerOrgRegisterRepository.FirstOrDefaultAsync(f => f.CustomerOrgRegisterId == entity.CustomerOrgRegisterId && f.IsQuestion == 'Y'); if (isQuestion != null) { string baseAddress = _configuration.GetSection("MedicalHealthReport").GetSection("BaseAddress").Value;