From 180080adbb4b90903e351e41c3c9c5c3f575deda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=83=E7=82=B9=E5=B7=A5=E5=9D=8A?= Date: Sat, 4 Apr 2020 09:19:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E8=BF=9B=E7=A8=8B=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E5=86=99=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SiMay.RemoteClient.NewCore/ApplicationService/FileService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SiMay.RemoteClient.NewCore/ApplicationService/FileService.cs b/SiMay.RemoteClient.NewCore/ApplicationService/FileService.cs index 088f129..577ffac 100644 --- a/SiMay.RemoteClient.NewCore/ApplicationService/FileService.cs +++ b/SiMay.RemoteClient.NewCore/ApplicationService/FileService.cs @@ -494,7 +494,7 @@ namespace SiMay.ServiceCore .ToArray(); foreach (var sessionItem in sessions) { - if (sessionItem.SessionState == 1 && sessionItem.UserName.ToLower() != "system") + if (sessionItem.HasUserProcess && sessionItem.UserName.ToLower() != "system") { List userFolders = GetUserFolderPath(); foreach (var item in userFolders) -- Gitee