From 414573a490836b3f678db461a9eee2db629de0cb Mon Sep 17 00:00:00 2001 From: fly-l <1420031550@qq.com> Date: Thu, 31 Aug 2023 10:52:18 +0800 Subject: [PATCH] =?UTF-8?q?2023-08-31=20=E6=95=B0=E6=8D=AE=E7=A9=BF?= =?UTF-8?q?=E9=80=8F=E4=BA=BA=E5=B7=A5=E6=97=B6=E7=95=8C=E9=9D=A2=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/FineUIPro.Web/DataShow/WorkingHours.aspx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SGGL/FineUIPro.Web/DataShow/WorkingHours.aspx.cs b/SGGL/FineUIPro.Web/DataShow/WorkingHours.aspx.cs index cee7a284..06c58e55 100644 --- a/SGGL/FineUIPro.Web/DataShow/WorkingHours.aspx.cs +++ b/SGGL/FineUIPro.Web/DataShow/WorkingHours.aspx.cs @@ -184,7 +184,7 @@ namespace FineUIPro.Web.DataShow } if (getAllPersonInOutList.Count() > 0) { - cout1 = getAllPersonInOutList.Sum(x => x.WorkHours ?? 0); + cout1 = getAllPersonInOutList.Max(x => x.WorkHours ?? 0); } } }