diff --git a/SGGL/BLL/HSSE/SitePerson/SitePerson_PersonService.cs b/SGGL/BLL/HSSE/SitePerson/SitePerson_PersonService.cs index 7c164beb..a2feec55 100644 --- a/SGGL/BLL/HSSE/SitePerson/SitePerson_PersonService.cs +++ b/SGGL/BLL/HSSE/SitePerson/SitePerson_PersonService.cs @@ -250,8 +250,8 @@ namespace BLL { getInMaxs = getInMaxs.Where(x => x.IsIn == true); } - inCount = getInMaxs.Count(); - if (inCount == 0) + nowCount = getInMaxs.Count(); + if (nowCount == 0) { return null; } diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt index 175768bf..e69de29b 100644 --- a/SGGL/FineUIPro.Web/ErrLog.txt +++ b/SGGL/FineUIPro.Web/ErrLog.txt @@ -1,69 +0,0 @@ - -错误信息开始=====> -错误类型:NullReferenceException -错误信息:未将对象引用设置到对象的实例。 -错误堆栈: - 在 BLL.HSEDataDWService.getProjecctSafeHours(String projectId) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\DigData\HSEDataDWService.cs:行号 79 - 在 Read_<>f__AnonymousType92`7(ObjectMaterializer`1 ) - 在 System.Data.Linq.SqlClient.ObjectReaderCompiler.ObjectReader`2.MoveNext() - 在 (IEnumerator ) - 在 FineUIPro.Grid.CRTRkdQFrrBRFQuCddjZPswlTORP(IEnumerable , Boolean ) - 在 (Grid , IEnumerable , Boolean ) - 在 FineUIPro.Grid.DataBind(Boolean keepCurrentData) - 在 (Grid , Boolean ) - 在 FineUIPro.Grid.DataBind() - 在 FineUIPro.Web.DigData.HSEDataDW.BindGrid() 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\DigData\HSEDataDW.aspx.cs:行号 40 - 在 FineUIPro.Web.DigData.HSEDataDW.Page_Load(Object sender, EventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\DigData\HSEDataDW.aspx.cs:行号 25 - 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) - 在 System.EventHandler.Invoke(Object sender, EventArgs e) - 在 System.Web.UI.Control.OnLoad(EventArgs e) - 在 System.Web.UI.Control.LoadRecursive() - 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) -出错时间:09/18/2023 10:52:05 -出错文件:http://localhost:8513/DigData/HSEDataDW.aspx -IP地址:::1 -操作人员:JT - -出错时间:09/18/2023 10:52:05 - - -错误信息开始=====> -错误类型:ThreadAbortException -错误信息:正在中止线程。 -错误堆栈: - 在 System.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IRuntimeMethodInfo method) - 在 System.Reflection.Emit.DynamicMethod.CreateDelegate(Type delegateType, Object target) - 在 System.Linq.Expressions.Compiler.LambdaCompiler.CreateDelegate() - 在 System.Linq.Expressions.Compiler.LambdaCompiler.Compile(LambdaExpression lambda, DebugInfoGenerator debugInfoGenerator) - 在 System.Data.Linq.SqlClient.Funcletizer.Localizer.MakeLocal(Expression e) - 在 System.Data.Linq.SqlClient.Funcletizer.Localizer.Visit(Expression exp) - 在 System.Data.Linq.SqlClient.ExpressionVisitor.VisitBinary(BinaryExpression b) - 在 System.Data.Linq.SqlClient.ExpressionVisitor.Visit(Expression exp) - 在 System.Data.Linq.SqlClient.Funcletizer.Localizer.Visit(Expression exp) - 在 System.Data.Linq.SqlClient.ExpressionVisitor.VisitBinary(BinaryExpression b) - 在 System.Data.Linq.SqlClient.ExpressionVisitor.Visit(Expression exp) - 在 System.Data.Linq.SqlClient.Funcletizer.Localizer.Visit(Expression exp) - 在 System.Data.Linq.SqlClient.ExpressionVisitor.VisitLambda(LambdaExpression lambda) - 在 System.Data.Linq.SqlClient.ExpressionVisitor.Visit(Expression exp) - 在 System.Data.Linq.SqlClient.Funcletizer.Localizer.Visit(Expression exp) - 在 System.Data.Linq.SqlClient.ExpressionVisitor.VisitUnary(UnaryExpression u) - 在 System.Data.Linq.SqlClient.ExpressionVisitor.Visit(Expression exp) - 在 System.Data.Linq.SqlClient.Funcletizer.Localizer.Visit(Expression exp) - 在 System.Data.Linq.SqlClient.ExpressionVisitor.VisitExpressionList(ReadOnlyCollection`1 original) - 在 System.Data.Linq.SqlClient.ExpressionVisitor.VisitMethodCall(MethodCallExpression m) - 在 System.Data.Linq.SqlClient.ExpressionVisitor.Visit(Expression exp) - 在 System.Data.Linq.SqlClient.Funcletizer.Localizer.Visit(Expression exp) - 在 System.Data.Linq.SqlClient.ExpressionVisitor.VisitExpressionList(ReadOnlyCollection`1 original) - 在 System.Data.Linq.SqlClient.ExpressionVisitor.VisitMethodCall(MethodCallExpression m) - 在 System.Data.Linq.SqlClient.ExpressionVisitor.Visit(Expression exp) - 在 System.Data.Linq.SqlClient.Funcletizer.Localizer.Visit(Expression exp) - 在 System.Data.Linq.SqlClient.Funcletizer.Funcletize(Expression expression) - 在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) - 在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression) - 在 System.Linq.Queryable.Count[TSource](IQueryable`1 source) - 在 BLL.GetDataService.CorrectingPersonInOutNumber(String projectId) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\OpenService\GetDataService.cs:行号 140 - 在 BLL.MonitorService.DoSynchData() 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\OpenService\MonitorService.cs:行号 2129 - 在 BLL.MonitorService.ColligateFormConfirmProcessEve(Object sender, ElapsedEventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\OpenService\MonitorService.cs:行号 110 -出错时间:09/18/2023 11:28:51 -出错时间:09/18/2023 11:28:51 - diff --git a/SGGL/FineUIPro.Web/HSSE/SitePerson/SitePersonNowStatistic.aspx b/SGGL/FineUIPro.Web/HSSE/SitePerson/SitePersonNowStatistic.aspx index 8748b642..601b4822 100644 --- a/SGGL/FineUIPro.Web/HSSE/SitePerson/SitePersonNowStatistic.aspx +++ b/SGGL/FineUIPro.Web/HSSE/SitePerson/SitePersonNowStatistic.aspx @@ -1,10 +1,17 @@ <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SitePersonNowStatistic.aspx.cs" Inherits="FineUIPro.Web.HSSE.SitePerson.SitePersonNowStatistic" %> +
-