From d833093c33b8dae74e12988f9a331ccf31d623de Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Tue, 9 Sep 2025 15:24:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AEsubject=20=20=E8=AE=BF?= =?UTF-8?q?=E8=A7=86=E8=BD=AF=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Visit/PatientService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Visit/PatientService.cs b/IRaCIS.Core.Application/Service/Visit/PatientService.cs index f66f885dd..51f0055be 100644 --- a/IRaCIS.Core.Application/Service/Visit/PatientService.cs +++ b/IRaCIS.Core.Application/Service/Visit/PatientService.cs @@ -1659,9 +1659,9 @@ namespace IRaCIS.Application.Services //} //await _subjectRepository.DeleteAsync(subject); - await _subjectVisitRepository.DeleteFromQueryAsync(t => t.SubjectId == subjectId, true); + await _subjectVisitRepository.SoftDeleteFromQueryAsync(t => t.SubjectId == subjectId, true); - await _subjectRepository.DeleteFromQueryAsync(t => t.Id == subjectId); + await _subjectRepository.SoftDeleteFromQueryAsync(t => t.Id == subjectId); }