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); } } }