From 613cf6441b1e99856eba94b2119d89748177f7da Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Mon, 17 Mar 2025 17:51:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A8=E9=80=81=E7=9B=91?= =?UTF-8?q?=E6=8E=A7=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRC.Core.SCP/Service/CStoreSCPService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IRC.Core.SCP/Service/CStoreSCPService.cs b/IRC.Core.SCP/Service/CStoreSCPService.cs index a6d6623f2..f54330dc8 100644 --- a/IRC.Core.SCP/Service/CStoreSCPService.cs +++ b/IRC.Core.SCP/Service/CStoreSCPService.cs @@ -146,7 +146,8 @@ namespace IRaCIS.Core.SCP.Service _upload.EndTime = DateTime.Now; _upload.StudyCount = _SCPStudyIdList.Count; - await _SCPImageUploadRepository.AddAsync(_upload, true); + //可能是测试echo 导致记录了 + await _SCPImageUploadRepository.AddAsync(_upload, _upload.FileCount > 0 ? true : false); }