检验批委托速度优化

This commit is contained in:
李鹏飞 2024-07-18 14:51:16 +08:00
parent d985c413b3
commit 98012f9450
38 changed files with 941 additions and 145 deletions

File diff suppressed because one or more lines are too long

View File

@ -56,8 +56,8 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\Lib\Microsoft.SQLServer.ManagedDTS.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>..\FineUIPro\Net40\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="NPOI, Version=2.5.1.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
<HintPath>..\packages\NPOI.2.5.1\lib\net40\NPOI.dll</HintPath>

View File

@ -91,7 +91,11 @@ namespace BLL
var view = Funs.DB.HJGL_View_CH_TrustItem.FirstOrDefault(e => e.JOT_ID == jot_id && e.ProjectId == projectId);
return view;
}
public static List<Model.HJGL_View_CH_TrustItem> GetView_CH_TrustItemByProjectId( string projectId)
{
var view = Funs.DB.HJGL_View_CH_TrustItem.Where(e => e.ProjectId == projectId).ToList();
return view;
}
/// <summary>
/// 增加委托信息
/// </summary>

View File

@ -4,7 +4,7 @@
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net40" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net40" />
<package id="NPOI" version="2.5.1" targetFramework="net40" />
<package id="Portable.BouncyCastle" version="1.8.6" targetFramework="net40" />
<package id="SharpZipLib" version="0.86.0" targetFramework="net40" />

File diff suppressed because one or more lines are too long

View File

