From 085213f920868392018e3ec1d0d02f10e7396b7c Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 18 Nov 2024 15:57:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Doctor/TrialExperienceService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Doctor/TrialExperienceService.cs b/IRaCIS.Core.Application/Service/Doctor/TrialExperienceService.cs index 250ec0770..c13b24a3f 100644 --- a/IRaCIS.Core.Application/Service/Doctor/TrialExperienceService.cs +++ b/IRaCIS.Core.Application/Service/Doctor/TrialExperienceService.cs @@ -109,7 +109,7 @@ namespace IRaCIS.Core.Application.Service else { // 当前项目没有则复制 - if (!(await _trialExperienceRepository.AnyAsync(x => x.TrialId == inDto.TrialId))) + if (!(await _trialExperienceRepository.AnyAsync(x => x.TrialId == inDto.TrialId &&x.ExperienceDataType== ExperienceDataType.Trial))) { var trialExperienceList = await _trialExperienceRepository.Where(o => o.DoctorId == inDto.DoctorId) .Where(x => x.ExperienceDataType == ExperienceDataType.System || x.ExperienceDataType == ExperienceDataType.SystemAuto).ToListAsync();