@ -1967,3 +1967,640 @@ IP地址:::1
出错时间:12/21/2023 09:17:06
错误信息开始=====>
错误类型:SqlException
错误信息:无法打开登录所请求的数据库 "HJGLDB_ZH"。登录失败。
用户 'sa' 登录失败。
错误堆栈:
在 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)
在 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
在 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
在 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
在 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
在 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
在 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
在 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
在 System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
在 System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
在 System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
在 System.Data.SqlClient.SqlConnection.Open()
在 System.Data.Linq.SqlClient.SqlConnectionManager.UseConnection(IConnectionUser user)
在 System.Data.Linq.SqlClient.SqlProvider.get_IsSqlCe()
在 System.Data.Linq.SqlClient.SqlProvider.InitializeProviderMode()
在 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)
在 BLL.Sys_UserService.UserLogOn(String account, String password, Boolean rememberMe, Page page) 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\BLL\Common\SysManage\Sys_UserService.cs:行号 41
在 FineUIPro.Web.Login.btnLogin_Click(Object sender, EventArgs e) 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\FineUIPro.Web\Login.aspx.cs:行号 57
在 FineUIPro.Button.OnClick(EventArgs e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:07/03/2024 10:37:56
出错文件:http://localhost:5001/Login.aspx
IP地址:::1
出错时间:07/03/2024 10:37:56
错误信息开始=====>
错误类型:TypeInitializationException
错误信息:“Newtonsoft.Json.JsonWriter”的类型初始值设定项引发异常。
错误堆栈:
在 Newtonsoft.Json.JsonWriter..ctor()
在 Newtonsoft.Json.JsonTextWriter..ctor(TextWriter textWriter)
在 Newtonsoft.Json.Linq.JToken.ToString(Formatting formatting, JsonConverter[] converters)
在 Newtonsoft.Json.Linq.JToken.ToString()
在 FineUIPro.FState.liODUDFgnTaHAObSSuvhxXErAPYo(String )
在 FineUIPro.FState.UsAzaBoapxBKvoJlqBvJFpbJgcycA()
在 FineUIPro.ControlBase.LJngLOSMdcbyaDTbTCofEhrzszQmA()
在 hZzEMoBFowQHNetYNlTaFyfiuHiLc.LJngLOSMdcbyaDTbTCofEhrzszQmA(Object , EventArgs )
在 System.Web.UI.Page.OnInitComplete(EventArgs e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
----错误类型:VerificationException
----错误信息:
----操作可能会破坏运行时稳定性。
----错误堆栈:
在 Newtonsoft.Json.Utilities.EnumUtils.GetValues(Type enumType)
在 Newtonsoft.Json.JsonWriter.BuildStateArray()
在 Newtonsoft.Json.JsonWriter..cctor()
出错时间:07/03/2024 10:49:15
出错文件:http://localhost:5001/Login.aspx
IP地址:::1
出错时间:07/03/2024 10:49:15
出错时间:07/03/2024 10:49:15
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 FineUIPro.Web._default.Page_Init(Object sender, EventArgs e) 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\FineUIPro.Web\default.aspx.cs:行号 115
在 System.Web.UI.Control.OnInit(EventArgs e)
在 System.Web.UI.Page.OnInit(EventArgs e)
在 FineUIPro.Web.PageBase.OnInit(EventArgs e) 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\FineUIPro.Web\common\PageBase.cs:行号 135
在 System.Web.UI.Control.InitRecursive(Control namingContainer)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:07/03/2024 10:49:31
出错文件:http://localhost:5001/default.aspx
IP地址:::1
出错时间:07/03/2024 10:49:31
错误信息开始=====>
错误类型:TypeInitializationException
错误信息:“Newtonsoft.Json.JsonWriter”的类型初始值设定项引发异常。
错误堆栈:
在 Newtonsoft.Json.JsonWriter..ctor()
在 Newtonsoft.Json.JsonTextWriter..ctor(TextWriter textWriter)
在 Newtonsoft.Json.Linq.JToken.ToString(Formatting formatting, JsonConverter[] converters)
在 Newtonsoft.Json.Linq.JToken.ToString()
在 FineUIPro.FState.liODUDFgnTaHAObSSuvhxXErAPYo(String )
在 FineUIPro.FState.UsAzaBoapxBKvoJlqBvJFpbJgcycA()
在 FineUIPro.ControlBase.LJngLOSMdcbyaDTbTCofEhrzszQmA()
在 hZzEMoBFowQHNetYNlTaFyfiuHiLc.LJngLOSMdcbyaDTbTCofEhrzszQmA(Object , EventArgs )
在 System.Web.UI.Page.OnInitComplete(EventArgs e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
----错误类型:VerificationException
----错误信息:
----操作可能会破坏运行时稳定性。
----错误堆栈:
在 Newtonsoft.Json.Utilities.EnumUtils.GetValues(Type enumType)
在 Newtonsoft.Json.JsonWriter.BuildStateArray()
在 Newtonsoft.Json.JsonWriter..cctor()
出错时间:07/03/2024 10:49:35
出错文件:http://localhost:5001/Login.aspx
IP地址:::1
出错时间:07/03/2024 10:49:35
错误信息开始=====>
错误类型:TypeInitializationException
错误信息:“Newtonsoft.Json.JsonWriter”的类型初始值设定项引发异常。
错误堆栈:
在 Newtonsoft.Json.JsonWriter..ctor()
在 Newtonsoft.Json.JsonTextWriter..ctor(TextWriter textWriter)
在 Newtonsoft.Json.Linq.JToken.ToString(Formatting formatting, JsonConverter[] converters)
在 Newtonsoft.Json.Linq.JToken.ToString()
在 FineUIPro.FState.liODUDFgnTaHAObSSuvhxXErAPYo(String )
在 FineUIPro.FState.UsAzaBoapxBKvoJlqBvJFpbJgcycA()
在 FineUIPro.ControlBase.LJngLOSMdcbyaDTbTCofEhrzszQmA()
在 hZzEMoBFowQHNetYNlTaFyfiuHiLc.LJngLOSMdcbyaDTbTCofEhrzszQmA(Object , EventArgs )
在 System.Web.UI.Page.OnInitComplete(EventArgs e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
----错误类型:VerificationException
----错误信息:
----操作可能会破坏运行时稳定性。
----错误堆栈:
在 Newtonsoft.Json.Utilities.EnumUtils.GetValues(Type enumType)
在 Newtonsoft.Json.JsonWriter.BuildStateArray()
在 Newtonsoft.Json.JsonWriter..cctor()
出错时间:07/03/2024 10:52:18
出错文件:http://localhost:5001/Login.aspx
IP地址:::1
出错时间:07/03/2024 10:52:18
出错时间:07/03/2024 10:52:18
错误信息开始=====>
错误类型:TypeInitializationException
错误信息:“Newtonsoft.Json.JsonWriter”的类型初始值设定项引发异常。
错误堆栈:
在 Newtonsoft.Json.JsonWriter..ctor()
在 Newtonsoft.Json.JsonTextWriter..ctor(TextWriter textWriter)
在 Newtonsoft.Json.Linq.JToken.ToString(Formatting formatting, JsonConverter[] converters)
在 Newtonsoft.Json.Linq.JToken.ToString()
在 FineUIPro.FState.liODUDFgnTaHAObSSuvhxXErAPYo(String )
在 FineUIPro.FState.UsAzaBoapxBKvoJlqBvJFpbJgcycA()
在 FineUIPro.ControlBase.LJngLOSMdcbyaDTbTCofEhrzszQmA()
在 hZzEMoBFowQHNetYNlTaFyfiuHiLc.LJngLOSMdcbyaDTbTCofEhrzszQmA(Object , EventArgs )
在 System.Web.UI.Page.OnInitComplete(EventArgs e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
----错误类型:TypeInitializationException
----错误信息:
----“Newtonsoft.Json.Utilities.EnumUtils”的类型初始值设定项引发异常。
----错误堆栈:
在 Newtonsoft.Json.Utilities.EnumUtils.GetEnumValuesAndNames(Type enumType)
在 Newtonsoft.Json.JsonWriter.BuildStateArray()
在 Newtonsoft.Json.JsonWriter..cctor()
--------错误类型:VerificationException
--------错误信息:
--------操作可能会破坏运行时稳定性。
--------错误堆栈:
在 Newtonsoft.Json.Utilities.EnumUtils..cctor()
出错时间:07/03/2024 10:57:51
出错文件:http://localhost:5001/Login.aspx
IP地址:::1
出错时间:07/03/2024 10:57:51
错误信息开始=====>
错误类型:TypeInitializationException
错误信息:“Newtonsoft.Json.JsonWriter”的类型初始值设定项引发异常。
错误堆栈:
在 Newtonsoft.Json.JsonWriter..ctor()
在 Newtonsoft.Json.JsonTextWriter..ctor(TextWriter textWriter)
在 Newtonsoft.Json.Linq.JToken.ToString(Formatting formatting, JsonConverter[] converters)
在 Newtonsoft.Json.Linq.JToken.ToString()
在 FineUIPro.FState.liODUDFgnTaHAObSSuvhxXErAPYo(String )
在 FineUIPro.FState.UsAzaBoapxBKvoJlqBvJFpbJgcycA()
在 FineUIPro.ControlBase.LJngLOSMdcbyaDTbTCofEhrzszQmA()
在 hZzEMoBFowQHNetYNlTaFyfiuHiLc.LJngLOSMdcbyaDTbTCofEhrzszQmA(Object , EventArgs )
在 System.Web.UI.Page.OnInitComplete(EventArgs e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
----错误类型:TypeInitializationException
----错误信息:
----“Newtonsoft.Json.Utilities.EnumUtils”的类型初始值设定项引发异常。
----错误堆栈:
在 Newtonsoft.Json.Utilities.EnumUtils.GetEnumValuesAndNames(Type enumType)
在 Newtonsoft.Json.JsonWriter.BuildStateArray()
在 Newtonsoft.Json.JsonWriter..cctor()
--------错误类型:VerificationException
--------错误信息:
--------操作可能会破坏运行时稳定性。
--------错误堆栈:
在 Newtonsoft.Json.Utilities.EnumUtils..cctor()
出错时间:07/03/2024 11:00:14
出错文件:http://localhost:5001/Login.aspx
IP地址:::1
出错时间:07/03/2024 11:00:14
错误信息开始=====>
错误类型:TypeInitializationException
错误信息:“Newtonsoft.Json.JsonWriter”的类型初始值设定项引发异常。
错误堆栈:
在 Newtonsoft.Json.JsonWriter..ctor()
在 Newtonsoft.Json.JsonTextWriter..ctor(TextWriter textWriter)
在 Newtonsoft.Json.Linq.JToken.ToString(Formatting formatting, JsonConverter[] converters)
在 Newtonsoft.Json.Linq.JToken.ToString()
在 FineUIPro.FState.liODUDFgnTaHAObSSuvhxXErAPYo(String )
在 FineUIPro.FState.UsAzaBoapxBKvoJlqBvJFpbJgcycA()
在 FineUIPro.ControlBase.LJngLOSMdcbyaDTbTCofEhrzszQmA()
在 hZzEMoBFowQHNetYNlTaFyfiuHiLc.LJngLOSMdcbyaDTbTCofEhrzszQmA(Object , EventArgs )
在 System.Web.UI.Page.OnInitComplete(EventArgs e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
----错误类型:TypeInitializationException
----错误信息:
----“Newtonsoft.Json.Utilities.EnumUtils”的类型初始值设定项引发异常。
----错误堆栈:
在 Newtonsoft.Json.Utilities.EnumUtils.GetEnumValuesAndNames(Type enumType)
在 Newtonsoft.Json.JsonWriter.BuildStateArray()
在 Newtonsoft.Json.JsonWriter..cctor()
--------错误类型:VerificationException
--------错误信息:
--------操作可能会破坏运行时稳定性。
--------错误堆栈:
在 Newtonsoft.Json.Utilities.EnumUtils..cctor()
出错时间:07/03/2024 11:07:33
出错文件:http://localhost:5001/Login.aspx
IP地址:::1
出错时间:07/03/2024 11:07:33
错误信息开始=====>
错误类型:TypeInitializationException
错误信息:“Newtonsoft.Json.JsonWriter”的类型初始值设定项引发异常。
错误堆栈:
在 Newtonsoft.Json.JsonWriter..ctor()
在 Newtonsoft.Json.JsonTextWriter..ctor(TextWriter textWriter)
在 Newtonsoft.Json.Linq.JToken.ToString(Formatting formatting, JsonConverter[] converters)
在 Newtonsoft.Json.Linq.JToken.ToString()
在 FineUIPro.FState.liODUDFgnTaHAObSSuvhxXErAPYo(String )
在 FineUIPro.FState.UsAzaBoapxBKvoJlqBvJFpbJgcycA()
在 FineUIPro.ControlBase.LJngLOSMdcbyaDTbTCofEhrzszQmA()
在 hZzEMoBFowQHNetYNlTaFyfiuHiLc.LJngLOSMdcbyaDTbTCofEhrzszQmA(Object , EventArgs )
在 System.Web.UI.Page.OnInitComplete(EventArgs e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
----错误类型:TypeInitializationException
----错误信息:
----“Newtonsoft.Json.Utilities.EnumUtils”的类型初始值设定项引发异常。
----错误堆栈:
在 Newtonsoft.Json.Utilities.EnumUtils.GetEnumValuesAndNames(Type enumType)
在 Newtonsoft.Json.JsonWriter.BuildStateArray()
在 Newtonsoft.Json.JsonWriter..cctor()
--------错误类型:VerificationException
--------错误信息:
--------操作可能会破坏运行时稳定性。
--------错误堆栈:
在 Newtonsoft.Json.Utilities.EnumUtils..cctor()
出错时间:07/03/2024 11:09:28
出错文件:http://localhost:5001/Login.aspx
IP地址:::1
出错时间:07/03/2024 11:09:28
错误信息开始=====>
错误类型:TypeInitializationException
错误信息:“Newtonsoft.Json.JsonWriter”的类型初始值设定项引发异常。
错误堆栈:
在 Newtonsoft.Json.JsonWriter..ctor()
在 Newtonsoft.Json.JsonTextWriter..ctor(TextWriter textWriter)
在 Newtonsoft.Json.Linq.JToken.ToString(Formatting formatting, JsonConverter[] converters)
在 Newtonsoft.Json.Linq.JToken.ToString()
在 FineUIPro.FState.liODUDFgnTaHAObSSuvhxXErAPYo(String )
在 FineUIPro.FState.UsAzaBoapxBKvoJlqBvJFpbJgcycA()
在 FineUIPro.ControlBase.LJngLOSMdcbyaDTbTCofEhrzszQmA()
在 hZzEMoBFowQHNetYNlTaFyfiuHiLc.LJngLOSMdcbyaDTbTCofEhrzszQmA(Object , EventArgs )
在 System.Web.UI.Page.OnInitComplete(EventArgs e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
----错误类型:TypeInitializationException
----错误信息:
----“Newtonsoft.Json.Utilities.EnumUtils”的类型初始值设定项引发异常。
----错误堆栈:
在 Newtonsoft.Json.Utilities.EnumUtils.GetEnumValuesAndNames(Type enumType)
在 Newtonsoft.Json.JsonWriter.BuildStateArray()
在 Newtonsoft.Json.JsonWriter..cctor()
--------错误类型:VerificationException
--------错误信息:
--------操作可能会破坏运行时稳定性。
--------错误堆栈:
在 Newtonsoft.Json.Utilities.EnumUtils..cctor()
出错时间:07/17/2024 16:06:05
出错文件:http://localhost:5001/Login.aspx
IP地址:::1
出错时间:07/17/2024 16:06:05
出错时间:07/17/2024 16:06:05
错误信息开始=====>
错误类型:TypeInitializationException
错误信息:“Newtonsoft.Json.JsonWriter”的类型初始值设定项引发异常。
错误堆栈:
在 Newtonsoft.Json.JsonWriter..ctor()
在 Newtonsoft.Json.JsonTextWriter..ctor(TextWriter textWriter)
在 Newtonsoft.Json.Linq.JToken.ToString(Formatting formatting, JsonConverter[] converters)
在 Newtonsoft.Json.Linq.JToken.ToString()
在 FineUIPro.FState.liODUDFgnTaHAObSSuvhxXErAPYo(String )
在 FineUIPro.FState.UsAzaBoapxBKvoJlqBvJFpbJgcycA()
在 FineUIPro.ControlBase.LJngLOSMdcbyaDTbTCofEhrzszQmA()
在 hZzEMoBFowQHNetYNlTaFyfiuHiLc.LJngLOSMdcbyaDTbTCofEhrzszQmA(Object , EventArgs )
在 System.Web.UI.Page.OnInitComplete(EventArgs e)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
----错误类型:TypeInitializationException
----错误信息:
----“Newtonsoft.Json.Utilities.EnumUtils”的类型初始值设定项引发异常。
----错误堆栈:
在 Newtonsoft.Json.Utilities.EnumUtils.GetEnumValuesAndNames(Type enumType)
在 Newtonsoft.Json.JsonWriter.BuildStateArray()
在 Newtonsoft.Json.JsonWriter..cctor()
--------错误类型:VerificationException
--------错误信息:
--------操作可能会破坏运行时稳定性。
--------错误堆栈:
在 Newtonsoft.Json.Utilities.EnumUtils..cctor()
出错时间:07/17/2024 16:08:10
出错文件:http://localhost:5001/Login.aspx
IP地址:::1
出错时间:07/17/2024 16:08:10
出错时间:07/17/2024 16:08:10
错误信息开始=====>
错误类型:NotSupportedException
错误信息:不能在查询运算符(Contains 运算符除外)的 LINQ to SQL 实现中使用本地序列。
错误堆栈:
在 System.Data.Linq.SqlClient.QueryConverter.CoerceToSequence(SqlNode node)
在 System.Data.Linq.SqlClient.QueryConverter.VisitJoin(Expression outerSequence, Expression innerSequence, LambdaExpression outerKeySelector, LambdaExpression innerKeySelector, LambdaExpression resultSelector)
在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node)
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
在 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
在 System.Linq.Lookup`2.CreateForJoin(IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer)
在 System.Linq.Enumerable.<JoinIterator>d__38`4.MoveNext()
在 System.Linq.Lookup`2.Create[TSource](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
在 System.Linq.GroupedEnumerable`3.GetEnumerator()
在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
在 System.Linq.Enumerable.<DistinctIterator>d__64`1.MoveNext()
在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
在 FineUIPro.Web.common.mainGdaz.Page_Load(Object sender, EventArgs e) 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\FineUIPro.Web\common\mainGdaz.aspx.cs:行号 49
在 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)
出错时间:07/18/2024 09:38:20
出错文件:http://localhost:5001/common/mainGdaz.aspx
IP地址:::1
操作人员:管理员
出错时间:07/18/2024 09:38:20
错误信息开始=====>
错误类型:NotSupportedException
错误信息:不能在查询运算符(Contains 运算符除外)的 LINQ to SQL 实现中使用本地序列。
错误堆栈:
在 System.Data.Linq.SqlClient.QueryConverter.CoerceToSequence(SqlNode node)
在 System.Data.Linq.SqlClient.QueryConverter.VisitJoin(Expression outerSequence, Expression innerSequence, LambdaExpression outerKeySelector, LambdaExpression innerKeySelector, LambdaExpression resultSelector)
在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node)
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
在 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
在 System.Linq.Lookup`2.CreateForJoin(IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer)
在 System.Linq.Enumerable.<JoinIterator>d__38`4.MoveNext()
在 System.Linq.Lookup`2.Create[TSource](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
在 System.Linq.GroupedEnumerable`3.GetEnumerator()
在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
在 System.Linq.Enumerable.<DistinctIterator>d__64`1.MoveNext()
在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
在 FineUIPro.Web.common.mainGdaz.Page_Load(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)
出错时间:07/18/2024 09:40:15
出错文件:http://localhost:5001/common/mainGdaz.aspx
IP地址:::1
操作人员:管理员
出错时间:07/18/2024 09:40:15
错误信息开始=====>
错误类型:NotSupportedException
错误信息:不能在查询运算符(Contains 运算符除外)的 LINQ to SQL 实现中使用本地序列。
错误堆栈:
在 System.Data.Linq.SqlClient.QueryConverter.CoerceToSequence(SqlNode node)
在 System.Data.Linq.SqlClient.QueryConverter.VisitJoin(Expression outerSequence, Expression innerSequence, LambdaExpression outerKeySelector, LambdaExpression innerKeySelector, LambdaExpression resultSelector)
在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node)
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
在 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
在 System.Linq.Lookup`2.CreateForJoin(IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer)
在 System.Linq.Enumerable.<JoinIterator>d__38`4.MoveNext()
在 System.Linq.Lookup`2.Create[TSource](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
在 System.Linq.GroupedEnumerable`3.GetEnumerator()
在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
在 System.Linq.Enumerable.<DistinctIterator>d__64`1.MoveNext()
在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
在 FineUIPro.Web.common.mainGdaz.Page_Load(Object sender, EventArgs e) 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\FineUIPro.Web\common\mainGdaz.aspx.cs:行号 55
在 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)
出错时间:07/18/2024 09:41:34
出错文件:http://localhost:5001/common/mainGdaz.aspx
IP地址:::1
操作人员:管理员
出错时间:07/18/2024 09:41:34
错误信息开始=====>
错误类型:NotSupportedException
错误信息:不能在查询运算符(Contains 运算符除外)的 LINQ to SQL 实现中使用本地序列。
错误堆栈:
在 System.Data.Linq.SqlClient.QueryConverter.CoerceToSequence(SqlNode node)
在 System.Data.Linq.SqlClient.QueryConverter.VisitJoin(Expression outerSequence, Expression innerSequence, LambdaExpression outerKeySelector, LambdaExpression innerKeySelector, LambdaExpression resultSelector)
在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node)
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
在 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
在 System.Linq.Lookup`2.CreateForJoin(IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer)
在 System.Linq.Enumerable.<JoinIterator>d__38`4.MoveNext()
在 System.Linq.Lookup`2.Create[TSource](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
在 System.Linq.GroupedEnumerable`3.GetEnumerator()
在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
在 System.Linq.Enumerable.<DistinctIterator>d__64`1.MoveNext()
在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
在 FineUIPro.Web.common.mainGdaz.Page_Load(Object sender, EventArgs e) 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\FineUIPro.Web\common\mainGdaz.aspx.cs:行号 48
在 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)
出错时间:07/18/2024 09:43:53
出错文件:http://localhost:5001/common/mainGdaz.aspx
IP地址:::1
操作人员:管理员
出错时间:07/18/2024 09:43:53
错误信息开始=====>
错误类型:NotSupportedException
错误信息:不能在查询运算符(Contains 运算符除外)的 LINQ to SQL 实现中使用本地序列。
错误堆栈:
在 System.Data.Linq.SqlClient.QueryConverter.CoerceToSequence(SqlNode node)
在 System.Data.Linq.SqlClient.QueryConverter.VisitJoin(Expression outerSequence, Expression innerSequence, LambdaExpression outerKeySelector, LambdaExpression innerKeySelector, LambdaExpression resultSelector)
在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node)
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
在 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
在 System.Linq.Lookup`2.CreateForJoin(IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer)
在 System.Linq.Enumerable.<JoinIterator>d__38`4.MoveNext()
在 System.Linq.Lookup`2.Create[TSource](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
在 System.Linq.GroupedEnumerable`3.GetEnumerator()
在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
在 System.Linq.Enumerable.<DistinctIterator>d__64`1.MoveNext()
在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
在 FineUIPro.Web.common.mainGdaz.Page_Load(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)
出错时间:07/18/2024 09:46:36
出错文件:http://localhost:5001/common/mainGdaz.aspx
IP地址:::1
操作人员:管理员
出错时间:07/18/2024 09:46:36
错误信息开始=====>
错误类型:NotSupportedException
错误信息:不能在查询运算符(Contains 运算符除外)的 LINQ to SQL 实现中使用本地序列。
错误堆栈:
在 System.Data.Linq.SqlClient.QueryConverter.CoerceToSequence(SqlNode node)
在 System.Data.Linq.SqlClient.QueryConverter.VisitJoin(Expression outerSequence, Expression innerSequence, LambdaExpression outerKeySelector, LambdaExpression innerKeySelector, LambdaExpression resultSelector)
在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node)
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
在 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
在 FineUIPro.Web.common.mainGdaz.Page_Load(Object sender, EventArgs e) 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\FineUIPro.Web\common\mainGdaz.aspx.cs:行号 32
在 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)
出错时间:07/18/2024 09:49:10
出错文件:http://localhost:5001/common/mainGdaz.aspx
IP地址:::1
操作人员:管理员
出错时间:07/18/2024 09:49:10
错误信息开始=====>
错误类型:NotSupportedException
错误信息:不能在查询运算符(Contains 运算符除外)的 LINQ to SQL 实现中使用本地序列。
错误堆栈:
在 System.Data.Linq.SqlClient.QueryConverter.CoerceToSequence(SqlNode node)
在 System.Data.Linq.SqlClient.QueryConverter.VisitJoin(Expression outerSequence, Expression innerSequence, LambdaExpression outerKeySelector, LambdaExpression innerKeySelector, LambdaExpression resultSelector)
在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node)
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
在 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
在 FineUIPro.Web.common.mainGdaz.Page_Load(Object sender, EventArgs e) 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\FineUIPro.Web\common\mainGdaz.aspx.cs:行号 48
在 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)
出错时间:07/18/2024 09:51:48
出错文件:http://localhost:5001/common/mainGdaz.aspx
IP地址:::1
操作人员:管理员
出错时间:07/18/2024 09:51:48
错误信息开始=====>
错误类型:NotSupportedException
错误信息:不能在查询运算符(Contains 运算符除外)的 LINQ to SQL 实现中使用本地序列。
错误堆栈:
在 System.Data.Linq.SqlClient.QueryConverter.CoerceToSequence(SqlNode node)
在 System.Data.Linq.SqlClient.QueryConverter.VisitJoin(Expression outerSequence, Expression innerSequence, LambdaExpression outerKeySelector, LambdaExpression innerKeySelector, LambdaExpression resultSelector)
在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node)
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
在 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
在 FineUIPro.Web.common.mainGdaz.Page_Load(Object sender, EventArgs e) 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\FineUIPro.Web\common\mainGdaz.aspx.cs:行号 58
在 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)
出错时间:07/18/2024 09:54:19
出错文件:http://localhost:5001/common/mainGdaz.aspx
IP地址:::1
操作人员:管理员
出错时间:07/18/2024 09:54:19
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 FineUIPro.Web._default.Page_Init(Object sender, EventArgs e) 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\FineUIPro.Web\default.aspx.cs:行号 115
在 System.Web.UI.Control.OnInit(EventArgs e)
在 System.Web.UI.Page.OnInit(EventArgs e)
在 FineUIPro.Web.PageBase.OnInit(EventArgs e) 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\FineUIPro.Web\common\PageBase.cs:行号 135
在 System.Web.UI.Control.InitRecursive(Control namingContainer)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:07/18/2024 14:40:10
出错文件:http://localhost:5001/default.aspx?ispop=1&menuModule=3&projectId=2d948a2f-5e57-40cc-9004-ced089b91d72
IP地址:::1
出错时间:07/18/2024 14:40:10
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 FineUIPro.Web.common.MainGdazServer.BindProject() 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\FineUIPro.Web\common\MainGdazServer.aspx.cs:行号 28
在 FineUIPro.Web.common.MainGdazServer.Page_Load(Object sender, EventArgs e) 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\FineUIPro.Web\common\MainGdazServer.aspx.cs:行号 19
在 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)
出错时间:07/18/2024 14:40:24
出错文件:http://localhost:5001/common/mainGdazServer.aspx
IP地址:::1
出错时间:07/18/2024 14:40:24
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 FineUIPro.Web._default.Page_Init(Object sender, EventArgs e) 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\FineUIPro.Web\default.aspx.cs:行号 115
在 System.Web.UI.Control.OnInit(EventArgs e)
在 System.Web.UI.Page.OnInit(EventArgs e)
在 FineUIPro.Web.PageBase.OnInit(EventArgs e) 位置 D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\FineUIPro.Web\common\PageBase.cs:行号 135
在 System.Web.UI.Control.InitRecursive(Control namingContainer)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:07/18/2024 14:40:27
出错文件:http://localhost:5001/default.aspx?menuModule=2
IP地址:::1
出错时间:07/18/2024 14:40:27

View File

@ -62,9 +62,8 @@
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.JScript" />
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\FineUIPro\Net40\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="NPOI, Version=2.5.1.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
<HintPath>..\packages\NPOI.2.5.1\lib\net40\NPOI.dll</HintPath>
@ -100,8 +99,8 @@
<Reference Include="System.Configuration" />
<Reference Include="System.Web.Services" />
<Reference Include="System.EnterpriseServices" />
<Reference Include="ThoughtWorks.QRCode">
<HintPath>bin\ThoughtWorks.QRCode\X86\1.0.2774.19990\ThoughtWorks.QRCode.dll</HintPath>
<Reference Include="ThoughtWorks.QRCode, Version=1.0.4778.30637, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\ThoughtWorks.QRCode.1.1.0\lib\ThoughtWorks.QRCode.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>

View File

@ -8,6 +8,7 @@ using BLL;
using System.Windows.Forms;
using Newtonsoft.Json.Linq;
using AspNet = System.Web.UI.WebControls;
using FineUIPro.Web.common.BaseInfo;
namespace FineUIPro.Web.HJGL.WeldingManage
{
@ -41,6 +42,12 @@ namespace FineUIPro.Web.HJGL.WeldingManage
}
#endregion
public static List<Model.HJGL_View_CH_TrustItem> trustItemList;
public static List<Model.HJGLPointManageCheckIsOk> hotPass_JOT_ID_List;
public static List<Model.HJGLPointManageCheckIsOk> hardPassList;
public static List<Model.HJGLPointManageCheckIsOk> HotProessTrustItemList;
public static List<Model.HJGLPointManageCheckIsOk> hotHardList;
#region
/// <summary>
/// 加载页面
@ -108,6 +115,15 @@ namespace FineUIPro.Web.HJGL.WeldingManage
//cbVI.HeaderText = "<i class=\"ui-icon f-grid-checkbox myheadercheckbox\"></i>&nbsp;外观检验";
//显示列
trustItemList = HJGL_TrustManageEditService.GetView_CH_TrustItemByProjectId(this.drpProjectId.SelectedValue);
hotPass_JOT_ID_List = (from x in Funs.DB.HJGL_View_CH_HotProessResult where x.ProjectId == drpProjectId.SelectedValue select new Model.HJGLPointManageCheckIsOk { Id = x.JOT_ID, IsOK = x.IsOK }).ToList();
hardPassList = (from x in Funs.DB.HJGL_View_CH_HardTestResult where x.ProjectId == drpProjectId.SelectedValue select new Model.HJGLPointManageCheckIsOk { Id = x.JOT_ID, IsOK = x.IsOK }).ToList();
HotProessTrustItemList = (from x in Funs.DB.HJGL_View_CH_HotProessTrustItem where x.ProjectId == drpProjectId.SelectedValue && x.TrustDate != null select new Model.HJGLPointManageCheckIsOk { Id = x.JOT_ID, IsOK = x.IsOK }).ToList();
hotHardList = (from x in Funs.DB.HJGL_CH_HardTestReportItem select new Model.HJGLPointManageCheckIsOk { Id = x.JOT_ID }).ToList();
Model.Sys_UserShowColumns c = BLL.Sys_UserShowColumnsService.GetColumnsByUserId(this.CurrUser.UserId, "P");
if (c != null)
{
@ -1239,7 +1255,18 @@ namespace FineUIPro.Web.HJGL.WeldingManage
if (!string.IsNullOrEmpty(batchDetail.JOT_ID))
{
//委托日期
var trustItem = BLL.HJGL_TrustManageEditService.GetView_CH_TrustItemByJotID(batchDetail.JOT_ID, batch.ProjectId);
//var trustItem = BLL.HJGL_TrustManageEditService.GetView_CH_TrustItemByJotID(batchDetail.JOT_ID, batch.ProjectId);
//if (trustItem != null)
//{
// var trust = BLL.HJGL_TrustManageEditService.GetCH_TrustByID(trustItem.CH_TrustID);
// if (trust != null)
// {
// if (trust.CH_TrustDate != null)
// {
// lblTrustDate.Text = string.Format("{0:yyyy-MM-dd}", trust.CH_TrustDate);
// }
// }
var trustItem = trustItemList.FirstOrDefault(x => x.JOT_ID == batchDetail.JOT_ID);
if (trustItem != null)
{
var trust = BLL.HJGL_TrustManageEditService.GetCH_TrustByID(trustItem.CH_TrustID);
@ -1247,13 +1274,13 @@ namespace FineUIPro.Web.HJGL.WeldingManage
{
if (trust.CH_TrustDate != null)
{
lblTrustDate.Text = string.Format("{0:yyyy-MM-dd}", trust.CH_TrustDate);
lblTrustDate.Text = string.Format("{0:yyyy-MM-dd}", trust.CH_TrustDate);
}
}
}
//热处理合格
var hotPass = Funs.DB.HJGL_View_CH_HotProessResult.FirstOrDefault(x => x.JOT_ID == batchDetail.JOT_ID && x.ProjectId == batch.ProjectId);
var hotPass = hotPass_JOT_ID_List.FirstOrDefault(x => x .Id== batchDetail.JOT_ID);
if (hotPass != null)
{
if (hotPass.IsOK == true)
@ -1262,7 +1289,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
}
}
//硬度合格
var hardPass = Funs.DB.HJGL_View_CH_HardTestResult.FirstOrDefault(x => x.JOT_ID == batchDetail.JOT_ID && x.ProjectId == batch.ProjectId);
var hardPass = hardPassList.FirstOrDefault(x => x.Id == batchDetail.JOT_ID );
if (hardPass != null)
{
if (hardPass.IsOK == true)
@ -1271,13 +1298,13 @@ namespace FineUIPro.Web.HJGL.WeldingManage
}
}
//是否热处理
var hotProessTrustItem = Funs.DB.HJGL_View_CH_HotProessTrustItem.FirstOrDefault(x => x.JOT_ID == batchDetail.JOT_ID && x.ProjectId == batch.ProjectId && x.TrustDate != null);
var hotProessTrustItem = HotProessTrustItemList.FirstOrDefault(x => x.Id == batchDetail.JOT_ID );
if (hotProessTrustItem != null)
{
cbHotTrust.Checked = true;
}
//硬度委托
var hotHard = Funs.DB.HJGL_CH_HardTestReportItem.FirstOrDefault(x => x.JOT_ID == batchDetail.JOT_ID);
var hotHard = hotHardList.FirstOrDefault(x => x.Id == batchDetail.JOT_ID);
if (hotHard != null)
{
cbHotHard.Checked = true;

View File

@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
有关如何配置 ASP.NET 应用程序的详细消息,请访问
@ -6,130 +6,138 @@
-->
<configuration>
<configSections>
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false"/>
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false" />
</configSections>
<FineUIPro DebugMode="false" Theme="Cupertino"/>
<FineUIPro DebugMode="false" Theme="Cupertino" />
<appSettings>
<!--连接字符串-->
<add key="ConnectionString" value="Server=.\SQL2016;Database=HJGLDB_ZH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/>
<add key="ConnectionString" value="Server=.\MSSQLSERVER2016;Database=HJGLDB_NEW;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200" />
<!--系统名称-->
<add key="SystemName" value="诺必达焊接管理系统"/>
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
<add key="aspnet:MaxHttpCollectionKeys" value="50000"/>
<add key="SystemVersion" value="SGGLPackFile_V2017-03-30-001"/>
<add key="ADomainUrl" value="10.151.130.1"/>
<add key="APPUrl" value="https://www.pgyer.com/pWSd"/>
<add key="SystemName" value="诺必达焊接管理系统" />
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;" />
<add key="aspnet:MaxHttpCollectionKeys" value="50000" />
<add key="SystemVersion" value="SGGLPackFile_V2017-03-30-001" />
<add key="ADomainUrl" value="10.151.130.1" />
<add key="APPUrl" value="https://www.pgyer.com/pWSd" />
<!--系统:焊接管理为HJGL,焊材管理HJCLGL-->
<add key="SystemCode" value="HJCLGL"/>
<add key="http" value="http://localhost/test/"/>
<add key="SystemCode" value="HJCLGL" />
<add key="http" value="http://localhost/test/" />
</appSettings>
<system.web>
<!-- 会话状态设置 默认情况下ASP.NET 使用 Cookie 来标识哪些请求属于特定的会话。如果 Cookie 不可用,则可以通过将会话标识符添加到 URL 来跟踪会话。若要禁用 Cookie请设置 sessionState cookieless="true" -->
<sessionState mode="InProc" cookieless="UseCookies" timeout="1200"/>
<sessionState mode="InProc" cookieless="UseCookies" timeout="1200" />
<!--<processModel enable="true" requestQueueLimit="100000"/>-->
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
<controls>
<add tagPrefix="f" namespace="FineUIPro" assembly="FineUIPro"/>
<add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="f" namespace="FineUIPro" assembly="FineUIPro" />
<add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</controls>
</pages>
<httpModules>
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro" />
</httpModules>
<httpHandlers>
<add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false"/>
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false" />
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
</httpHandlers>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
</compilation>
<httpRuntime requestValidationMode="2.0" maxRequestLength="999999999" maxQueryStringLength="2097151" executionTimeout="36000"/>
<httpRuntime requestValidationMode="2.0" maxRequestLength="999999999" maxQueryStringLength="2097151" executionTimeout="36000" />
<authentication mode="Forms">
<forms loginUrl="Login.aspx" name="PUBLISHERCOOKIE" protection="All" timeout="1440" path="/"/>
<forms loginUrl="Login.aspx" name="PUBLISHERCOOKIE" protection="All" timeout="1440" path="/" />
</authentication>
<membership>
<providers>
<clear/>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
<clear />
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
</providers>
</membership>
<profile>
<providers>
<clear/>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
<clear />
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
</providers>
</profile>
<roleManager enabled="false">
<providers>
<clear/>
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
<clear />
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
</providers>
</roleManager>
<customErrors mode="RemoteOnly" defaultRedirect="LogOff.aspx"/>
<customErrors mode="RemoteOnly" defaultRedirect="LogOff.aspx" />
<webServices>
<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="Documentation"/>
<add name="HttpSoap" />
<add name="HttpPost" />
<add name="HttpGet" />
<add name="Documentation" />
</protocols>
</webServices>
</system.web>
<location path="res.axd"/>
<location path="res.axd" />
<system.webServer>
<staticContent>
<mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File"/>
<mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File"/>
<mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File" />
<mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File" />
</staticContent>
<validation validateIntegratedModeConfiguration="false"/>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true">
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
<remove name="ScriptModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro" />
<remove name="ScriptModule" />
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</modules>
<handlers>
<remove name="ChartImageHandler"/>
<add name="FineUIProResourceHandler" verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro"/>
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<remove name="ChartImageHandler" />
<add name="FineUIProResourceHandler" verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" />
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</handlers>
<defaultDocument>
<files>
<add value="Login.aspx"/>
<add value="Login.aspx" />
</files>
</defaultDocument>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="2147483647" maxQueryString="2147483647"/>
<requestLimits maxAllowedContentLength="2147483647" maxQueryString="2147483647" />
</requestFiltering>
</security>
</system.webServer>
<!-- SERVER -->
<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
<services>
<service name="BLL.OpenService.HSSEService" behaviorConfiguration="HSSEServiceBehavior">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="HSSEServiceBinding" name="HSSEServiceEndpoint" contract="BLL.OpenService.IHSSEService"/>
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="HSSEServiceBinding" name="HSSEServiceEndpoint" contract="BLL.OpenService.IHSSEService" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="HSSEServiceBehavior">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647"/>
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<wsHttpBinding>
<binding name="HSSEServiceBinding" maxReceivedMessageSize="2147483647" useDefaultWebProxy="false" maxBufferPoolSize="2147483647" closeTimeout="20:00:00" openTimeout="00:01:10" receiveTimeout="20:00:00" sendTimeout="20:00:00">
<readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="409600" maxNameTableCharCount="2147483647"/>
<security mode="None"/>
<readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="409600" maxNameTableCharCount="2147483647" />
<security mode="None" />
</binding>
</wsHttpBinding>
</bindings>
</system.serviceModel>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

View File

@ -6,6 +6,7 @@ using System.Data.SqlClient;
using System.Text;
using AspNet = System.Web.UI.WebControls;
using BLL;
using System.Diagnostics;
namespace FineUIPro.Web.Welder
{
@ -29,6 +30,8 @@ namespace FineUIPro.Web.Welder
this.drpUnit.DataBind();
Funs.FineUIPleaseSelect(this.drpUnit);
txtStartDate.SelectedDate = DateTime.Now.AddDays(-30).Date;
txtEndDate.SelectedDate = DateTime.Now.Date;
// 绑定表格
BindGrid();
}
@ -36,7 +39,11 @@ namespace FineUIPro.Web.Welder
private void BindGrid()
{
List<SqlParameter> listStr = new List<SqlParameter>();
List<SqlParameter> listStr = new List<SqlParameter>
{
/* new SqlParameter("@pageIndex", Grid1.PageIndex+1),
new SqlParameter("@pageSize", Grid1.PageSize)*/
};
if (this.drpUnit.SelectedValue != BLL.Const._Null)
{
listStr.Add(new SqlParameter("@unitId", this.drpUnit.SelectedValue));
@ -65,12 +72,19 @@ namespace FineUIPro.Web.Welder
}
SqlParameter[] parameter = listStr.ToArray();
Stopwatch sw = new Stopwatch();
sw.Start();
DataTable tb = SQLHelper.GetDataTableRunProc("HJGL_sp_FilmInfo", parameter);
this.Grid1.RecordCount = tb.Rows.Count;
tb = GetFilteredTable(Grid1.FilteredData, tb);
var table = this.GetPagedDataTable(Grid1, tb);
Grid1.DataSource = table;
Grid1.DataBind();
sw.Stop();
TimeSpan dt = sw.Elapsed;
}
#region

View File

@ -72,20 +72,22 @@ namespace FineUIPro.Web.common.ProjectSet
{
//string unitid = this.tvUnit.SelectedNodeID;
string strSql = @"SELECT WED_ID,WED_Code, WED_Name FROM dbo.HJGL_BS_Welder
WHERE WED_ID NOT IN(SELECT WED_ID FROM Project_Welder WHERE ProjectId =@ProjectId)
AND IsOAM=1";
string strSql = @"SELECT W.WED_ID, W.WED_Code, W.WED_Name
FROM dbo.HJGL_BS_Welder W
LEFT JOIN Project_Welder PW ON W.WED_ID = PW.WED_ID AND PW.ProjectId = @ProjectId
WHERE PW.WED_ID IS NULL
AND W.IsOAM = 1 ";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@ProjectId", ProjectId));
if (!string.IsNullOrEmpty(txtWeldCode.Text))
{
strSql += " AND WED_Code LIKE @WED_Code";
strSql += " AND W.WED_Code LIKE @WED_Code";
listStr.Add(new SqlParameter("@WED_Code", "%" + this.txtWeldCode.Text.Trim() + "%"));
}
if (!string.IsNullOrEmpty(this.txtWeldName.Text))
{
strSql += " AND WED_Name LIKE @WED_Name";
strSql += " AND W.WED_Name LIKE @WED_Name";
listStr.Add(new SqlParameter("@WED_Name", "%" + this.txtWeldName.Text.Trim() + "%"));
}
SqlParameter[] parameter = listStr.ToArray();

View File

@ -8,6 +8,7 @@ using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
using System.Text;
using System.Threading.Tasks;
namespace FineUIPro.Web.common
{
@ -24,40 +25,49 @@ namespace FineUIPro.Web.common
this.drpProject.DataBind();
Funs.FineUIPleaseSelect(this.drpProject);
this.drpProject.SelectedValue = this.CurrUser.LoginProjectId;
//更新要求完成日期
List<Model.HJGL_BO_Batch> batchLists = (from x in Funs.DB.HJGL_BO_Batch
where x.ProjectId == this.drpProject.SelectedValue && !x.AskCompleteDate.HasValue
select x).ToList();
//委托单不为null且 对应批明细的委托单明细状态为2
List<Model.HJGL_BO_Batch> Allbatch = (from x in Funs.DB.HJGL_BO_Batch
where x.ProjectId == this.drpProject.SelectedValue && !x.AskCompleteDate.HasValue
select x).ToList();
var batchdetails = from x in Funs.DB.HJGL_BO_BatchDetail
join y in Funs.DB.HJGL_BO_Batch on x.BatchId equals y.BatchId
where y.ProjectId == this.drpProject.SelectedValue
select x;
where y.ProjectId == this.drpProject.SelectedValue && !y.AskCompleteDate.HasValue
select x; //获取所以批明细
var trustdetails = from x in Funs.DB.HJGL_CH_TrustItem
join y in Funs.DB.HJGL_BO_BatchDetail on x.BatchDetailId equals y.BatchDetailId
join z in Funs.DB.HJGL_BO_Batch on y.BatchId equals z.BatchId
where z.ProjectId == this.drpProject.SelectedValue
select x;
foreach (var item in batchLists)
{
bool isCheck = true;
var batchdetail = from x in batchdetails where x.BatchId == item.BatchId select x.BatchDetailId;
var trust = BLL.HJGL_TrustManageEditService.GetTrustByBatchId(item.BatchId);
var ndtr = BLL.HJGL_DetectionService.GetNDTRateByNDTRID(item.NDTR_ID);
join z in Funs.DB.HJGL_BO_Batch on y.BatchId equals z.BatchId
where z.ProjectId == this.drpProject.SelectedValue && !z.AskCompleteDate.HasValue
select x; //获取所有批明细对应委托明细
List<Model.HJGL_BO_Batch> batchLists2 = (from x in Allbatch
join m in Funs.DB.HJGL_BS_NDTRate on x.NDTR_ID equals m.NDTR_ID
join n in Funs.DB.HJGL_CH_Trust on x.BatchId equals n.BatchId into g
from t in g.DefaultIfEmpty()
where m.NDTR_Rate.Value==0 && t==null
select x).Distinct().ToList(); //获取委托单为null且检测比例是0的
var batchLists = (from x in Allbatch
join n in Funs.DB.HJGL_CH_Trust on x.BatchId equals n.BatchId into g
select x).Distinct().ToList();
var batchdetailsList = batchdetails.ToList();
var trustdetailsList = trustdetails.ToList();
var batchLists4 = (
from x in batchLists
join y in batchdetailsList on x.BatchId equals y.BatchId
join m in trustdetailsList on y.BatchDetailId equals m.BatchDetailId
group new { x, m } by x into g
where g.All(item => item.m.States == "2")
select g.First().x
).Distinct().ToList();
batchLists2.AddRange(batchLists4);
batchLists2= batchLists2.Distinct().ToList();
foreach (var item in batchLists2)
{
var batchdetail = from x in batchdetails where x.BatchId == item.BatchId select x.BatchDetailId; //获取批次详情ID
var trustdetail = from x in trustdetails where batchdetail.Contains(x.BatchDetailId) orderby x.FeedbackDate descending select x;
if (trust == null && ndtr.NDTR_Rate.Value != 0)
{
isCheck = false;
}
else
{
if (trustdetail.Where(x => x.States != "2").Count() > 0)
{
isCheck = false;
}
}
//检测合格,更新要求完成日期
if (isCheck && item.BatchIsClosed == true)
if ( item.BatchIsClosed == true)
{
DateTime date = DateTime.Now;
if (trustdetail.Count() > 0)
{
@ -70,6 +80,65 @@ namespace FineUIPro.Web.common
BLL.HJGL_BO_BatchService.UpdateBatch(item);
}
}
#region
//List<Model.HJGL_BO_Batch> batchLists3= new List<Model.HJGL_BO_Batch>();
//List<Model.HJGL_BO_Batch> batchLists = (from x in Funs.DB.HJGL_BO_Batch
// where x.ProjectId == this.drpProject.SelectedValue && !x.AskCompleteDate.HasValue
// select x).ToList();
//var batchdetails = from x in Funs.DB.HJGL_BO_BatchDetail
// join y in Funs.DB.HJGL_BO_Batch on x.BatchId equals y.BatchId
// where y.ProjectId == this.drpProject.SelectedValue
// select x; //获取所以批明细
//var trustdetails = from x in Funs.DB.HJGL_CH_TrustItem
// join y in Funs.DB.HJGL_BO_BatchDetail on x.BatchDetailId equals y.BatchDetailId
// join z in Funs.DB.HJGL_BO_Batch on y.BatchId equals z.BatchId
// where z.ProjectId == this.drpProject.SelectedValue
// select x; //获取所有批明细对应委托明细
//foreach (var item in batchLists)
//{
// bool isCheck = true;
// var batchdetail = from x in batchdetails where x.BatchId == item.BatchId select x.BatchDetailId; //获取批次详情ID
// //var trust = BLL.HJGL_TrustManageEditService.GetTrustByBatchId(item.BatchId); //根据批Id获取委托信息
// var trust = Funs.DB.HJGL_CH_Trust.FirstOrDefault(x => x.BatchId == item.BatchId); //根据批Id获取委托信息
// var ndtr = Funs.DB.HJGL_BS_NDTRate.FirstOrDefault(x => x.NDTR_ID == item.NDTR_ID); //根据探伤比例Id获取探伤比例
// var trustdetail = from x in trustdetails where batchdetail.Contains(x.BatchDetailId) orderby x.FeedbackDate descending select x;
// if (trust == null && ndtr.NDTR_Rate.Value != 0)
// {
// isCheck = false;
// }
// else
// {
// if (trustdetail.Any(x => x.States != "2"))
// {
// isCheck = false;
// }
// }
// if (isCheck)
// {
// batchLists3.Add(item);
// }
// //检测合格,更新要求完成日期
// if (isCheck && item.BatchIsClosed == true)
// {
// DateTime date = DateTime.Now;
// if (trustdetail.Count() > 0)
// {
// if (trustdetail.FirstOrDefault().FeedbackDate != null)
// {
// date = trustdetail.FirstOrDefault().FeedbackDate.Value;
// }
// }
// item.AskCompleteDate = date;
// BLL.HJGL_BO_BatchService.UpdateBatch(item);
// }
//}
#endregion
BindProject();
BindBatch();
//BindGetWelder();
@ -80,8 +149,7 @@ namespace FineUIPro.Web.common
//BindCheckNoAudit();
}
}
#region
#region
/// <summary>
/// 绑定项目数据
/// </summary>

View File

@ -499,11 +499,11 @@
F.initTreeTabStrip(mainMenu, mainTabStrip, null, true, false, false);
var themeTitle = F.cookie('Theme_Pro_Title');
if (themeTitle) {
F.removeCookie('Theme_Pro_Title');
notify('主题更改为:' + themeTitle);
}
//var themeTitle = F.cookie('Theme_Pro_Title');
//if (themeTitle) {
// F.removeCookie('Theme_Pro_Title');
// notify('主题更改为:' + themeTitle);
//}
});

View File

@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net40" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net40" />
<package id="NPOI" version="2.5.1" targetFramework="net40" />
<package id="Portable.BouncyCastle" version="1.8.6" targetFramework="net40" />
<package id="SharpZipLib" version="0.86.0" targetFramework="net40" />
<package id="ThoughtWorks.QRCode" version="1.1.0" targetFramework="net40" />
</packages>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,8 @@
namespace Model
{
public class HJGLPointManageCheckIsOk
{
public string Id { get; set; }
public bool? IsOK { get; set; }
}
}

View File

@ -74,6 +74,7 @@
<Compile Include="ErrorInfo.cs" />
<Compile Include="GJSX\SpGetInfoCount.cs" />
<Compile Include="HandleStep.cs" />
<Compile Include="HJGL\HJGLPointManageCheckIsOk.cs" />
<Compile Include="HJGL\HJGL_SpRptBawZlfx.cs" />
<Compile Include="HJGL\HJGL_SpRptIsoAnalyze.cs" />
<Compile Include="HJGL\HJGL_SpRptIsoYzazjd.cs" />

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")]

View File

@ -1 +1 @@
e79886e1ca69bd8aba927a01a3b5f2b1225fe06f
57339f4a363b9faca664a99231f321d7a604e379b8ea1faf26c3882a6bc59476

View File

@ -187,3 +187,9 @@ E:\MyProject\ZHHJ\JA\HJGL_ZH\Model\obj\Debug\Model.csproj.CoreCompileInputs.cach
E:\MyProject\ZHHJ\JA\HJGL_ZH\Model\obj\Debug\Model.dll
E:\MyProject\ZHHJ\JA\HJGL_ZH\Model\obj\Debug\Model.pdb
E:\MyProject\ZHHJ\JA\HJGL_ZH\Model\obj\Debug\Model.csprojAssemblyReference.cache
D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\bin\Debug\Model.dll
D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\bin\Debug\Model.pdb
D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\obj\Debug\Model.csproj.AssemblyReference.cache
D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\obj\Debug\Model.csproj.CoreCompileInputs.cache
D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\obj\Debug\Model.dll
D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\obj\Debug\Model.pdb

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")]

View File

@ -1 +1 @@
e79886e1ca69bd8aba927a01a3b5f2b1225fe06f
ef8b5c00a9ff527f5a7291d35e91314cb426e131e3ad8f695f98b55c1c442b4d

View File

@ -169,3 +169,9 @@ E:\MyProject\ZHHJ\JA\HJGL_ZH\Model\obj\Release\Model.csproj.CoreCompileInputs.ca
E:\MyProject\ZHHJ\JA\HJGL_ZH\Model\obj\Release\Model.dll
E:\MyProject\ZHHJ\JA\HJGL_ZH\Model\obj\Release\Model.pdb
E:\MyProject\ZHHJ\JA\HJGL_ZH\Model\obj\Release\Model.csprojAssemblyReference.cache
D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\bin\Release\Model.dll
D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\bin\Release\Model.pdb
D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\obj\Release\Model.csproj.AssemblyReference.cache
D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\obj\Release\Model.csproj.CoreCompileInputs.cache
D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\obj\Release\Model.dll
D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\obj\Release\Model.pdb

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,3 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/IdeIntegrationViewOptions/FilterSnapshotsBySolution/@EntryValue">True</s:Boolean>
<s:String x:Key="/Default/Profiling/Configurations/=1/@EntryIndexedValue">&lt;data&gt;&lt;HostParameters type="LocalHostParameters" /&gt;&lt;Info type="TimelineInfo" /&gt;&lt;CoreOptions type="CoreOptions"&gt;&lt;CoreTempPath IsNull="False"&gt;&lt;/CoreTempPath&gt;&lt;RemoteEndPoint IsNull="False"&gt;&lt;/RemoteEndPoint&gt;&lt;AdditionalEnvironmentVariables /&gt;&lt;/CoreOptions&gt;&lt;HostOptions type="HostOptions"&gt;&lt;HostTempPath IsNull="False"&gt;&lt;/HostTempPath&gt;&lt;/HostOptions&gt;&lt;/data&gt;</s:String></wpf:ResourceDictionary>

View File

@ -0,0 +1 @@
{"RootPath":"D:\\数据\\诺必达\\镇海建安\\ZHJA_HJGL\\HJGL_ZH\\WebAPI","ProjectFileName":"WebAPI.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[],"References":[],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"D:\\数据\\诺必达\\镇海建安\\ZHJA_HJGL\\HJGL_ZH\\WebAPI\\bin\\WebAPI.dll","OutputItemRelativePath":"WebAPI.dll"},{"OutputItemFullPath":"D:\\数据\\诺必达\\镇海建安\\ZHJA_HJGL\\HJGL_ZH\\WebAPI\\bin\\WebAPI.pdb","OutputItemRelativePath":"WebAPI.pdb"}],"CopyToOutputEntries":[]}

View File

@ -1,79 +1,79 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
有关如何配置 ASP.NET 应用程序的详细信息,请访问
https://go.microsoft.com/fwlink/?LinkId=301879
-->
<configuration>
<appSettings>
<add key="webpages:Version" value="3.0.0.0"/>
<add key="webpages:Enabled" value="false"/>
<add key="ClientValidationEnabled" value="true"/>
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="false" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
<!--连接字符串-->
<add key="ConnectionString" value="Server=.;Database=HJGLDB_ZHJAN;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>
<add key="ConnectionString" value="Server=.;Database=HJGLDB_ZHJAN;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200" />
<!--版本号-->
<add key="SystemVersion" value="WebApi_V2022-10-07-001"/>
<add key="SystemVersion" value="WebApi_V2022-10-07-001" />
<!--附件上传物理路径-->
<add key="localRoot" value="D:\HJGL\HJGL\FineUIPro.Web\"/>
<add key="localRoot" value="D:\HJGL\HJGL\FineUIPro.Web\" />
<!--每页数量-->
<add key="PageSize" value="15"/>
<add key="PageSize" value="15" />
</appSettings>
<system.web>
<compilation debug="false" targetFramework="4.6.1"/>
<httpRuntime targetFramework="4.6.1"/>
<compilation debug="false" targetFramework="4.6.1" />
<httpRuntime targetFramework="4.6.1" />
</system.web>
<system.webServer>
<!-- 跨域访问必须添加 -->
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*"/>
<add name="Access-Control-Allow-Headers" value="Content-Type"/>
<add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS"/>
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Headers" value="Content-Type" />
<add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS" />
</customHeaders>
</httpProtocol>
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
<remove name="OPTIONSVerbHandler"/>
<remove name="TRACEVerbHandler"/>
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<remove name="OPTIONSVerbHandler" />
<remove name="TRACEVerbHandler" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f"/>
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2"/>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed"/>
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0"/>
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0"/>
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930"/>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-5.2.4.0" newVersion="5.2.4.0"/>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-5.2.4.0" newVersion="5.2.4.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+"/>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
</compilers>
</system.codedom>
</configuration>