diff --git a/DataBase/版本日志/SGGLDB_WH_V2024-07-24-phf.sql b/DataBase/版本日志/SGGLDB_WH_V2024-07-24-phf.sql new file mode 100644 index 00000000..02f9bc3d --- /dev/null +++ b/DataBase/版本日志/SGGLDB_WH_V2024-07-24-phf.sql @@ -0,0 +1,64 @@ +ALTER TABLE Transfer_Piping ADD PWD nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Piping ADD Apunchclosed nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Piping ADD NDTReport nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Piping ADD TemperaryMeasurement nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Piping ADD FWDfinished nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Piping ADD HydrostaticTest nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Piping ADD Report nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Piping ADD Blowingflushing nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Piping ADD Systemreinstalled nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Piping ADD BlowingReport nvarchar(50) NULL +GO + +----------------------------------------- +ALTER TABLE Transfer_StaticEquipment ADD Internalinspection nvarchar(50) NULL +GO + +ALTER TABLE Transfer_StaticEquipment ADD InternalsPacking nvarchar(50) NULL +GO + +ALTER TABLE Transfer_StaticEquipment ADD BOXupRecord nvarchar(50) NULL +GO +----------------------------------------- +ALTER TABLE Transfer_RotatingEquipment ADD Alignment nvarchar(50) NULL +GO + +ALTER TABLE Transfer_RotatingEquipment ADD Motorsoloruntest nvarchar(50) NULL +GO + +ALTER TABLE Transfer_RotatingEquipment ADD Standalonetest nvarchar(50) NULL +GO + +------------------------------------------------ +ALTER TABLE Transfer_Instrumentation ADD InstallationCalibration nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Instrumentation ADD PipingPressuretest nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Instrumentation ADD PipingLeak nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Instrumentation ADD PipingBlowing nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Instrumentation ADD Looptest nvarchar(50) NULL +GO diff --git a/DataBase/版本日志/SGGLDB_WH_V2024-07-25-phf.sql b/DataBase/版本日志/SGGLDB_WH_V2024-07-25-phf.sql new file mode 100644 index 00000000..19c63bc1 --- /dev/null +++ b/DataBase/版本日志/SGGLDB_WH_V2024-07-25-phf.sql @@ -0,0 +1,41 @@ + +UPDATE SYS_MENU SET IsUsed=0 WHERE MENUID='05442049-1310-45B1-9D3D-CAAE759D8F3E'; + +ALTER TABLE Transfer_Electrical ADD Installation nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Electrical ADD Communicationtest nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Electrical ADD CableLaying nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Electrical ADD LoopTest nvarchar(50) NULL +GO + +------------------------------------------------------------------------ +ALTER TABLE Transfer_Civil_Structure ADD Foundation nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Civil_Structure ADD Mainstructure nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Civil_Structure ADD Buildingdecoration nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Civil_Structure ADD Equipment nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Civil_Structure ADD Instrument nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Civil_Structure ADD Electrical nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Civil_Structure ADD FireFighting nvarchar(50) NULL +GO + +ALTER TABLE Transfer_Civil_Structure ADD HVAC nvarchar(50) NULL +GO + +----------------------------------------------- diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt index 54e8e448..83bd7d69 100644 --- a/SGGL/FineUIPro.Web/ErrLog.txt +++ b/SGGL/FineUIPro.Web/ErrLog.txt @@ -1,508 +1,752 @@ - -错误信息开始=====> -错误类型:HttpParseException -错误信息:无法从其“Hidden”属性的字符串表示形式“500px”创建“System.Boolean”类型的对象。 -错误堆栈: - 在 System.Web.UI.TemplateParser.ProcessException(Exception ex) - 在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) - 在 System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) -----错误类型:HttpException -----错误信息: -----无法从其“Hidden”属性的字符串表示形式“500px”创建“System.Boolean”类型的对象。 -----错误堆栈: - 在 System.Web.UI.PropertyConverter.ObjectFromString(Type objType, MemberInfo propertyInfo, String value) - 在 System.Web.UI.ControlBuilder.AddProperty(String filter, String name, String value, Boolean mainDirectiveMode) - 在 System.Web.UI.ControlBuilder.PreprocessAttribute(String filter, String attribname, String attribvalue, Boolean mainDirectiveMode, Int32 line, Int32 column) - 在 System.Web.UI.ControlBuilder.PreprocessAttributes(ParsedAttributeCollection attribs) - 在 System.Web.UI.ControlBuilder.Init(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs) - 在 System.Web.UI.ControlBuilder.CreateBuilderFromType(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs, Int32 line, String sourceFileName) - 在 System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty) - 在 System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) - 在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) -出错时间:06/26/2024 15:05:45 -出错文件:http://localhost:8579/JDGL/Check/WeekPlan.aspx -IP地址:::1 - -出错时间:06/26/2024 15:05:45 - - -错误信息开始=====> -错误类型:ArgumentOutOfRangeException -错误信息:索引超出范围。必须为非负值并小于集合大小。 -参数名: index -错误堆栈: - 在 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) - 在 System.Collections.Generic.List`1.get_Item(Int32 index) - 在 FineUIPro.Web.JDGL.Check.WeekPlanEdit.Grid2_RowCommand(Object sender, GridCommandEventArgs e) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\JDGL\Check\WeekPlanEdit.aspx.cs:行号 450 - 在 FineUIPro.Grid.OnRowCommand(GridCommandEventArgs e) - 在 (Grid , GridCommandEventArgs ) - 在 FineUIPro.Grid.RaisePostBackEvent(String eventArgument) - 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) - 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) - 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) -出错时间:06/26/2024 15:25:22 -出错文件:http://localhost:8579/JDGL/Check/WeekPlanEdit.aspx -IP地址:::1 -操作人员:JT - -出错时间:06/26/2024 15:25:22 - - -错误信息开始=====> -错误类型:HttpCompileException -错误信息:g:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\SitePerson\PersonList.aspx(185): error CS1061: “ASP.hsse_siteperson_personlist_aspx”不包含“btnMenuBlack_Click”的定义,并且找不到可接受类型为“ASP.hsse_siteperson_personlist_aspx”的第一个参数的扩展方法“btnMenuBlack_Click”(是否缺少 using 指令或程序集引用?) -错误堆栈: - 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) - 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) - 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) - 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) - 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) - 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) - 在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) - 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() - 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) - 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) -出错时间:07/01/2024 17:11:58 -出错文件:http://localhost:8579/HSSE/SitePerson/PersonList.aspx -IP地址:::1 - -出错时间:07/01/2024 17:11:58 - - -错误信息开始=====> -错误类型:HttpCompileException -错误信息:g:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\SitePerson\PersonList.aspx(185): error CS1061: “ASP.hsse_siteperson_personlist_aspx”不包含“btnMenuBlack_Click”的定义,并且找不到可接受类型为“ASP.hsse_siteperson_personlist_aspx”的第一个参数的扩展方法“btnMenuBlack_Click”(是否缺少 using 指令或程序集引用?) -错误堆栈: - 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) - 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) - 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) - 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) - 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) - 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) - 在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) - 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() - 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) - 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) -出错时间:07/01/2024 17:14:10 -出错文件:http://localhost:8579/HSSE/SitePerson/PersonList.aspx -IP地址:::1 - -出错时间:07/01/2024 17:14:10 - - -错误信息开始=====> -错误类型:HttpCompileException -错误信息:g:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\SitePerson\PersonList.aspx(185): error CS1061: “ASP.hsse_siteperson_personlist_aspx”不包含“btnMenuBlack_Click”的定义,并且找不到可接受类型为“ASP.hsse_siteperson_personlist_aspx”的第一个参数的扩展方法“btnMenuBlack_Click”(是否缺少 using 指令或程序集引用?) -错误堆栈: - 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) - 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) - 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) - 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) - 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) - 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) - 在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) - 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() - 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) - 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) -出错时间:07/01/2024 17:14:36 -出错文件:http://localhost:8579/HSSE/SitePerson/PersonList.aspx -IP地址:::1 - -出错时间:07/01/2024 17:14:36 - - -错误信息开始=====> -错误类型:HttpCompileException -错误信息:g:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\SitePerson\BlackPersonList.aspx(28): error CS1061: “ASP.hsse_siteperson_blackpersonlist_aspx”不包含“drpPost_SelectedIndexChanged”的定义,并且找不到可接受类型为“ASP.hsse_siteperson_blackpersonlist_aspx”的第一个参数的扩展方法“drpPost_SelectedIndexChanged”(是否缺少 using 指令或程序集引用?) -错误堆栈: - 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) - 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) - 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) - 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) - 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) - 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) - 在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) - 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() - 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) - 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) -出错时间:07/01/2024 17:35:05 -出错文件:http://localhost:8579/HSSE/SitePerson/BlackPersonList.aspx -IP地址:::1 - -出错时间:07/01/2024 17:35:05 - - -错误信息开始=====> -错误类型:HttpCompileException -错误信息:g:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\SitePerson\BlackPersonList.aspx(28): error CS1061: “ASP.hsse_siteperson_blackpersonlist_aspx”不包含“drpPost_SelectedIndexChanged”的定义,并且找不到可接受类型为“ASP.hsse_siteperson_blackpersonlist_aspx”的第一个参数的扩展方法“drpPost_SelectedIndexChanged”(是否缺少 using 指令或程序集引用?) -错误堆栈: - 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) - 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) - 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) - 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) - 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) - 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) - 在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) - 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() - 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) - 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) -出错时间:07/01/2024 17:37:14 -出错文件:http://localhost:8579/HSSE/SitePerson/BlackPersonList.aspx -IP地址:::1 - -出错时间:07/01/2024 17:37:14 - - -错误信息开始=====> -错误类型:FormatException -错误信息:输入字符串的格式不正确。 -错误堆栈: - 在 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) - 在 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) - 在 System.Int32.Parse(String s) - 在 FineUIPro.Web.BaseInfo.RiskLevelEdit.btnSave_Click(Object sender, EventArgs e) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\BaseInfo\RiskLevelEdit.aspx.cs:行号 91 - 在 FineUIPro.Button.OnClick(EventArgs e) - 在 (Button , EventArgs ) - 在 FineUIPro.Button.RaisePostBackEvent(String eventArgument) - 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) - 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) - 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) -出错时间:07/02/2024 14:59:40 -出错文件:http://localhost:8579/BaseInfo/RiskLevelEdit.aspx -IP地址:::1 -操作人员:JT - -出错时间:07/02/2024 14:59:40 - - -错误信息开始=====> -错误类型:MissingMethodException -错误信息:找不到方法:“Model.Base_RiskLevel BLL.RiskLevelService.GetRiskLevelBy(System.String)”。 -错误堆栈: - 在 FineUIPro.Web.HSSE.Hazard.HazardListEdit.Window2_Close(Object sender, WindowCloseEventArgs e) - 在 FineUIPro.Window.OnClose(WindowCloseEventArgs e) - 在 (Window , WindowCloseEventArgs ) - 在 FineUIPro.Window.RaisePostBackEvent(String eventArgument) - 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) - 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) - 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) -出错时间:07/02/2024 15:07:45 -出错文件:http://localhost:8579/HSSE/Hazard/HazardListEdit.aspx -IP地址:::1 -操作人员:JT - -出错时间:07/02/2024 15:07:45 - - -错误信息开始=====> -错误类型:MissingMethodException -错误信息:找不到方法:“Model.Base_RiskLevel BLL.RiskLevelService.GetRiskLevelBy(System.String)”。 -错误堆栈: - 在 FineUIPro.Web.HSSE.Hazard.HazardListEdit.Window2_Close(Object sender, WindowCloseEventArgs e) - 在 FineUIPro.Window.OnClose(WindowCloseEventArgs e) - 在 (Window , WindowCloseEventArgs ) - 在 FineUIPro.Window.RaisePostBackEvent(String eventArgument) - 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) - 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) - 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) -出错时间:07/02/2024 15:07:59 -出错文件:http://localhost:8579/HSSE/Hazard/HazardListEdit.aspx -IP地址:::1 -操作人员:JT - -出错时间:07/02/2024 15:07:59 - - -错误信息开始=====> -错误类型:SqlException -错误信息:列名 'CompileMan' 无效。 -错误堆栈: - 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) - 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) - 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) - 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) - 在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() - 在 System.Data.SqlClient.SqlDataReader.get_MetaData() - 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) - 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) - 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) - 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) - 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) - 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) - 在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) - 在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) - 在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) - 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) - 在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\SQLHelper.cs:行号 311 - 在 FineUIPro.Web.HSSE.CostGoods.FeeRegistration.BindGrid() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\CostGoods\FeeRegistration.aspx.cs:行号 99 - 在 FineUIPro.Web.HSSE.CostGoods.FeeRegistration.Page_Load(Object sender, EventArgs e) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\CostGoods\FeeRegistration.aspx.cs:行号 55 - 在 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) -出错时间:07/02/2024 16:46:52 -出错文件:http://localhost:8579/HSSE/CostGoods/FeeRegistration.aspx -IP地址:::1 -操作人员:JT - -出错时间:07/02/2024 16:46:52 - - -错误信息开始=====> -错误类型:NullReferenceException -错误信息:未将对象引用设置到对象的实例。 -错误堆栈: - 在 (Object ) - 在 FineUIPro.GridRow.uwEUVXJIBfEGVvHqMvTlecFpBACr() - 在 (GridRow ) - 在 FineUIPro.GridRow.InitTemplateContainers() - 在 (GridRow ) - 在 FineUIPro.Grid.JKAqhrYRKGjUrputGryVTdIrcyJN(Int32 , Object ) - 在 (Grid , Int32 , Object ) - 在 FineUIPro.Grid.BCddVmyfIadUytlhvgnchfKxYmAe(DataTable , Boolean ) - 在 (Grid , DataTable , Boolean ) - 在 FineUIPro.Grid.DataBind(Boolean keepCurrentData) - 在 (Grid , Boolean ) - 在 FineUIPro.Grid.DataBind() - 在 FineUIPro.Web.HSSE.CostGoods.FeeRegistration.BindGrid() - 在 FineUIPro.Web.HSSE.CostGoods.FeeRegistration.Page_Load(Object sender, EventArgs e) - 在 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) -出错时间:07/02/2024 16:50:32 -出错文件:http://localhost:8579/HSSE/CostGoods/FeeRegistration.aspx -IP地址:::1 -操作人员:JT - -出错时间:07/02/2024 16:50:32 - - -错误信息开始=====> -错误类型:HttpCompileException -错误信息:g:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\CostGoods\PayRegistrationNewEdit.aspx(36): error CS1061: “ASP.hsse_costgoods_payregistrationnewedit_aspx”不包含“SMonthTypeText_TextChanged”的定义,并且找不到可接受类型为“ASP.hsse_costgoods_payregistrationnewedit_aspx”的第一个参数的扩展方法“SMonthTypeText_TextChanged”(是否缺少 using 指令或程序集引用?) -错误堆栈: - 在 System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath) - 在 System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode, Boolean ensureIsUpToDate) - 在 System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate) - 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) - 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) - 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) - 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) - 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) - 在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) - 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() - 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) - 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) -出错时间:07/04/2024 09:53:49 -出错文件:http://localhost:8579/HSSE/CostGoods/PayRegistrationNewEdit.aspx -IP地址:::1 - -出错时间:07/04/2024 09:53:49 - - -错误信息开始=====> -错误类型:InvalidOperationException -错误信息:不能添加已经存在的实体。 -错误堆栈: - 在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity) - 在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities) - 在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 320 -出错时间:07/15/2024 11:49:20 -出错时间:07/15/2024 11:49:21 - - -错误信息开始=====> -错误类型:InvalidOperationException -错误信息:不能添加已经存在的实体。 -错误堆栈: - 在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity) - 在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities) - 在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 320 -出错时间:07/15/2024 12:19:20 -出错时间:07/15/2024 12:19:20 - - -错误信息开始=====> -错误类型:InvalidOperationException -错误信息:不能添加已经存在的实体。 -错误堆栈: - 在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity) - 在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities) - 在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 320 -出错时间:07/15/2024 12:49:20 -出错时间:07/15/2024 12:49:20 - - -错误信息开始=====> -错误类型:ArgumentException -错误信息:提供的 URI 方案“http”无效,应为“https”。 -参数名: via -错误堆栈: - 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() - 在 System.ServiceModel.ClientBase`1.get_Channel() - 在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13827 - 在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181 -出错时间:07/15/2024 13:19:20 -出错时间:07/15/2024 13:19:20 - - -错误信息开始=====> -错误类型:ArgumentException -错误信息:提供的 URI 方案“http”无效,应为“https”。 -参数名: via -错误堆栈: - 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() - 在 System.ServiceModel.ClientBase`1.get_Channel() - 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13851 - 在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046 -出错时间:07/15/2024 13:19:20 -出错时间:07/15/2024 13:19:20 - - -错误信息开始=====> -错误类型:ArgumentException -错误信息:提供的 URI 方案“http”无效,应为“https”。 -参数名: via -错误堆栈: - 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() - 在 System.ServiceModel.ClientBase`1.get_Channel() - 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13843 - 在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942 -出错时间:07/15/2024 13:19:20 -出错时间:07/15/2024 13:19:20 - - -错误信息开始=====> -错误类型:ArgumentException -错误信息:提供的 URI 方案“http”无效,应为“https”。 -参数名: via -错误堆栈: - 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() - 在 System.ServiceModel.ClientBase`1.get_Channel() - 在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13643 - 在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884 -出错时间:07/15/2024 13:19:20 -出错时间:07/15/2024 13:19:20 - - -错误信息开始=====> -错误类型:InvalidOperationException -错误信息:不能添加已经存在的实体。 -错误堆栈: - 在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity) - 在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities) - 在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 320 -出错时间:07/15/2024 13:19:20 -出错时间:07/15/2024 13:19:20 - - -错误信息开始=====> -错误类型:ChangeConflictException -错误信息:2 的 1 更新失败。 -错误堆栈: - 在 System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) - 在 System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) - 在 BLL.ProjectService.UpdateProject(Base_Project project) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\ProjectData\ProjectService.cs:行号 193 - 在 FineUIPro.Web.ProjectData.ProjectSetSave.SaveData() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\ProjectData\ProjectSetSave.aspx.cs:行号 284 - 在 FineUIPro.Web.ProjectData.ProjectSetSave.btnSave_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\ProjectData\ProjectSetSave.aspx.cs:行号 189 - 在 FineUIPro.Button.OnClick(EventArgs e) - 在 (Button , EventArgs ) - 在 FineUIPro.Button.RaisePostBackEvent(String eventArgument) - 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) - 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) - 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) -出错时间:07/23/2024 17:52:24 -出错文件:http://localhost:8579/ProjectData/ProjectSetSave.aspx -IP地址:::1 -操作人员:JT - -出错时间:07/23/2024 17:52:24 - - -错误信息开始=====> -错误类型:InvalidOperationException -错误信息:不能添加已经存在的实体。 -错误堆栈: - 在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity) - 在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities) - 在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 318 -出错时间:07/23/2024 18:18:27 -出错时间:07/23/2024 18:18:27 - - -错误信息开始=====> -错误类型:InvalidOperationException -错误信息:不能添加已经存在的实体。 -错误堆栈: - 在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity) - 在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities) - 在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 318 -出错时间:07/24/2024 10:37:35 -出错时间:07/24/2024 10:37:35 - - -错误信息开始=====> -错误类型:InvalidOperationException -错误信息:不能添加已经存在的实体。 -错误堆栈: - 在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity) - 在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities) - 在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 318 -出错时间:07/24/2024 11:14:23 -出错时间:07/24/2024 11:14:23 - + +错误信息开始=====> +错误类型:HttpParseException +错误信息:无法从其“Hidden”属性的字符串表示形式“500px”创建“System.Boolean”类型的对象。 +错误堆栈: + 在 System.Web.UI.TemplateParser.ProcessException(Exception ex) + 在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) + 在 System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) +----错误类型:HttpException +----错误信息: +----无法从其“Hidden”属性的字符串表示形式“500px”创建“System.Boolean”类型的对象。 +----错误堆栈: + 在 System.Web.UI.PropertyConverter.ObjectFromString(Type objType, MemberInfo propertyInfo, String value) + 在 System.Web.UI.ControlBuilder.AddProperty(String filter, String name, String value, Boolean mainDirectiveMode) + 在 System.Web.UI.ControlBuilder.PreprocessAttribute(String filter, String attribname, String attribvalue, Boolean mainDirectiveMode, Int32 line, Int32 column) + 在 System.Web.UI.ControlBuilder.PreprocessAttributes(ParsedAttributeCollection attribs) + 在 System.Web.UI.ControlBuilder.Init(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs) + 在 System.Web.UI.ControlBuilder.CreateBuilderFromType(TemplateParser parser, ControlBuilder parentBuilder, Type type, String tagName, String id, IDictionary attribs, Int32 line, String sourceFileName) + 在 System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty) + 在 System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) + 在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) +出错时间:06/26/2024 15:05:45 +出错文件:http://localhost:8579/JDGL/Check/WeekPlan.aspx +IP地址:::1 + +出错时间:06/26/2024 15:05:45 + + +错误信息开始=====> +错误类型:ArgumentOutOfRangeException +错误信息:索引超出范围。必须为非负值并小于集合大小。 +参数名: index +错误堆栈: + 在 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) + 在 System.Collections.Generic.List`1.get_Item(Int32 index) + 在 FineUIPro.Web.JDGL.Check.WeekPlanEdit.Grid2_RowCommand(Object sender, GridCommandEventArgs e) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\JDGL\Check\WeekPlanEdit.aspx.cs:行号 450 + 在 FineUIPro.Grid.OnRowCommand(GridCommandEventArgs e) + 在 (Grid , GridCommandEventArgs ) + 在 FineUIPro.Grid.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:06/26/2024 15:25:22 +出错文件:http://localhost:8579/JDGL/Check/WeekPlanEdit.aspx +IP地址:::1 +操作人员:JT + +出错时间:06/26/2024 15:25:22 + + +错误信息开始=====> +错误类型:HttpCompileException +错误信息:g:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\SitePerson\PersonList.aspx(185): error CS1061: “ASP.hsse_siteperson_personlist_aspx”不包含“btnMenuBlack_Click”的定义,并且找不到可接受类型为“ASP.hsse_siteperson_personlist_aspx”的第一个参数的扩展方法“btnMenuBlack_Click”(是否缺少 using 指令或程序集引用?) +错误堆栈: + 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) + 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) + 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) + 在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) + 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) + 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +出错时间:07/01/2024 17:11:58 +出错文件:http://localhost:8579/HSSE/SitePerson/PersonList.aspx +IP地址:::1 + +出错时间:07/01/2024 17:11:58 + + +错误信息开始=====> +错误类型:HttpCompileException +错误信息:g:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\SitePerson\PersonList.aspx(185): error CS1061: “ASP.hsse_siteperson_personlist_aspx”不包含“btnMenuBlack_Click”的定义,并且找不到可接受类型为“ASP.hsse_siteperson_personlist_aspx”的第一个参数的扩展方法“btnMenuBlack_Click”(是否缺少 using 指令或程序集引用?) +错误堆栈: + 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) + 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) + 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) + 在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) + 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) + 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +出错时间:07/01/2024 17:14:10 +出错文件:http://localhost:8579/HSSE/SitePerson/PersonList.aspx +IP地址:::1 + +出错时间:07/01/2024 17:14:10 + + +错误信息开始=====> +错误类型:HttpCompileException +错误信息:g:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\SitePerson\PersonList.aspx(185): error CS1061: “ASP.hsse_siteperson_personlist_aspx”不包含“btnMenuBlack_Click”的定义,并且找不到可接受类型为“ASP.hsse_siteperson_personlist_aspx”的第一个参数的扩展方法“btnMenuBlack_Click”(是否缺少 using 指令或程序集引用?) +错误堆栈: + 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) + 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) + 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) + 在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) + 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) + 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +出错时间:07/01/2024 17:14:36 +出错文件:http://localhost:8579/HSSE/SitePerson/PersonList.aspx +IP地址:::1 + +出错时间:07/01/2024 17:14:36 + + +错误信息开始=====> +错误类型:HttpCompileException +错误信息:g:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\SitePerson\BlackPersonList.aspx(28): error CS1061: “ASP.hsse_siteperson_blackpersonlist_aspx”不包含“drpPost_SelectedIndexChanged”的定义,并且找不到可接受类型为“ASP.hsse_siteperson_blackpersonlist_aspx”的第一个参数的扩展方法“drpPost_SelectedIndexChanged”(是否缺少 using 指令或程序集引用?) +错误堆栈: + 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) + 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) + 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) + 在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) + 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) + 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +出错时间:07/01/2024 17:35:05 +出错文件:http://localhost:8579/HSSE/SitePerson/BlackPersonList.aspx +IP地址:::1 + +出错时间:07/01/2024 17:35:05 + + +错误信息开始=====> +错误类型:HttpCompileException +错误信息:g:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\SitePerson\BlackPersonList.aspx(28): error CS1061: “ASP.hsse_siteperson_blackpersonlist_aspx”不包含“drpPost_SelectedIndexChanged”的定义,并且找不到可接受类型为“ASP.hsse_siteperson_blackpersonlist_aspx”的第一个参数的扩展方法“drpPost_SelectedIndexChanged”(是否缺少 using 指令或程序集引用?) +错误堆栈: + 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) + 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) + 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) + 在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) + 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) + 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +出错时间:07/01/2024 17:37:14 +出错文件:http://localhost:8579/HSSE/SitePerson/BlackPersonList.aspx +IP地址:::1 + +出错时间:07/01/2024 17:37:14 + + +错误信息开始=====> +错误类型:FormatException +错误信息:输入字符串的格式不正确。 +错误堆栈: + 在 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) + 在 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) + 在 System.Int32.Parse(String s) + 在 FineUIPro.Web.BaseInfo.RiskLevelEdit.btnSave_Click(Object sender, EventArgs e) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\BaseInfo\RiskLevelEdit.aspx.cs:行号 91 + 在 FineUIPro.Button.OnClick(EventArgs e) + 在 (Button , EventArgs ) + 在 FineUIPro.Button.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:07/02/2024 14:59:40 +出错文件:http://localhost:8579/BaseInfo/RiskLevelEdit.aspx +IP地址:::1 +操作人员:JT + +出错时间:07/02/2024 14:59:40 + + +错误信息开始=====> +错误类型:MissingMethodException +错误信息:找不到方法:“Model.Base_RiskLevel BLL.RiskLevelService.GetRiskLevelBy(System.String)”。 +错误堆栈: + 在 FineUIPro.Web.HSSE.Hazard.HazardListEdit.Window2_Close(Object sender, WindowCloseEventArgs e) + 在 FineUIPro.Window.OnClose(WindowCloseEventArgs e) + 在 (Window , WindowCloseEventArgs ) + 在 FineUIPro.Window.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:07/02/2024 15:07:45 +出错文件:http://localhost:8579/HSSE/Hazard/HazardListEdit.aspx +IP地址:::1 +操作人员:JT + +出错时间:07/02/2024 15:07:45 + + +错误信息开始=====> +错误类型:MissingMethodException +错误信息:找不到方法:“Model.Base_RiskLevel BLL.RiskLevelService.GetRiskLevelBy(System.String)”。 +错误堆栈: + 在 FineUIPro.Web.HSSE.Hazard.HazardListEdit.Window2_Close(Object sender, WindowCloseEventArgs e) + 在 FineUIPro.Window.OnClose(WindowCloseEventArgs e) + 在 (Window , WindowCloseEventArgs ) + 在 FineUIPro.Window.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:07/02/2024 15:07:59 +出错文件:http://localhost:8579/HSSE/Hazard/HazardListEdit.aspx +IP地址:::1 +操作人员:JT + +出错时间:07/02/2024 15:07:59 + + +错误信息开始=====> +错误类型:SqlException +错误信息:列名 'CompileMan' 无效。 +错误堆栈: + 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) + 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) + 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) + 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) + 在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() + 在 System.Data.SqlClient.SqlDataReader.get_MetaData() + 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) + 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) + 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) + 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) + 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) + 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) + 在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) + 在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) + 在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) + 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) + 在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\SQLHelper.cs:行号 311 + 在 FineUIPro.Web.HSSE.CostGoods.FeeRegistration.BindGrid() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\CostGoods\FeeRegistration.aspx.cs:行号 99 + 在 FineUIPro.Web.HSSE.CostGoods.FeeRegistration.Page_Load(Object sender, EventArgs e) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\CostGoods\FeeRegistration.aspx.cs:行号 55 + 在 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) +出错时间:07/02/2024 16:46:52 +出错文件:http://localhost:8579/HSSE/CostGoods/FeeRegistration.aspx +IP地址:::1 +操作人员:JT + +出错时间:07/02/2024 16:46:52 + + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 (Object ) + 在 FineUIPro.GridRow.uwEUVXJIBfEGVvHqMvTlecFpBACr() + 在 (GridRow ) + 在 FineUIPro.GridRow.InitTemplateContainers() + 在 (GridRow ) + 在 FineUIPro.Grid.JKAqhrYRKGjUrputGryVTdIrcyJN(Int32 , Object ) + 在 (Grid , Int32 , Object ) + 在 FineUIPro.Grid.BCddVmyfIadUytlhvgnchfKxYmAe(DataTable , Boolean ) + 在 (Grid , DataTable , Boolean ) + 在 FineUIPro.Grid.DataBind(Boolean keepCurrentData) + 在 (Grid , Boolean ) + 在 FineUIPro.Grid.DataBind() + 在 FineUIPro.Web.HSSE.CostGoods.FeeRegistration.BindGrid() + 在 FineUIPro.Web.HSSE.CostGoods.FeeRegistration.Page_Load(Object sender, EventArgs e) + 在 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) +出错时间:07/02/2024 16:50:32 +出错文件:http://localhost:8579/HSSE/CostGoods/FeeRegistration.aspx +IP地址:::1 +操作人员:JT + +出错时间:07/02/2024 16:50:32 + + +错误信息开始=====> +错误类型:HttpCompileException +错误信息:g:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\HSSE\CostGoods\PayRegistrationNewEdit.aspx(36): error CS1061: “ASP.hsse_costgoods_payregistrationnewedit_aspx”不包含“SMonthTypeText_TextChanged”的定义,并且找不到可接受类型为“ASP.hsse_costgoods_payregistrationnewedit_aspx”的第一个参数的扩展方法“SMonthTypeText_TextChanged”(是否缺少 using 指令或程序集引用?) +错误堆栈: + 在 System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath) + 在 System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) + 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) + 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) + 在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) + 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) + 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +出错时间:07/04/2024 09:53:49 +出错文件:http://localhost:8579/HSSE/CostGoods/PayRegistrationNewEdit.aspx +IP地址:::1 + +出错时间:07/04/2024 09:53:49 + + +错误信息开始=====> +错误类型:InvalidOperationException +错误信息:不能添加已经存在的实体。 +错误堆栈: + 在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity) + 在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities) + 在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 320 +出错时间:07/15/2024 11:49:20 +出错时间:07/15/2024 11:49:21 + + +错误信息开始=====> +错误类型:InvalidOperationException +错误信息:不能添加已经存在的实体。 +错误堆栈: + 在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity) + 在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities) + 在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 320 +出错时间:07/15/2024 12:19:20 +出错时间:07/15/2024 12:19:20 + + +错误信息开始=====> +错误类型:InvalidOperationException +错误信息:不能添加已经存在的实体。 +错误堆栈: + 在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity) + 在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities) + 在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 320 +出错时间:07/15/2024 12:49:20 +出错时间:07/15/2024 12:49:20 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13827 + 在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181 +出错时间:07/15/2024 13:19:20 +出错时间:07/15/2024 13:19:20 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13851 + 在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046 +出错时间:07/15/2024 13:19:20 +出错时间:07/15/2024 13:19:20 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13843 + 在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942 +出错时间:07/15/2024 13:19:20 +出错时间:07/15/2024 13:19:20 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13643 + 在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884 +出错时间:07/15/2024 13:19:20 +出错时间:07/15/2024 13:19:20 + + +错误信息开始=====> +错误类型:InvalidOperationException +错误信息:不能添加已经存在的实体。 +错误堆栈: + 在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity) + 在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities) + 在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 320 +出错时间:07/15/2024 13:19:20 +出错时间:07/15/2024 13:19:20 + + +错误信息开始=====> +错误类型:ChangeConflictException +错误信息:2 的 1 更新失败。 +错误堆栈: + 在 System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) + 在 System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) + 在 BLL.ProjectService.UpdateProject(Base_Project project) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\ProjectData\ProjectService.cs:行号 193 + 在 FineUIPro.Web.ProjectData.ProjectSetSave.SaveData() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\ProjectData\ProjectSetSave.aspx.cs:行号 284 + 在 FineUIPro.Web.ProjectData.ProjectSetSave.btnSave_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\ProjectData\ProjectSetSave.aspx.cs:行号 189 + 在 FineUIPro.Button.OnClick(EventArgs e) + 在 (Button , EventArgs ) + 在 FineUIPro.Button.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:07/23/2024 17:52:24 +出错文件:http://localhost:8579/ProjectData/ProjectSetSave.aspx +IP地址:::1 +操作人员:JT + +出错时间:07/23/2024 17:52:24 + + +错误信息开始=====> +错误类型:InvalidOperationException +错误信息:不能添加已经存在的实体。 +错误堆栈: + 在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity) + 在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities) + 在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 318 +出错时间:07/23/2024 18:18:27 +出错时间:07/23/2024 18:18:27 + + +错误信息开始=====> +错误类型:InvalidOperationException +错误信息:不能添加已经存在的实体。 +错误堆栈: + 在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity) + 在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities) + 在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 318 +出错时间:07/24/2024 10:37:35 +出错时间:07/24/2024 10:37:35 + + +错误信息开始=====> +错误类型:InvalidOperationException +错误信息:不能添加已经存在的实体。 +错误堆栈: + 在 System.Data.Linq.Table`1.InsertOnSubmit(TEntity entity) + 在 System.Data.Linq.Table`1.InsertAllOnSubmit[TSubEntity](IEnumerable`1 entities) + 在 BLL.BOSHENGMonitorService.AddPerson(String projectId, JArray arr, Sys_User user) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\BoSheng\BOSHENGMonitorService.cs:行号 318 +出错时间:07/24/2024 11:14:23 +出错时间:07/24/2024 11:14:23 + + +错误信息开始=====> +错误类型:SqlException +错误信息:参数化查询 '(@ProjectId nvarchar(4000))select*from Transfer_Civil_Structure ' 需要参数 '@ProjectId',但未提供该参数。 +错误堆栈: + 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) + 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) + 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) + 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) + 在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() + 在 System.Data.SqlClient.SqlDataReader.get_MetaData() + 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) + 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) + 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) + 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) + 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) + 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) + 在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) + 在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) + 在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) + 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) + 在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\SQLHelper.cs:行号 311 + 在 FineUIPro.Web.Transfer.CivilStructure.BindGrid() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Transfer\CivilStructure.aspx.cs:行号 61 + 在 FineUIPro.Web.Transfer.CivilStructure.Page_Load(Object sender, EventArgs e) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\FineUIPro.Web\Transfer\CivilStructure.aspx.cs:行号 24 + 在 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) +出错时间:07/25/2024 09:25:40 +出错文件:http://localhost:8579/Transfer/CivilStructure.aspx +IP地址:::1 +操作人员:JT + +出错时间:07/25/2024 09:25:40 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13827 + 在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181 +出错时间:07/25/2024 11:36:34 +出错时间:07/25/2024 11:36:34 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13851 + 在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046 +出错时间:07/25/2024 11:36:34 +出错时间:07/25/2024 11:36:34 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13843 + 在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942 +出错时间:07/25/2024 11:36:34 +出错时间:07/25/2024 11:36:34 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13643 + 在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884 +出错时间:07/25/2024 11:36:34 +出错时间:07/25/2024 11:36:34 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13827 + 在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181 +出错时间:07/25/2024 13:36:33 +出错时间:07/25/2024 13:36:33 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13851 + 在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046 +出错时间:07/25/2024 13:36:33 +出错时间:07/25/2024 13:36:33 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13843 + 在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942 +出错时间:07/25/2024 13:36:33 +出错时间:07/25/2024 13:36:33 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13643 + 在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884 +出错时间:07/25/2024 13:36:33 +出错时间:07/25/2024 13:36:33 + diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/CivilStructure导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/CivilStructure导入模板.xls index bcabcaae..97f359e0 100644 Binary files a/SGGL/FineUIPro.Web/File/Excel/DataIn/CivilStructure导入模板.xls and b/SGGL/FineUIPro.Web/File/Excel/DataIn/CivilStructure导入模板.xls differ diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/Electrical导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/Electrical导入模板.xls index 24c5688b..59c1ddce 100644 Binary files a/SGGL/FineUIPro.Web/File/Excel/DataIn/Electrical导入模板.xls and b/SGGL/FineUIPro.Web/File/Excel/DataIn/Electrical导入模板.xls differ diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/Instrumentation导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/Instrumentation导入模板.xls index e9d02061..88065a68 100644 Binary files a/SGGL/FineUIPro.Web/File/Excel/DataIn/Instrumentation导入模板.xls and b/SGGL/FineUIPro.Web/File/Excel/DataIn/Instrumentation导入模板.xls differ diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/Piping导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/Piping导入模板.xls index 3297ee8a..ec1bea39 100644 Binary files a/SGGL/FineUIPro.Web/File/Excel/DataIn/Piping导入模板.xls and b/SGGL/FineUIPro.Web/File/Excel/DataIn/Piping导入模板.xls differ diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/RotatingEquipment导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/RotatingEquipment导入模板.xls index 25111830..e8121c47 100644 Binary files a/SGGL/FineUIPro.Web/File/Excel/DataIn/RotatingEquipment导入模板.xls and b/SGGL/FineUIPro.Web/File/Excel/DataIn/RotatingEquipment导入模板.xls differ diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/StaticEquipment导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/StaticEquipment导入模板.xls index 640e8001..c69fc1ca 100644 Binary files a/SGGL/FineUIPro.Web/File/Excel/DataIn/StaticEquipment导入模板.xls and b/SGGL/FineUIPro.Web/File/Excel/DataIn/StaticEquipment导入模板.xls differ diff --git a/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx b/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx index eae82268..c8ca38dc 100644 --- a/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx +++ b/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx @@ -26,13 +26,19 @@ - + + + + + + <%-- - + --%> @@ -62,12 +68,39 @@ - + - - + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.cs b/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.cs index 24c855b6..71547de1 100644 --- a/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.cs @@ -40,22 +40,27 @@ namespace FineUIPro.Web.Transfer strSql += " AND Civil_Structure like @Civil_Structure"; listStr.Add(new SqlParameter("@Civil_Structure", "%" + this.txtCivil_Structure.Text.Trim() + "%")); } - if (!string.IsNullOrEmpty(txtStarTime.Text.Trim())) - { - strSql += " AND Test_Package_START >= @InspectionDateA"; - listStr.Add(new SqlParameter("@InspectionDateA", Funs.GetNewDateTime(txtStarTime.Text.Trim()))); - } - if (!string.IsNullOrEmpty(txtEndTime.Text.Trim())) - { - strSql += " AND Test_Package_START <= @InspectionDateZ"; - listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); - } + //if (!string.IsNullOrEmpty(txtStarTime.Text.Trim())) + //{ + // strSql += " AND Test_Package_START >= @InspectionDateA"; + // listStr.Add(new SqlParameter("@InspectionDateA", Funs.GetNewDateTime(txtStarTime.Text.Trim()))); + //} + //if (!string.IsNullOrEmpty(txtEndTime.Text.Trim())) + //{ + // strSql += " AND Test_Package_START <= @InspectionDateZ"; + // listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); + //} if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) { strSql += " AND SystemName like @SystemName"; listStr.Add(new SqlParameter("@SystemName", "%" + this.txtSystem.Text.Trim() + "%")); } + if (!string.IsNullOrEmpty(ddStatus.SelectedValue)) + { + strSql += " And FINAL_Status='" + ddStatus.SelectedValue + "' "; + } + strSql += " order by Civil_Structure "; SqlParameter[] parameter = listStr.ToArray(); DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); diff --git a/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.designer.cs index 4fbe8adf..f91ecef9 100644 --- a/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/CivilStructure.aspx.designer.cs @@ -78,31 +78,13 @@ namespace FineUIPro.Web.Transfer protected global::FineUIPro.TextBox txtSystem; /// - /// txtStarTime 控件。 + /// ddStatus 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.DatePicker txtStarTime; - - /// - /// Label1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label1; - - /// - /// txtEndTime 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.DatePicker txtEndTime; + protected global::FineUIPro.DropDownList ddStatus; /// /// btnSearch 控件。 diff --git a/SGGL/FineUIPro.Web/Transfer/CivilStructureDataIn.aspx.cs b/SGGL/FineUIPro.Web/Transfer/CivilStructureDataIn.aspx.cs index adb45470..3ec42e7c 100644 --- a/SGGL/FineUIPro.Web/Transfer/CivilStructureDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/CivilStructureDataIn.aspx.cs @@ -130,7 +130,7 @@ namespace FineUIPro.Web.Transfer oleDBConn.Close(); oleDBConn.Dispose(); - AddDatasetToSQL(ds.Tables[0], 7); + AddDatasetToSQL(ds.Tables[0], 12); hdCheckResult.Text = "1"; } catch (Exception exc) @@ -168,30 +168,12 @@ namespace FineUIPro.Web.Transfer { for (int i = 1; i < ir; i++) { - string row4 = pds.Rows[i][4].ToString(); - if (!string.IsNullOrEmpty(row4)) + string row4 = pds.Rows[i][0].ToString(); + if (string.IsNullOrEmpty(row4)) { - try - { - DateTime date = Convert.ToDateTime(row4.Trim()); - } - catch (Exception) - { - result += (i + 3).ToString() + "," + "Test Package START" + "," + "[" + row4 + "]错误!不是日期格式!" + "|"; - } - } - string row5 = pds.Rows[i][5].ToString(); - if (!string.IsNullOrEmpty(row5)) - { - try - { - DateTime date = Convert.ToDateTime(row5.Trim()); - } - catch (Exception) - { - result += (i + 3).ToString() + "," + "Test Package FINISH" + "," + "[" + row5 + "]错误!不是日期格式!" + "|"; - } + result += (i + 3).ToString() + "," + "Structure/Civil/Architecture" + "," + "不能为空!" + "|"; } + } if (!string.IsNullOrEmpty(result)) { @@ -298,7 +280,7 @@ namespace FineUIPro.Web.Transfer oleDBConn.Close(); oleDBConn.Dispose(); - AddDatasetToSQL2(ds.Tables[0], 7); + AddDatasetToSQL2(ds.Tables[0], 12); } catch (Exception ex) { @@ -329,57 +311,95 @@ namespace FineUIPro.Web.Transfer List list = new List(); for (int i = 1; i < ir; i++) { - if (!string.IsNullOrEmpty(pds.Rows[i][0].ToString().Trim())) + //if (!string.IsNullOrEmpty(pds.Rows[i][0].ToString().Trim())) + //{ + // //查询第一列,没查到的情况下作导入处理 + // var modelOnly = Funs.DB.Transfer_Civil_Structure.FirstOrDefault(x => x.Civil_Structure == pds.Rows[i][0].ToString().Trim() + //&& x.ProjectId == CurrUser.LoginProjectId); + // if (modelOnly == null) + // { + Model.Transfer_Civil_Structure model = new Model.Transfer_Civil_Structure(); + model.Id = Guid.NewGuid().ToString(); + model.ProjectId = CurrUser.LoginProjectId; + model.Civil_Structure = pds.Rows[i][0].ToString().Trim(); + model.SystemName = pds.Rows[i][1].ToString().Trim(); + model.Subsystem = pds.Rows[i][2].ToString().Trim(); + model.Test_Package = pds.Rows[i][3].ToString().Trim(); + + var obj1 = model.Foundation = pds.Rows[i][4].ToString().Trim(); + var obj2 = model.Mainstructure = pds.Rows[i][5].ToString().Trim(); + var obj3 = model.Buildingdecoration = pds.Rows[i][6].ToString().Trim(); + var obj4 = model.Equipment = pds.Rows[i][7].ToString().Trim(); + var obj5 = model.Instrument = pds.Rows[i][8].ToString().Trim(); + var obj6 = model.Electrical = pds.Rows[i][9].ToString().Trim(); + var obj7 = model.FireFighting = pds.Rows[i][10].ToString().Trim(); + var obj8 = model.HVAC = pds.Rows[i][11].ToString().Trim(); + #region 判断状态 + var listObj = new List(); + listObj.Add(obj1); + listObj.Add(obj2); + listObj.Add(obj3); + listObj.Add(obj4); + listObj.Add(obj5); + listObj.Add(obj6); + listObj.Add(obj7); + listObj.Add(obj8); + //全是NA或Completed 状态是Completed + if (listObj.Where(x => x == "NA" || x == "Completed").ToList().Count == 8) { - //查询第一列,没查到的情况下作导入处理 - var modelOnly = Funs.DB.Transfer_Civil_Structure.FirstOrDefault(x => x.Civil_Structure == pds.Rows[i][0].ToString().Trim() - && x.ProjectId == CurrUser.LoginProjectId); - if (modelOnly == null) - { - Model.Transfer_Civil_Structure model = new Model.Transfer_Civil_Structure(); - model.Id = Guid.NewGuid().ToString(); - model.ProjectId = CurrUser.LoginProjectId; - model.Civil_Structure = pds.Rows[i][0].ToString().Trim(); - model.SystemName = pds.Rows[i][1].ToString().Trim(); - model.Subsystem = pds.Rows[i][2].ToString().Trim(); - model.Test_Package = pds.Rows[i][3].ToString().Trim(); - DateTime t1, t2; - if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) - model.Test_Package_START = t1; - if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) - model.Test_Package_FINISH = t2; - - model.FINAL_Status = pds.Rows[i][6].ToString().Trim(); - if (model.FINAL_Status.ToLower() == "finished") - { - model.CompleteTime = DateTime.Now; - } - list.Add(model); - } - else - { - //修改 - modelOnly.Civil_Structure = pds.Rows[i][0].ToString().Trim(); - modelOnly.SystemName = pds.Rows[i][1].ToString().Trim(); - modelOnly.Subsystem = pds.Rows[i][2].ToString().Trim(); - modelOnly.Test_Package = pds.Rows[i][3].ToString().Trim(); - DateTime t1, t2; - if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) - modelOnly.Test_Package_START = t1; - if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) - modelOnly.Test_Package_FINISH = t2; - - //更改前不是finished,更改后是finished的,才修改实际完成时间 - if (modelOnly.FINAL_Status.ToLower() != "finished" && pds.Rows[i][6].ToString().Trim()== "finished") - { - modelOnly.CompleteTime = DateTime.Now; - } - modelOnly.FINAL_Status = pds.Rows[i][6].ToString().Trim(); - - - Funs.DB.SubmitChanges(); - } + model.FINAL_Status = "Completed"; + list.Add(model); + continue; } + + + //如果全是Not Start 就是 Not Start + if (listObj.Where(x => x == "Not Start").ToList().Count == 8) + { + model.FINAL_Status = "Not Start"; + list.Add(model); + continue; + } + + //如果其中有一项是In progress 或Not Start 是 In progress + if (listObj.Where(x => x == "In progress" || x == "Not Start").ToList().Count >= 1) + { + model.FINAL_Status = "In progress"; + list.Add(model); + continue; + } + + model.FINAL_Status = "Not Start"; + list.Add(model); + + #endregion + + list.Add(model); + // } + // else + // { + // //修改 + // modelOnly.Civil_Structure = pds.Rows[i][0].ToString().Trim(); + // modelOnly.SystemName = pds.Rows[i][1].ToString().Trim(); + // modelOnly.Subsystem = pds.Rows[i][2].ToString().Trim(); + // modelOnly.Test_Package = pds.Rows[i][3].ToString().Trim(); + // DateTime t1, t2; + // if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) + // modelOnly.Test_Package_START = t1; + // if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) + // modelOnly.Test_Package_FINISH = t2; + + // //更改前不是finished,更改后是finished的,才修改实际完成时间 + // if (modelOnly.FINAL_Status.ToLower() != "finished" && pds.Rows[i][6].ToString().Trim()== "finished") + // { + // modelOnly.CompleteTime = DateTime.Now; + // } + // modelOnly.FINAL_Status = pds.Rows[i][6].ToString().Trim(); + + + // Funs.DB.SubmitChanges(); + // } + //} } if (list.Count > 0) { diff --git a/SGGL/FineUIPro.Web/Transfer/Electrical.aspx b/SGGL/FineUIPro.Web/Transfer/Electrical.aspx index 22689192..dd3bc5e2 100644 --- a/SGGL/FineUIPro.Web/Transfer/Electrical.aspx +++ b/SGGL/FineUIPro.Web/Transfer/Electrical.aspx @@ -22,17 +22,24 @@ - + - + - + + + + + + + <%-- - + --%> @@ -50,24 +57,35 @@ - + - - - + + + - - + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.cs b/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.cs index 12d64925..6851b722 100644 --- a/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.cs @@ -40,16 +40,7 @@ namespace FineUIPro.Web.Transfer strSql += " AND ELECTRICAL like @ELECTRICAL"; listStr.Add(new SqlParameter("@ELECTRICAL", "%" + this.txtELECTRICAL.Text.Trim() + "%")); } - if (!string.IsNullOrEmpty(txtStarTime.Text.Trim())) - { - strSql += " AND Test_Package_START >= @InspectionDateA"; - listStr.Add(new SqlParameter("@InspectionDateA", Funs.GetNewDateTime(txtStarTime.Text.Trim()))); - } - if (!string.IsNullOrEmpty(txtEndTime.Text.Trim())) - { - strSql += " AND Test_Package_START <= @InspectionDateZ"; - listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); - } + if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) { @@ -57,6 +48,11 @@ namespace FineUIPro.Web.Transfer listStr.Add(new SqlParameter("@SystemName", "%" + this.txtSystem.Text.Trim() + "%")); } + if (!string.IsNullOrEmpty(ddStatus.SelectedValue)) + { + strSql += " And FINAL_Status='" + ddStatus.SelectedValue + "' "; + } + strSql += " order by ELECTRICAL "; SqlParameter[] parameter = listStr.ToArray(); diff --git a/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.designer.cs index da5c48b7..fe7892fc 100644 --- a/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/Electrical.aspx.designer.cs @@ -78,31 +78,13 @@ namespace FineUIPro.Web.Transfer protected global::FineUIPro.TextBox txtSystem; /// - /// txtStarTime 控件。 + /// ddStatus 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.DatePicker txtStarTime; - - /// - /// Label1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label1; - - /// - /// txtEndTime 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.DatePicker txtEndTime; + protected global::FineUIPro.DropDownList ddStatus; /// /// btnSearch 控件。 diff --git a/SGGL/FineUIPro.Web/Transfer/ElectricalDataIn.aspx.cs b/SGGL/FineUIPro.Web/Transfer/ElectricalDataIn.aspx.cs index aeeea6c2..1e4331a3 100644 --- a/SGGL/FineUIPro.Web/Transfer/ElectricalDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/ElectricalDataIn.aspx.cs @@ -129,7 +129,7 @@ namespace FineUIPro.Web.Transfer oleDBConn.Close(); oleDBConn.Dispose(); - AddDatasetToSQL(ds.Tables[0], 7); + AddDatasetToSQL(ds.Tables[0], 8); hdCheckResult.Text = "1"; } catch (Exception exc) @@ -156,9 +156,9 @@ namespace FineUIPro.Web.Transfer string result = string.Empty; int ic, ir; ic = pds.Columns.Count; - if (ic < Cols) + if (ic != Cols) { - ShowNotify("导入Excel格式错误!Excel只有" + ic.ToString().Trim() + "列", MessageBoxIcon.Warning); + ShowNotify("导入Excel格式错误!Excel必须是" + Cols.ToString().Trim() + "列", MessageBoxIcon.Warning); return false; } @@ -167,30 +167,12 @@ namespace FineUIPro.Web.Transfer { for (int i = 1; i < ir; i++) { - string row4 = pds.Rows[i][4].ToString(); - if (!string.IsNullOrEmpty(row4)) + string row4 = pds.Rows[i][0].ToString(); + if (string.IsNullOrEmpty(row4)) { - try - { - DateTime date = Convert.ToDateTime(row4.Trim()); - } - catch (Exception) - { - result += (i + 2).ToString() + "," + "Test Package START" + "," + "[" + row4 + "]错误!不是日期格式!" + "|"; - } - } - string row5 = pds.Rows[i][5].ToString(); - if (!string.IsNullOrEmpty(row5)) - { - try - { - DateTime date = Convert.ToDateTime(row5.Trim()); - } - catch (Exception) - { - result += (i + 2).ToString() + "," + "Test Package FINISH" + "," + "[" + row5 + "]错误!不是日期格式!" + "|"; - } + result += (i + 2).ToString() + "," + "Tag. No" + "," + "不能为空!" + "|"; } + } if (!string.IsNullOrEmpty(result)) { @@ -297,7 +279,7 @@ namespace FineUIPro.Web.Transfer oleDBConn.Close(); oleDBConn.Dispose(); - AddDatasetToSQL2(ds.Tables[0], 7); + AddDatasetToSQL2(ds.Tables[0], 9); } catch (Exception ex) { @@ -328,60 +310,90 @@ namespace FineUIPro.Web.Transfer List list = new List(); for (int i = 1; i < ir; i++) { - if (!string.IsNullOrEmpty(pds.Rows[i][0].ToString().Trim())) + //if (!string.IsNullOrEmpty(pds.Rows[i][0].ToString().Trim())) + //{ + // //查询第一列,没查到的情况下作导入处理 + // var modelOnly = Funs.DB.Transfer_Electrical.FirstOrDefault(x => x.ELECTRICAL == pds.Rows[i][0].ToString().Trim() + //&& x.ProjectId == CurrUser.LoginProjectId); + // if (modelOnly == null) + // { + Model.Transfer_Electrical model = new Model.Transfer_Electrical(); + model.Id = Guid.NewGuid().ToString(); + model.ProjectId = CurrUser.LoginProjectId; + model.ELECTRICAL = pds.Rows[i][0].ToString().Trim(); + model.SystemName = pds.Rows[i][1].ToString().Trim(); + model.Subsystem = pds.Rows[i][2].ToString().Trim(); + model.Test_Package = pds.Rows[i][3].ToString().Trim(); + + var obj1 = model.Installation = pds.Rows[i][4].ToString().Trim(); + var obj2 = model.Communicationtest = pds.Rows[i][5].ToString().Trim(); + var obj3 = model.CableLaying = pds.Rows[i][6].ToString().Trim(); + var obj4 = model.LoopTest = pds.Rows[i][7].ToString().Trim(); + #region 判断状态 + var listObj = new List(); + listObj.Add(obj1); + listObj.Add(obj2); + listObj.Add(obj3); + listObj.Add(obj4); + //全是NA或Completed 状态是Completed + if (listObj.Where(x => x == "NA" || x == "Completed").ToList().Count == 4) { - //查询第一列,没查到的情况下作导入处理 - var modelOnly = Funs.DB.Transfer_Electrical.FirstOrDefault(x => x.ELECTRICAL == pds.Rows[i][0].ToString().Trim() - && x.ProjectId == CurrUser.LoginProjectId); - if (modelOnly == null) - { - Model.Transfer_Electrical model = new Model.Transfer_Electrical(); - model.Id = Guid.NewGuid().ToString(); - model.ProjectId = CurrUser.LoginProjectId; - model.ELECTRICAL = pds.Rows[i][0].ToString().Trim(); - model.SystemName = pds.Rows[i][1].ToString().Trim(); - model.Subsystem = pds.Rows[i][2].ToString().Trim(); - model.Test_Package = pds.Rows[i][3].ToString().Trim(); - DateTime t1, t2; - if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) - model.Test_Package_START = t1; - if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) - model.Test_Package_FINISH = t2; - - model.FINAL_Status = pds.Rows[i][6].ToString().Trim(); - if (model.FINAL_Status.ToLower() == "finished") - { - model.CompleteTime = DateTime.Now; - } - - list.Add(model); - } - else - { - //修改 - modelOnly.ELECTRICAL = pds.Rows[i][0].ToString().Trim(); - modelOnly.SystemName = pds.Rows[i][1].ToString().Trim(); - modelOnly.Subsystem = pds.Rows[i][2].ToString().Trim(); - modelOnly.Test_Package = pds.Rows[i][3].ToString().Trim(); - DateTime t1, t2; - if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) - modelOnly.Test_Package_START = t1; - if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) - modelOnly.Test_Package_FINISH = t2; - - //更改前不是finished,更改后是finished的,才修改实际完成时间 - if (modelOnly.FINAL_Status.ToLower() != "finished" && pds.Rows[i][6].ToString().Trim() == "finished") - { - modelOnly.CompleteTime = DateTime.Now; - } - modelOnly.FINAL_Status = pds.Rows[i][6].ToString().Trim(); - //if (modelOnly.FINAL_Status.ToLower() == "finished") - //{ - // modelOnly.CompleteTime = DateTime.Now; - //} - Funs.DB.SubmitChanges(); - } + model.FINAL_Status = "Completed"; + list.Add(model); + continue; } + + + //如果全是Not Start 就是 Not Start + if (listObj.Where(x => x == "Not Start").ToList().Count == 4) + { + model.FINAL_Status = "Not Start"; + list.Add(model); + continue; + } + + //如果其中有一项是In progress 或Not Start 是 In progress + if (listObj.Where(x => x == "In progress" || x == "Not Start").ToList().Count >= 1) + { + model.FINAL_Status = "In progress"; + list.Add(model); + continue; + } + + model.FINAL_Status = "Not Start"; + list.Add(model); + + #endregion + + + list.Add(model); + // } + // else + // { + // //修改 + // modelOnly.ELECTRICAL = pds.Rows[i][0].ToString().Trim(); + // modelOnly.SystemName = pds.Rows[i][1].ToString().Trim(); + // modelOnly.Subsystem = pds.Rows[i][2].ToString().Trim(); + // modelOnly.Test_Package = pds.Rows[i][3].ToString().Trim(); + // DateTime t1, t2; + // if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) + // modelOnly.Test_Package_START = t1; + // if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) + // modelOnly.Test_Package_FINISH = t2; + + // //更改前不是finished,更改后是finished的,才修改实际完成时间 + // if (modelOnly.FINAL_Status.ToLower() != "finished" && pds.Rows[i][6].ToString().Trim() == "finished") + // { + // modelOnly.CompleteTime = DateTime.Now; + // } + // modelOnly.FINAL_Status = pds.Rows[i][6].ToString().Trim(); + // //if (modelOnly.FINAL_Status.ToLower() == "finished") + // //{ + // // modelOnly.CompleteTime = DateTime.Now; + // //} + // Funs.DB.SubmitChanges(); + // } + //} } if (list.Count > 0) { diff --git a/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx b/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx index 6ce2465d..999b3a27 100644 --- a/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx +++ b/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx @@ -22,17 +22,24 @@ - + - + - + + + + + + + <%-- - + --%> @@ -50,28 +57,43 @@ - + - - - + + + - - + + + + + + + + + + + + + + - + diff --git a/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.cs b/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.cs index 2d7a5239..b937b0ec 100644 --- a/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.cs @@ -40,17 +40,23 @@ namespace FineUIPro.Web.Transfer strSql += " AND INSTRUMENTATION like @INSTRUMENTATION"; listStr.Add(new SqlParameter("@INSTRUMENTATION", "%" + this.txtINSTRUMENTATION.Text.Trim() + "%")); } - if (!string.IsNullOrEmpty(txtStarTime.Text.Trim())) + + if (!string.IsNullOrEmpty(ddStatus.SelectedValue)) { - strSql += " AND Test_Package_START >= @InspectionDateA"; - listStr.Add(new SqlParameter("@InspectionDateA", Funs.GetNewDateTime(txtStarTime.Text.Trim()))); - } - if (!string.IsNullOrEmpty(txtEndTime.Text.Trim())) - { - strSql += " AND Test_Package_START <= @InspectionDateZ"; - listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); + strSql += " And FINAL_Status='" + ddStatus.SelectedValue + "' "; } + //if (!string.IsNullOrEmpty(txtStarTime.Text.Trim())) + //{ + // strSql += " AND Test_Package_START >= @InspectionDateA"; + // listStr.Add(new SqlParameter("@InspectionDateA", Funs.GetNewDateTime(txtStarTime.Text.Trim()))); + //} + //if (!string.IsNullOrEmpty(txtEndTime.Text.Trim())) + //{ + // strSql += " AND Test_Package_START <= @InspectionDateZ"; + // listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); + //} + if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) { strSql += " AND SystemName like @SystemName"; diff --git a/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.designer.cs index 5272a8ec..a7420b4b 100644 --- a/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/Instrumentation.aspx.designer.cs @@ -78,31 +78,13 @@ namespace FineUIPro.Web.Transfer protected global::FineUIPro.TextBox txtSystem; /// - /// txtStarTime 控件。 + /// ddStatus 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.DatePicker txtStarTime; - - /// - /// Label1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label1; - - /// - /// txtEndTime 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.DatePicker txtEndTime; + protected global::FineUIPro.DropDownList ddStatus; /// /// btnSearch 控件。 diff --git a/SGGL/FineUIPro.Web/Transfer/InstrumentationDataIn.aspx.cs b/SGGL/FineUIPro.Web/Transfer/InstrumentationDataIn.aspx.cs index d9d6b047..683a75de 100644 --- a/SGGL/FineUIPro.Web/Transfer/InstrumentationDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/InstrumentationDataIn.aspx.cs @@ -130,7 +130,7 @@ namespace FineUIPro.Web.Transfer oleDBConn.Close(); oleDBConn.Dispose(); - AddDatasetToSQL(ds.Tables[0], 7); + AddDatasetToSQL(ds.Tables[0], 9); hdCheckResult.Text = "1"; } catch (Exception exc) @@ -157,9 +157,9 @@ namespace FineUIPro.Web.Transfer string result = string.Empty; int ic, ir; ic = pds.Columns.Count; - if (ic < Cols) + if (ic != Cols) { - ShowNotify("导入Excel格式错误!Excel只有" + ic.ToString().Trim() + "列", MessageBoxIcon.Warning); + ShowNotify("导入Excel格式错误!Excel必须是" + Cols.ToString().Trim() + "列", MessageBoxIcon.Warning); return false; } @@ -169,29 +169,11 @@ namespace FineUIPro.Web.Transfer for (int i = 1; i < ir; i++) { string row4 = pds.Rows[i][4].ToString(); - if (!string.IsNullOrEmpty(row4)) + if (string.IsNullOrEmpty(row4)) { - try - { - DateTime date = Convert.ToDateTime(row4.Trim()); - } - catch (Exception) - { - result += (i + 2).ToString() + "," + "Test Package START" + "," + "[" + row4 + "]错误!不是日期格式!" + "|"; - } - } - string row5 = pds.Rows[i][5].ToString(); - if (!string.IsNullOrEmpty(row5)) - { - try - { - DateTime date = Convert.ToDateTime(row5.Trim()); - } - catch (Exception) - { - result += (i + 2).ToString() + "," + "Test Package FINISH" + "," + "[" + row5 + "]错误!不是日期格式!" + "|"; - } + result += (i + 2).ToString() + "," + "Tag No" + "," + "不能为空!" + "|"; } + } if (!string.IsNullOrEmpty(result)) { @@ -298,7 +280,7 @@ namespace FineUIPro.Web.Transfer oleDBConn.Close(); oleDBConn.Dispose(); - AddDatasetToSQL2(ds.Tables[0], 7); + AddDatasetToSQL2(ds.Tables[0], 9); } catch (Exception ex) { @@ -318,9 +300,9 @@ namespace FineUIPro.Web.Transfer { int ic, ir; ic = pds.Columns.Count; - if (ic < Cols) + if (ic != Cols) { - ShowNotify("导入Excel格式错误!Excel只有" + ic.ToString().Trim() + "列", MessageBoxIcon.Warning); + ShowNotify("导入Excel格式错误!Excel只能有" + Cols.ToString().Trim() + "列", MessageBoxIcon.Warning); } string result = string.Empty; ir = pds.Rows.Count; @@ -331,58 +313,90 @@ namespace FineUIPro.Web.Transfer { if (!string.IsNullOrEmpty(pds.Rows[i][0].ToString().Trim())) { - //查询第一列,没查到的情况下作导入处理 - var modelOnly = Funs.DB.Transfer_Instrumentation.FirstOrDefault(x => x.INSTRUMENTATION == pds.Rows[i][0].ToString().Trim() - && x.ProjectId == CurrUser.LoginProjectId); - if (modelOnly == null) + ////查询第一列,没查到的情况下作导入处理 + //var modelOnly = Funs.DB.Transfer_Instrumentation.FirstOrDefault(x => x.INSTRUMENTATION == pds.Rows[i][0].ToString().Trim() + //&& x.ProjectId == CurrUser.LoginProjectId); + //if (modelOnly == null) + //{ + Model.Transfer_Instrumentation model = new Model.Transfer_Instrumentation(); + model.Id = Guid.NewGuid().ToString(); + model.ProjectId = CurrUser.LoginProjectId; + model.INSTRUMENTATION = pds.Rows[i][0].ToString().Trim(); + model.SystemName = pds.Rows[i][1].ToString().Trim(); + model.Subsystem = pds.Rows[i][2].ToString().Trim(); + model.Test_Package = pds.Rows[i][3].ToString().Trim(); + + var obj1 = model.InstallationCalibration = pds.Rows[i][4].ToString().Trim(); + var obj2 = model.PipingPressuretest = pds.Rows[i][5].ToString().Trim(); + var obj3 = model.PipingLeak = pds.Rows[i][6].ToString().Trim(); + var obj4 = model.PipingBlowing = pds.Rows[i][7].ToString().Trim(); + var obj5 = model.Looptest = pds.Rows[i][8].ToString().Trim(); + #region 判断状态 + var listObj = new List(); + listObj.Add(obj1); + listObj.Add(obj2); + listObj.Add(obj3); + listObj.Add(obj4); + listObj.Add(obj5); + //全是NA或Completed 状态是Completed + if (listObj.Where(x => x == "NA" || x == "Completed").ToList().Count == 5) { - Model.Transfer_Instrumentation model = new Model.Transfer_Instrumentation(); - model.Id = Guid.NewGuid().ToString(); - model.ProjectId = CurrUser.LoginProjectId; - model.INSTRUMENTATION = pds.Rows[i][0].ToString().Trim(); - model.SystemName = pds.Rows[i][1].ToString().Trim(); - model.Subsystem = pds.Rows[i][2].ToString().Trim(); - model.Test_Package = pds.Rows[i][3].ToString().Trim(); - DateTime t1, t2; - if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) - model.Test_Package_START = t1; - if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) - model.Test_Package_FINISH = t2; - - model.FINAL_Status = pds.Rows[i][6].ToString().Trim(); - if (model.FINAL_Status.ToLower() == "finished") - { - model.CompleteTime = DateTime.Now; - } - + model.FINAL_Status = "Completed"; list.Add(model); + continue; } - else - { - //修改 - modelOnly.INSTRUMENTATION = pds.Rows[i][0].ToString().Trim(); - modelOnly.SystemName = pds.Rows[i][1].ToString().Trim(); - modelOnly.Subsystem = pds.Rows[i][2].ToString().Trim(); - modelOnly.Test_Package = pds.Rows[i][3].ToString().Trim(); - DateTime t1, t2; - if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) - modelOnly.Test_Package_START = t1; - if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) - modelOnly.Test_Package_FINISH = t2; - //更改前不是finished,更改后是finished的,才修改实际完成时间 - if (modelOnly.FINAL_Status.ToLower() != "finished" && pds.Rows[i][6].ToString().Trim() == "finished") - { - modelOnly.CompleteTime = DateTime.Now; - } - modelOnly.FINAL_Status = pds.Rows[i][6].ToString().Trim(); - //if (modelOnly.FINAL_Status.ToLower() == "finished") - //{ - // modelOnly.CompleteTime = DateTime.Now; - //} - Funs.DB.SubmitChanges(); + + //如果全是Not Start 就是 Not Start + if (listObj.Where(x => x == "Not Start").ToList().Count == 5) + { + model.FINAL_Status = "Not Start"; + list.Add(model); + continue; } + //如果其中有一项是In progress 或Not Start 是 In progress + if (listObj.Where(x => x == "In progress" || x == "Not Start").ToList().Count >= 1) + { + model.FINAL_Status = "In progress"; + list.Add(model); + continue; + } + + model.FINAL_Status = "Not Start"; + list.Add(model); + + #endregion + + list.Add(model); + + //} + //else + //{ + // //修改 + // modelOnly.INSTRUMENTATION = pds.Rows[i][0].ToString().Trim(); + // modelOnly.SystemName = pds.Rows[i][1].ToString().Trim(); + // modelOnly.Subsystem = pds.Rows[i][2].ToString().Trim(); + // modelOnly.Test_Package = pds.Rows[i][3].ToString().Trim(); + // DateTime t1, t2; + // if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) + // modelOnly.Test_Package_START = t1; + // if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) + // modelOnly.Test_Package_FINISH = t2; + + // //更改前不是finished,更改后是finished的,才修改实际完成时间 + // if (modelOnly.FINAL_Status.ToLower() != "finished" && pds.Rows[i][6].ToString().Trim() == "finished") + // { + // modelOnly.CompleteTime = DateTime.Now; + // } + // modelOnly.FINAL_Status = pds.Rows[i][6].ToString().Trim(); + // //if (modelOnly.FINAL_Status.ToLower() == "finished") + // //{ + // // modelOnly.CompleteTime = DateTime.Now; + // //} + // Funs.DB.SubmitChanges(); + //} + } } diff --git a/SGGL/FineUIPro.Web/Transfer/Piping.aspx b/SGGL/FineUIPro.Web/Transfer/Piping.aspx index fb0d0de3..75d86f91 100644 --- a/SGGL/FineUIPro.Web/Transfer/Piping.aspx +++ b/SGGL/FineUIPro.Web/Transfer/Piping.aspx @@ -4,7 +4,7 @@ - + @@ -22,17 +22,17 @@ - + - + + + + + + + + - - - - - - @@ -43,59 +43,83 @@ - - - - - - - - - - + + - + - + + + + + + + + + + + - + + - + - + + - + + - + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/Transfer/Piping.aspx.cs b/SGGL/FineUIPro.Web/Transfer/Piping.aspx.cs index f1f900ba..5dc9ae0a 100644 --- a/SGGL/FineUIPro.Web/Transfer/Piping.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/Piping.aspx.cs @@ -39,15 +39,19 @@ namespace FineUIPro.Web.Transfer strSql += " AND PIPINGLINENUMBER like @PIPINGLINENUMBER"; listStr.Add(new SqlParameter("@PIPINGLINENUMBER", "%" + this.txtPIPINGLINENUMBER.Text.Trim() + "%")); } - if (!string.IsNullOrEmpty(txtStarTime.Text.Trim())) + //if (!string.IsNullOrEmpty(txtStarTime.Text.Trim())) + //{ + // strSql += " AND TestPackageSTART >= @InspectionDateA"; + // listStr.Add(new SqlParameter("@InspectionDateA", Funs.GetNewDateTime(txtStarTime.Text.Trim()))); + //} + //if (!string.IsNullOrEmpty(txtEndTime.Text.Trim())) + //{ + // strSql += " AND TestPackageSTART <= @InspectionDateZ"; + // listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); + //} + if (!string.IsNullOrEmpty(ddStatus.SelectedValue)) { - strSql += " AND TestPackageSTART >= @InspectionDateA"; - listStr.Add(new SqlParameter("@InspectionDateA", Funs.GetNewDateTime(txtStarTime.Text.Trim()))); - } - if (!string.IsNullOrEmpty(txtEndTime.Text.Trim())) - { - strSql += " AND TestPackageSTART <= @InspectionDateZ"; - listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); + strSql += " And FINALStatus='" + ddStatus.SelectedValue + "' "; } if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) { diff --git a/SGGL/FineUIPro.Web/Transfer/Piping.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/Piping.aspx.designer.cs index 282fb9a7..008b6e73 100644 --- a/SGGL/FineUIPro.Web/Transfer/Piping.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/Piping.aspx.designer.cs @@ -78,31 +78,13 @@ namespace FineUIPro.Web.Transfer protected global::FineUIPro.TextBox txtSystem; /// - /// txtStarTime 控件。 + /// ddStatus 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.DatePicker txtStarTime; - - /// - /// Label1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label1; - - /// - /// txtEndTime 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.DatePicker txtEndTime; + protected global::FineUIPro.DropDownList ddStatus; /// /// btnSearch 控件。 @@ -122,15 +104,6 @@ namespace FineUIPro.Web.Transfer /// protected global::FineUIPro.Button btnImport; - /// - /// lblPageIndex 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::System.Web.UI.WebControls.Label lblPageIndex; - /// /// g1 控件。 /// diff --git a/SGGL/FineUIPro.Web/Transfer/PipingDataIn.aspx.cs b/SGGL/FineUIPro.Web/Transfer/PipingDataIn.aspx.cs index d963d8b1..42de876f 100644 --- a/SGGL/FineUIPro.Web/Transfer/PipingDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/PipingDataIn.aspx.cs @@ -126,7 +126,7 @@ namespace FineUIPro.Web.Transfer oleDBConn.Close(); oleDBConn.Dispose(); - AddDatasetToSQL(ds.Tables[0], 9); + AddDatasetToSQL(ds.Tables[0], 13); hdCheckResult.Text = "1"; } catch (Exception exc) @@ -164,30 +164,12 @@ namespace FineUIPro.Web.Transfer { for (int i = 1; i < ir; i++) { - string row4 = pds.Rows[i][4].ToString(); - if (!string.IsNullOrEmpty(row4)) + string row4 = pds.Rows[i][0].ToString(); + if (string.IsNullOrEmpty(row4)) { - try - { - DateTime date = Convert.ToDateTime(row4.Trim()); - } - catch (Exception) - { - result += (i + 3).ToString() + "," + "Test Package START" + "," + "[" + row4 + "]错误!不是日期格式!" + "|"; - } - } - string row5 = pds.Rows[i][5].ToString(); - if (!string.IsNullOrEmpty(row4)) - { - try - { - DateTime date = Convert.ToDateTime(row5.Trim()); - } - catch (Exception) - { - result += (i + 3).ToString() + "," + "Test Package FINISH" + "," + "[" + row5 + "]错误!不是日期格式!" + "|"; - } + result += (i + 3).ToString() + "," + "Test Package No" + "," + "不能为空!" + "|"; } + } if (!string.IsNullOrEmpty(result)) { @@ -294,7 +276,7 @@ namespace FineUIPro.Web.Transfer oleDBConn.Close(); oleDBConn.Dispose(); - AddDatasetToSQL2(ds.Tables[0], 9); + AddDatasetToSQL2(ds.Tables[0], 13); } catch (Exception ex) { @@ -325,61 +307,102 @@ namespace FineUIPro.Web.Transfer List list = new List(); for (int i = 1; i < ir; i++) { - //查询第一列,没查到的情况下作导入处理 - var modelOnly = Funs.DB.Transfer_Piping.FirstOrDefault(x => x.PIPINGLINENUMBER == pds.Rows[i][0].ToString().Trim() - && x.ProjectId == CurrUser.LoginProjectId); - if (modelOnly == null) + ////查询第一列,没查到的情况下作导入处理 + //var modelOnly = Funs.DB.Transfer_Piping.FirstOrDefault(x => x.PIPINGLINENUMBER == pds.Rows[i][0].ToString().Trim() + //&& x.ProjectId == CurrUser.LoginProjectId); + //if (modelOnly == null) + //{ + Model.Transfer_Piping model = new Model.Transfer_Piping(); + model.Id = Guid.NewGuid().ToString(); + model.ProjectId = CurrUser.LoginProjectId; + model.PIPINGLINENUMBER = pds.Rows[i][0].ToString().Trim(); + model.SYSTEM = pds.Rows[i][1].ToString().Trim(); + model.Subsystem = pds.Rows[i][2].ToString().Trim(); + model.TestPackage = pds.Rows[i][3].ToString().Trim(); + + var obj1 = model.PWD= pds.Rows[i][4].ToString().Trim(); + var obj2 =model.Apunchclosed = pds.Rows[i][5].ToString().Trim(); + var obj3 =model.NDTReport = pds.Rows[i][6].ToString().Trim(); + var obj4 =model.TemperaryMeasurement = pds.Rows[i][7].ToString().Trim(); + var obj5 =model.FWDfinished = pds.Rows[i][8].ToString().Trim(); + var obj6 =model.HydrostaticTest = pds.Rows[i][9].ToString().Trim(); + var obj7 =model.Report = pds.Rows[i][10].ToString().Trim(); + var obj8 =model.Blowingflushing = pds.Rows[i][11].ToString().Trim(); + var obj9 = model.Systemreinstalled = pds.Rows[i][12].ToString().Trim(); + + model.BlowingReport= pds.Rows[i][13].ToString().Trim(); + + #region 判断状态 + var listObj = new List(); + listObj.Add(obj1); + listObj.Add(obj2); + listObj.Add(obj3); + listObj.Add(obj4); + listObj.Add(obj5); + listObj.Add(obj6); + listObj.Add(obj7); + listObj.Add(obj8); + listObj.Add(obj9); + //全是NA或Completed 状态是Completed + if (listObj.Where(x=>x=="NA" || x== "Completed").ToList().Count==9) { - Model.Transfer_Piping model = new Model.Transfer_Piping(); - model.Id = Guid.NewGuid().ToString(); - model.ProjectId = CurrUser.LoginProjectId; - model.PIPINGLINENUMBER = pds.Rows[i][0].ToString().Trim(); - model.SYSTEM = pds.Rows[i][1].ToString().Trim(); - model.Subsystem = pds.Rows[i][2].ToString().Trim(); - model.TestPackage = pds.Rows[i][3].ToString().Trim(); - DateTime t1, t2; - if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) - model.TestPackageSTART = t1; - if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) - model.TestPackageFINISH = t2; - - model.FINALStatus = pds.Rows[i][6].ToString().Trim(); - if (model.FINALStatus.ToLower()== "finished") - { - model.CompleteTime = DateTime.Now; - } - - model.PreTestFINISHED = pds.Rows[i][7].ToString().Trim(); - model.FinalTestFINISHED = pds.Rows[i][8].ToString().Trim(); + model.FINALStatus = "Completed"; list.Add(model); + continue ; } - else - { - //修改 - modelOnly.PIPINGLINENUMBER = pds.Rows[i][0].ToString().Trim(); - modelOnly.SYSTEM = pds.Rows[i][1].ToString().Trim(); - modelOnly.Subsystem = pds.Rows[i][2].ToString().Trim(); - modelOnly.TestPackage = pds.Rows[i][3].ToString().Trim(); - DateTime t1, t2; - if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) - modelOnly.TestPackageSTART = t1; - if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) - modelOnly.TestPackageFINISH = t2; + - //更改前不是finished,更改后是finished的,才修改实际完成时间 - if (modelOnly.FINALStatus.ToLower() != "finished" && pds.Rows[i][6].ToString().Trim() == "finished") - { - modelOnly.CompleteTime = DateTime.Now; - } - modelOnly.FINALStatus = pds.Rows[i][6].ToString().Trim(); - //if (modelOnly.FINALStatus.ToLower() == "finished") - //{ - // modelOnly.CompleteTime = DateTime.Now; - //} - modelOnly.PreTestFINISHED = pds.Rows[i][7].ToString().Trim(); - modelOnly.FinalTestFINISHED = pds.Rows[i][8].ToString().Trim(); - Funs.DB.SubmitChanges(); + //如果全是Not Start 就是 Not Start + if (listObj.Where(x=>x== "Not Start").ToList().Count==9) + { + model.FINALStatus = "Not Start"; + list.Add(model); + continue; } + + //如果其中有一项是In progress 或Not Start 是 In progress + if (listObj.Where(x => x == "In progress" || x == "Not Start").ToList().Count >= 1) + { + model.FINALStatus = "In progress"; + list.Add(model); + continue; + } + + model.FINALStatus = "Not Start"; + list.Add(model); + + #endregion + + + + //} + //else + //{ + // //修改 + // modelOnly.PIPINGLINENUMBER = pds.Rows[i][0].ToString().Trim(); + // modelOnly.SYSTEM = pds.Rows[i][1].ToString().Trim(); + // modelOnly.Subsystem = pds.Rows[i][2].ToString().Trim(); + // modelOnly.TestPackage = pds.Rows[i][3].ToString().Trim(); + // DateTime t1, t2; + // if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) + // modelOnly.TestPackageSTART = t1; + // if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) + // modelOnly.TestPackageFINISH = t2; + + // //更改前不是finished,更改后是finished的,才修改实际完成时间 + // if (modelOnly.FINALStatus.ToLower() != "finished" && pds.Rows[i][6].ToString().Trim() == "finished") + // { + // modelOnly.CompleteTime = DateTime.Now; + // } + // modelOnly.FINALStatus = pds.Rows[i][6].ToString().Trim(); + // //if (modelOnly.FINALStatus.ToLower() == "finished") + // //{ + // // modelOnly.CompleteTime = DateTime.Now; + // //} + // modelOnly.PreTestFINISHED = pds.Rows[i][7].ToString().Trim(); + // modelOnly.FinalTestFINISHED = pds.Rows[i][8].ToString().Trim(); + // Funs.DB.SubmitChanges(); + //} } if (list.Count > 0) { diff --git a/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx b/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx index 661b0b79..4c737b46 100644 --- a/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx +++ b/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx @@ -4,7 +4,7 @@ - + @@ -22,17 +22,24 @@ - + - + - + + + + + + + + <%-- - + --%> @@ -43,49 +50,44 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + --%> + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.cs b/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.cs index 62633b6e..2466cc85 100644 --- a/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.cs @@ -39,16 +39,22 @@ namespace FineUIPro.Web.Transfer strSql += " AND RotatingEquipment like @RotatingEquipment"; listStr.Add(new SqlParameter("@RotatingEquipment", "%" + this.txtRotatingEquipment.Text.Trim() + "%")); } - if (!string.IsNullOrEmpty(txtStarTime.Text.Trim())) + + if (!string.IsNullOrEmpty(ddStatus.SelectedValue)) { - strSql += " AND TestPackageSTART >= @InspectionDateA"; - listStr.Add(new SqlParameter("@InspectionDateA", Funs.GetNewDateTime(txtStarTime.Text.Trim()))); - } - if (!string.IsNullOrEmpty(txtEndTime.Text.Trim())) - { - strSql += " AND TestPackageSTART <= @InspectionDateZ"; - listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); + strSql += " And MechanicalFINALStatus='" + ddStatus.SelectedValue + "' "; } + + //if (!string.IsNullOrEmpty(txtStarTime.Text.Trim())) + //{ + // strSql += " AND TestPackageSTART >= @InspectionDateA"; + // listStr.Add(new SqlParameter("@InspectionDateA", Funs.GetNewDateTime(txtStarTime.Text.Trim()))); + //} + //if (!string.IsNullOrEmpty(txtEndTime.Text.Trim())) + //{ + // strSql += " AND TestPackageSTART <= @InspectionDateZ"; + // listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); + //} if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) { strSql += " AND SYSTEM like @SYSTEM"; diff --git a/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.designer.cs index a623f720..45a31804 100644 --- a/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/RotatingEquipment.aspx.designer.cs @@ -78,31 +78,13 @@ namespace FineUIPro.Web.Transfer protected global::FineUIPro.TextBox txtSystem; /// - /// txtStarTime 控件。 + /// ddStatus 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.DatePicker txtStarTime; - - /// - /// Label1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label1; - - /// - /// txtEndTime 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.DatePicker txtEndTime; + protected global::FineUIPro.DropDownList ddStatus; /// /// btnSearch 控件。 @@ -122,51 +104,6 @@ namespace FineUIPro.Web.Transfer /// protected global::FineUIPro.Button btnImport; - /// - /// lblPageIndex 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::System.Web.UI.WebControls.Label lblPageIndex; - - /// - /// g1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.GroupField g1; - - /// - /// g2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.GroupField g2; - - /// - /// g3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.GroupField g3; - - /// - /// g5 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.GroupField g5; - /// /// ToolbarText1 控件。 /// diff --git a/SGGL/FineUIPro.Web/Transfer/RotatingEquipmentDataIn.aspx.cs b/SGGL/FineUIPro.Web/Transfer/RotatingEquipmentDataIn.aspx.cs index 13892880..620b1044 100644 --- a/SGGL/FineUIPro.Web/Transfer/RotatingEquipmentDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/RotatingEquipmentDataIn.aspx.cs @@ -153,9 +153,9 @@ namespace FineUIPro.Web.Transfer string result = string.Empty; int ic, ir; ic = pds.Columns.Count; - if (ic < Cols) + if (ic != Cols) { - ShowNotify("导入Excel格式错误!Excel只有" + ic.ToString().Trim() + "列", MessageBoxIcon.Warning); + ShowNotify("导入Excel格式错误!Excel必须是" + Cols.ToString().Trim() + "列", MessageBoxIcon.Warning); return false; } @@ -164,30 +164,12 @@ namespace FineUIPro.Web.Transfer { for (int i = 1; i < ir; i++) { - string row4 = pds.Rows[i][4].ToString(); - if (!string.IsNullOrEmpty(row4)) + string row4 = pds.Rows[i][0].ToString(); + if (string.IsNullOrEmpty(row4)) { - try - { - DateTime date = Convert.ToDateTime(row4.Trim()); - } - catch (Exception) - { - result += (i + 3).ToString() + "," + "Test Package START" + "," + "[" + row4 + "]错误!不是日期格式!" + "|"; - } - } - string row5 = pds.Rows[i][5].ToString(); - if (!string.IsNullOrEmpty(row4)) - { - try - { - DateTime date = Convert.ToDateTime(row5.Trim()); - } - catch (Exception) - { - result += (i + 3).ToString() + "," + "Test Package FINISH" + "," + "[" + row5 + "]错误!不是日期格式!" + "|"; - } + result += (i + 3).ToString() + "," + "Tag. No" + "," + "不能为空!" + "|"; } + } if (!string.IsNullOrEmpty(result)) { @@ -325,58 +307,92 @@ namespace FineUIPro.Web.Transfer List list = new List(); for (int i = 1; i < ir; i++) { - //查询第一列,没查到的情况下作导入处理 - var modelOnly = Funs.DB.Transfer_RotatingEquipment.FirstOrDefault(x => x.RotatingEquipment == pds.Rows[i][0].ToString().Trim() - && x.ProjectId == CurrUser.LoginProjectId); - if (modelOnly == null) - { - Model.Transfer_RotatingEquipment model = new Model.Transfer_RotatingEquipment(); - model.Id = Guid.NewGuid().ToString(); - model.ProjectId = CurrUser.LoginProjectId; - model.RotatingEquipment = pds.Rows[i][0].ToString().Trim(); - model.SYSTEM = pds.Rows[i][1].ToString().Trim(); - model.Subsystem = pds.Rows[i][2].ToString().Trim(); - model.TestPackage = pds.Rows[i][3].ToString().Trim(); - DateTime t1, t2; - if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) - model.TestPackageSTART = t1; - if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) - model.TestPackageFINISH = t2; + ////查询第一列,没查到的情况下作导入处理 + //var modelOnly = Funs.DB.Transfer_RotatingEquipment.FirstOrDefault(x => x.RotatingEquipment == pds.Rows[i][0].ToString().Trim() + //&& x.ProjectId == CurrUser.LoginProjectId); + //if (modelOnly == null) + //{ + Model.Transfer_RotatingEquipment model = new Model.Transfer_RotatingEquipment(); + model.Id = Guid.NewGuid().ToString(); + model.ProjectId = CurrUser.LoginProjectId; + model.RotatingEquipment = pds.Rows[i][0].ToString().Trim(); + model.SYSTEM = pds.Rows[i][1].ToString().Trim(); + model.Subsystem = pds.Rows[i][2].ToString().Trim(); + model.TestPackage = pds.Rows[i][3].ToString().Trim(); - model.MechanicalFINALStatus = pds.Rows[i][6].ToString().Trim(); - if (model.MechanicalFINALStatus.ToLower() == "finished") - { - model.CompleteTime = DateTime.Now; - } + var obj1 = model.Alignment = pds.Rows[i][4].ToString().Trim(); + var obj2 = model.Motorsoloruntest = pds.Rows[i][5].ToString().Trim(); + var obj3 = model.Standalonetest = pds.Rows[i][6].ToString().Trim(); + #region 判断状态 + var listObj = new List(); + listObj.Add(obj1); + listObj.Add(obj2); + listObj.Add(obj3); + + //全是NA或Completed 状态是Completed + if (listObj.Where(x => x == "NA" || x == "Completed").ToList().Count == 3) + { + model.MechanicalFINALStatus = "Completed"; list.Add(model); + continue; } - else + + + //如果全是Not Start 就是 Not Start + if (listObj.Where(x => x == "Not Start").ToList().Count == 3) { - //修改 - modelOnly.RotatingEquipment = pds.Rows[i][0].ToString().Trim(); - modelOnly.SYSTEM = pds.Rows[i][1].ToString().Trim(); - modelOnly.Subsystem = pds.Rows[i][2].ToString().Trim(); - modelOnly.TestPackage = pds.Rows[i][3].ToString().Trim(); - DateTime t1, t2; - if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) - modelOnly.TestPackageSTART = t1; - if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) - modelOnly.TestPackageFINISH = t2; - - //更改前不是finished,更改后是finished的,才修改实际完成时间 - if (modelOnly.MechanicalFINALStatus.ToLower() != "finished" && pds.Rows[i][6].ToString().Trim() == "finished") - { - modelOnly.CompleteTime = DateTime.Now; - } - modelOnly.MechanicalFINALStatus = pds.Rows[i][6].ToString().Trim(); - - //if (modelOnly.MechanicalFINALStatus.ToLower() == "finished") - //{ - // modelOnly.CompleteTime = DateTime.Now; - //} - - Funs.DB.SubmitChanges(); + model.MechanicalFINALStatus = "Not Start"; + list.Add(model); + continue; } + + //如果其中有一项是In progress 或Not Start 是 In progress + if (listObj.Where(x => x == "In progress" || x == "Not Start").ToList().Count >= 1) + { + model.MechanicalFINALStatus = "In progress"; + list.Add(model); + continue; + } + + model.MechanicalFINALStatus = "Not Start"; + list.Add(model); + + #endregion + + model.MechanicalFINALStatus = pds.Rows[i][6].ToString().Trim(); + if (model.MechanicalFINALStatus.ToLower() == "finished") + { + model.CompleteTime = DateTime.Now; + } + list.Add(model); + //} + //else + //{ + // //修改 + // modelOnly.RotatingEquipment = pds.Rows[i][0].ToString().Trim(); + // modelOnly.SYSTEM = pds.Rows[i][1].ToString().Trim(); + // modelOnly.Subsystem = pds.Rows[i][2].ToString().Trim(); + // modelOnly.TestPackage = pds.Rows[i][3].ToString().Trim(); + // DateTime t1, t2; + // if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) + // modelOnly.TestPackageSTART = t1; + // if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) + // modelOnly.TestPackageFINISH = t2; + + // //更改前不是finished,更改后是finished的,才修改实际完成时间 + // if (modelOnly.MechanicalFINALStatus.ToLower() != "finished" && pds.Rows[i][6].ToString().Trim() == "finished") + // { + // modelOnly.CompleteTime = DateTime.Now; + // } + // modelOnly.MechanicalFINALStatus = pds.Rows[i][6].ToString().Trim(); + + // //if (modelOnly.MechanicalFINALStatus.ToLower() == "finished") + // //{ + // // modelOnly.CompleteTime = DateTime.Now; + // //} + + // Funs.DB.SubmitChanges(); + //} } if (list.Count > 0) { diff --git a/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx b/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx index df506ba3..14c8f360 100644 --- a/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx +++ b/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx @@ -22,17 +22,24 @@ - + - - + --%> + + + + + + + @@ -43,39 +50,44 @@ - - + --%> - + + HeaderTextAlign="Center" Width="160px"> + HeaderTextAlign="Center" Width="160px"> - - + - + + + + + diff --git a/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.cs b/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.cs index 107c96d2..4b741121 100644 --- a/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.cs @@ -39,22 +39,26 @@ namespace FineUIPro.Web.Transfer strSql += " AND StaticEquipment like @StaticEquipment"; listStr.Add(new SqlParameter("@StaticEquipment", "%" + this.txtStaticEquipment.Text.Trim() + "%")); } - if (!string.IsNullOrEmpty(txtStarTime.Text.Trim())) - { - strSql += " AND TestPackageSTART >= @InspectionDateA"; - listStr.Add(new SqlParameter("@InspectionDateA", Funs.GetNewDateTime(txtStarTime.Text.Trim()))); - } - if (!string.IsNullOrEmpty(txtEndTime.Text.Trim())) - { - strSql += " AND TestPackageSTART <= @InspectionDateZ"; - listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); - } + //if (!string.IsNullOrEmpty(txtStarTime.Text.Trim())) + //{ + // strSql += " AND TestPackageSTART >= @InspectionDateA"; + // listStr.Add(new SqlParameter("@InspectionDateA", Funs.GetNewDateTime(txtStarTime.Text.Trim()))); + //} + //if (!string.IsNullOrEmpty(txtEndTime.Text.Trim())) + //{ + // strSql += " AND TestPackageSTART <= @InspectionDateZ"; + // listStr.Add(new SqlParameter("@InspectionDateZ", Funs.GetNewDateTime(txtEndTime.Text.Trim()))); + //} if (!string.IsNullOrEmpty(this.txtSystem.Text.Trim())) { strSql += " AND SYSTEM like @SYSTEM"; listStr.Add(new SqlParameter("@SYSTEM", "%" + this.txtSystem.Text.Trim() + "%")); } + if (!string.IsNullOrEmpty(ddStatus.SelectedValue)) + { + strSql += " And MechanicalFINALStatus='" + ddStatus.SelectedValue + "' "; + } SqlParameter[] parameter = listStr.ToArray(); DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); Grid1.RecordCount = tb.Rows.Count; diff --git a/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.designer.cs index 5c8b69a6..5430b04c 100644 --- a/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/StaticEquipment.aspx.designer.cs @@ -78,31 +78,13 @@ namespace FineUIPro.Web.Transfer protected global::FineUIPro.TextBox txtSystem; /// - /// txtStarTime 控件。 + /// ddStatus 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.DatePicker txtStarTime; - - /// - /// Label1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label1; - - /// - /// txtEndTime 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.DatePicker txtEndTime; + protected global::FineUIPro.DropDownList ddStatus; /// /// btnSearch 控件。 @@ -122,15 +104,6 @@ namespace FineUIPro.Web.Transfer /// protected global::FineUIPro.Button btnImport; - /// - /// lblPageIndex 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::System.Web.UI.WebControls.Label lblPageIndex; - /// /// g1 控件。 /// diff --git a/SGGL/FineUIPro.Web/Transfer/StaticEquipmentDataIn.aspx.cs b/SGGL/FineUIPro.Web/Transfer/StaticEquipmentDataIn.aspx.cs index e7b32c94..88aaf37f 100644 --- a/SGGL/FineUIPro.Web/Transfer/StaticEquipmentDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/StaticEquipmentDataIn.aspx.cs @@ -164,30 +164,12 @@ namespace FineUIPro.Web.Transfer { for (int i = 1; i < ir; i++) { - string row4 = pds.Rows[i][4].ToString(); - if (!string.IsNullOrEmpty(row4)) + string row4 = pds.Rows[i][0].ToString(); + if (string.IsNullOrEmpty(row4)) { - try - { - DateTime date = Convert.ToDateTime(row4.Trim()); - } - catch (Exception) - { - result += (i + 3).ToString() + "," + "Test Package START" + "," + "[" + row4 + "]错误!不是日期格式!" + "|"; - } - } - string row5 = pds.Rows[i][5].ToString(); - if (!string.IsNullOrEmpty(row4)) - { - try - { - DateTime date = Convert.ToDateTime(row5.Trim()); - } - catch (Exception) - { - result += (i + 3).ToString() + "," + "Test Package FINISH" + "," + "[" + row5 + "]错误!不是日期格式!" + "|"; - } + result += (i + 3).ToString() + "," + "Tag No" + "," + "不能为空!" + "|"; } + } if (!string.IsNullOrEmpty(result)) { @@ -325,57 +307,97 @@ namespace FineUIPro.Web.Transfer List list = new List(); for (int i = 1; i < ir; i++) { - //查询第一列,没查到的情况下作导入处理 - var modelOnly = Funs.DB.Transfer_StaticEquipment.FirstOrDefault(x => x.StaticEquipment == pds.Rows[i][0].ToString().Trim() - && x.ProjectId == CurrUser.LoginProjectId); - if (modelOnly == null) + ////查询第一列,没查到的情况下作导入处理 + //var modelOnly = Funs.DB.Transfer_StaticEquipment.FirstOrDefault(x => x.StaticEquipment == pds.Rows[i][0].ToString().Trim() + //&& x.ProjectId == CurrUser.LoginProjectId); + //if (modelOnly == null) + //{ + Model.Transfer_StaticEquipment model = new Model.Transfer_StaticEquipment(); + model.Id = Guid.NewGuid().ToString(); + model.ProjectId = CurrUser.LoginProjectId; + model.StaticEquipment = pds.Rows[i][0].ToString().Trim(); + model.SYSTEM = pds.Rows[i][1].ToString().Trim(); + model.Subsystem = pds.Rows[i][2].ToString().Trim(); + model.TestPackage = pds.Rows[i][3].ToString().Trim(); + + var obj1 = model.Internalinspection = pds.Rows[i][4].ToString().Trim(); + var obj2 = model.InternalsPacking = pds.Rows[i][5].ToString().Trim(); + var obj3 = model.BOXupRecord = pds.Rows[i][6].ToString().Trim(); + #region 判断状态 + var listObj = new List(); + listObj.Add(obj1); + listObj.Add(obj2); + listObj.Add(obj3); + + //全是NA或Completed 状态是Completed + if (listObj.Where(x => x == "NA" || x == "Completed").ToList().Count == 3) { - Model.Transfer_StaticEquipment model = new Model.Transfer_StaticEquipment(); - model.Id = Guid.NewGuid().ToString(); - model.ProjectId = CurrUser.LoginProjectId; - model.StaticEquipment = pds.Rows[i][0].ToString().Trim(); - model.SYSTEM = pds.Rows[i][1].ToString().Trim(); - model.Subsystem = pds.Rows[i][2].ToString().Trim(); - model.TestPackage = pds.Rows[i][3].ToString().Trim(); - DateTime t1, t2; - if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) - model.TestPackageSTART = t1; - if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) - model.TestPackageFINISH = t2; - - model.MechanicalFINALStatus = pds.Rows[i][6].ToString().Trim(); - if (model.MechanicalFINALStatus.ToLower() == "finished") - { - model.CompleteTime = DateTime.Now; - } - + model.MechanicalFINALStatus = "Completed"; list.Add(model); + continue; } - else - { - //修改 - modelOnly.StaticEquipment = pds.Rows[i][0].ToString().Trim(); - modelOnly.SYSTEM = pds.Rows[i][1].ToString().Trim(); - modelOnly.Subsystem = pds.Rows[i][2].ToString().Trim(); - modelOnly.TestPackage = pds.Rows[i][3].ToString().Trim(); - DateTime t1, t2; - if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) - modelOnly.TestPackageSTART = t1; - if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) - modelOnly.TestPackageFINISH = t2; - //更改前不是finished,更改后是finished的,才修改实际完成时间 - if (modelOnly.MechanicalFINALStatus.ToLower() != "finished" && pds.Rows[i][6].ToString().Trim() == "finished") - { - modelOnly.CompleteTime = DateTime.Now; - } - modelOnly.MechanicalFINALStatus = pds.Rows[i][6].ToString().Trim(); - //if (modelOnly.MechanicalFINALStatus.ToLower() == "finished") - //{ - // modelOnly.CompleteTime = DateTime.Now; - //} - Funs.DB.SubmitChanges(); + + //如果全是Not Start 就是 Not Start + if (listObj.Where(x => x == "Not Start").ToList().Count == 3) + { + model.MechanicalFINALStatus = "Not Start"; + list.Add(model); + continue; } + + //如果其中有一项是In progress 或Not Start 是 In progress + if (listObj.Where(x => x == "In progress" || x == "Not Start").ToList().Count >= 1) + { + model.MechanicalFINALStatus = "In progress"; + list.Add(model); + continue; + } + + model.MechanicalFINALStatus = "Not Start"; + list.Add(model); + + #endregion + + //DateTime t1, t2; + //if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) + // model.TestPackageSTART = t1; + //if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) + // model.TestPackageFINISH = t2; + + //model.MechanicalFINALStatus = pds.Rows[i][6].ToString().Trim(); + //if (model.MechanicalFINALStatus.ToLower() == "finished") + //{ + // model.CompleteTime = DateTime.Now; + //} + + list.Add(model); + //} + //else + //{ + // //修改 + // modelOnly.StaticEquipment = pds.Rows[i][0].ToString().Trim(); + // modelOnly.SYSTEM = pds.Rows[i][1].ToString().Trim(); + // modelOnly.Subsystem = pds.Rows[i][2].ToString().Trim(); + // modelOnly.TestPackage = pds.Rows[i][3].ToString().Trim(); + // DateTime t1, t2; + // if (DateTime.TryParse(pds.Rows[i][4].ToString(), out t1) && !string.IsNullOrEmpty(pds.Rows[i][4].ToString())) + // modelOnly.TestPackageSTART = t1; + // if (DateTime.TryParse(pds.Rows[i][5].ToString(), out t2) && !string.IsNullOrEmpty(pds.Rows[i][5].ToString())) + // modelOnly.TestPackageFINISH = t2; + + // //更改前不是finished,更改后是finished的,才修改实际完成时间 + // if (modelOnly.MechanicalFINALStatus.ToLower() != "finished" && pds.Rows[i][6].ToString().Trim() == "finished") + // { + // modelOnly.CompleteTime = DateTime.Now; + // } + // modelOnly.MechanicalFINALStatus = pds.Rows[i][6].ToString().Trim(); + // //if (modelOnly.MechanicalFINALStatus.ToLower() == "finished") + // //{ + // // modelOnly.CompleteTime = DateTime.Now; + // //} + // Funs.DB.SubmitChanges(); + //} } if (list.Count > 0) { diff --git a/SGGL/FineUIPro.Web/common/Menu_HSSE.xml b/SGGL/FineUIPro.Web/common/Menu_HSSE.xml index b8b19649..ae13b67f 100644 --- a/SGGL/FineUIPro.Web/common/Menu_HSSE.xml +++ b/SGGL/FineUIPro.Web/common/Menu_HSSE.xml @@ -72,6 +72,7 @@ + @@ -99,14 +100,12 @@ - - - - - - - - + + + + + + diff --git a/SGGL/FineUIPro.Web/common/Menu_Personal.xml b/SGGL/FineUIPro.Web/common/Menu_Personal.xml index a9d07855..2854ffd9 100644 --- a/SGGL/FineUIPro.Web/common/Menu_Personal.xml +++ b/SGGL/FineUIPro.Web/common/Menu_Personal.xml @@ -6,7 +6,4 @@ - - - \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/common/Menu_Transfer.xml b/SGGL/FineUIPro.Web/common/Menu_Transfer.xml index 4d3b9e97..31fd29bc 100644 --- a/SGGL/FineUIPro.Web/common/Menu_Transfer.xml +++ b/SGGL/FineUIPro.Web/common/Menu_Transfer.xml @@ -1,7 +1,8 @@  - + + @@ -11,11 +12,9 @@ - - - - - + + + \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml b/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml index 69859890..cc7e0f27 100644 --- a/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml +++ b/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml @@ -84,7 +84,5 @@ - - \ No newline at end of file diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index 2aaf1641..62773263 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -390737,6 +390737,22 @@ namespace Model private System.Nullable _CompleteTime; + private string _Foundation; + + private string _Mainstructure; + + private string _Buildingdecoration; + + private string _Equipment; + + private string _Instrument; + + private string _Electrical; + + private string _FireFighting; + + private string _HVAC; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -390761,6 +390777,22 @@ namespace Model partial void OnFINAL_StatusChanged(); partial void OnCompleteTimeChanging(System.Nullable value); partial void OnCompleteTimeChanged(); + partial void OnFoundationChanging(string value); + partial void OnFoundationChanged(); + partial void OnMainstructureChanging(string value); + partial void OnMainstructureChanged(); + partial void OnBuildingdecorationChanging(string value); + partial void OnBuildingdecorationChanged(); + partial void OnEquipmentChanging(string value); + partial void OnEquipmentChanged(); + partial void OnInstrumentChanging(string value); + partial void OnInstrumentChanged(); + partial void OnElectricalChanging(string value); + partial void OnElectricalChanged(); + partial void OnFireFightingChanging(string value); + partial void OnFireFightingChanged(); + partial void OnHVACChanging(string value); + partial void OnHVACChanged(); #endregion public Transfer_Civil_Structure() @@ -390968,6 +391000,166 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Foundation", DbType="NVarChar(50)")] + public string Foundation + { + get + { + return this._Foundation; + } + set + { + if ((this._Foundation != value)) + { + this.OnFoundationChanging(value); + this.SendPropertyChanging(); + this._Foundation = value; + this.SendPropertyChanged("Foundation"); + this.OnFoundationChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Mainstructure", DbType="NVarChar(50)")] + public string Mainstructure + { + get + { + return this._Mainstructure; + } + set + { + if ((this._Mainstructure != value)) + { + this.OnMainstructureChanging(value); + this.SendPropertyChanging(); + this._Mainstructure = value; + this.SendPropertyChanged("Mainstructure"); + this.OnMainstructureChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Buildingdecoration", DbType="NVarChar(50)")] + public string Buildingdecoration + { + get + { + return this._Buildingdecoration; + } + set + { + if ((this._Buildingdecoration != value)) + { + this.OnBuildingdecorationChanging(value); + this.SendPropertyChanging(); + this._Buildingdecoration = value; + this.SendPropertyChanged("Buildingdecoration"); + this.OnBuildingdecorationChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Equipment", DbType="NVarChar(50)")] + public string Equipment + { + get + { + return this._Equipment; + } + set + { + if ((this._Equipment != value)) + { + this.OnEquipmentChanging(value); + this.SendPropertyChanging(); + this._Equipment = value; + this.SendPropertyChanged("Equipment"); + this.OnEquipmentChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Instrument", DbType="NVarChar(50)")] + public string Instrument + { + get + { + return this._Instrument; + } + set + { + if ((this._Instrument != value)) + { + this.OnInstrumentChanging(value); + this.SendPropertyChanging(); + this._Instrument = value; + this.SendPropertyChanged("Instrument"); + this.OnInstrumentChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Electrical", DbType="NVarChar(50)")] + public string Electrical + { + get + { + return this._Electrical; + } + set + { + if ((this._Electrical != value)) + { + this.OnElectricalChanging(value); + this.SendPropertyChanging(); + this._Electrical = value; + this.SendPropertyChanged("Electrical"); + this.OnElectricalChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FireFighting", DbType="NVarChar(50)")] + public string FireFighting + { + get + { + return this._FireFighting; + } + set + { + if ((this._FireFighting != value)) + { + this.OnFireFightingChanging(value); + this.SendPropertyChanging(); + this._FireFighting = value; + this.SendPropertyChanged("FireFighting"); + this.OnFireFightingChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HVAC", DbType="NVarChar(50)")] + public string HVAC + { + get + { + return this._HVAC; + } + set + { + if ((this._HVAC != value)) + { + this.OnHVACChanging(value); + this.SendPropertyChanging(); + this._HVAC = value; + this.SendPropertyChanged("HVAC"); + this.OnHVACChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -391015,6 +391207,14 @@ namespace Model private System.Nullable _CompleteTime; + private string _Installation; + + private string _Communicationtest; + + private string _CableLaying; + + private string _LoopTest; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -391039,6 +391239,14 @@ namespace Model partial void OnFINAL_StatusChanged(); partial void OnCompleteTimeChanging(System.Nullable value); partial void OnCompleteTimeChanged(); + partial void OnInstallationChanging(string value); + partial void OnInstallationChanged(); + partial void OnCommunicationtestChanging(string value); + partial void OnCommunicationtestChanged(); + partial void OnCableLayingChanging(string value); + partial void OnCableLayingChanged(); + partial void OnLoopTestChanging(string value); + partial void OnLoopTestChanged(); #endregion public Transfer_Electrical() @@ -391246,6 +391454,86 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Installation", DbType="NVarChar(50)")] + public string Installation + { + get + { + return this._Installation; + } + set + { + if ((this._Installation != value)) + { + this.OnInstallationChanging(value); + this.SendPropertyChanging(); + this._Installation = value; + this.SendPropertyChanged("Installation"); + this.OnInstallationChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Communicationtest", DbType="NVarChar(50)")] + public string Communicationtest + { + get + { + return this._Communicationtest; + } + set + { + if ((this._Communicationtest != value)) + { + this.OnCommunicationtestChanging(value); + this.SendPropertyChanging(); + this._Communicationtest = value; + this.SendPropertyChanged("Communicationtest"); + this.OnCommunicationtestChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CableLaying", DbType="NVarChar(50)")] + public string CableLaying + { + get + { + return this._CableLaying; + } + set + { + if ((this._CableLaying != value)) + { + this.OnCableLayingChanging(value); + this.SendPropertyChanging(); + this._CableLaying = value; + this.SendPropertyChanged("CableLaying"); + this.OnCableLayingChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LoopTest", DbType="NVarChar(50)")] + public string LoopTest + { + get + { + return this._LoopTest; + } + set + { + if ((this._LoopTest != value)) + { + this.OnLoopTestChanging(value); + this.SendPropertyChanging(); + this._LoopTest = value; + this.SendPropertyChanged("LoopTest"); + this.OnLoopTestChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -391849,6 +392137,16 @@ namespace Model private System.Nullable _CompleteTime; + private string _InstallationCalibration; + + private string _PipingPressuretest; + + private string _PipingLeak; + + private string _PipingBlowing; + + private string _Looptest; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -391873,6 +392171,16 @@ namespace Model partial void OnFINAL_StatusChanged(); partial void OnCompleteTimeChanging(System.Nullable value); partial void OnCompleteTimeChanged(); + partial void OnInstallationCalibrationChanging(string value); + partial void OnInstallationCalibrationChanged(); + partial void OnPipingPressuretestChanging(string value); + partial void OnPipingPressuretestChanged(); + partial void OnPipingLeakChanging(string value); + partial void OnPipingLeakChanged(); + partial void OnPipingBlowingChanging(string value); + partial void OnPipingBlowingChanged(); + partial void OnLooptestChanging(string value); + partial void OnLooptestChanged(); #endregion public Transfer_Instrumentation() @@ -392080,6 +392388,106 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationCalibration", DbType="NVarChar(50)")] + public string InstallationCalibration + { + get + { + return this._InstallationCalibration; + } + set + { + if ((this._InstallationCalibration != value)) + { + this.OnInstallationCalibrationChanging(value); + this.SendPropertyChanging(); + this._InstallationCalibration = value; + this.SendPropertyChanged("InstallationCalibration"); + this.OnInstallationCalibrationChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipingPressuretest", DbType="NVarChar(50)")] + public string PipingPressuretest + { + get + { + return this._PipingPressuretest; + } + set + { + if ((this._PipingPressuretest != value)) + { + this.OnPipingPressuretestChanging(value); + this.SendPropertyChanging(); + this._PipingPressuretest = value; + this.SendPropertyChanged("PipingPressuretest"); + this.OnPipingPressuretestChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipingLeak", DbType="NVarChar(50)")] + public string PipingLeak + { + get + { + return this._PipingLeak; + } + set + { + if ((this._PipingLeak != value)) + { + this.OnPipingLeakChanging(value); + this.SendPropertyChanging(); + this._PipingLeak = value; + this.SendPropertyChanged("PipingLeak"); + this.OnPipingLeakChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipingBlowing", DbType="NVarChar(50)")] + public string PipingBlowing + { + get + { + return this._PipingBlowing; + } + set + { + if ((this._PipingBlowing != value)) + { + this.OnPipingBlowingChanging(value); + this.SendPropertyChanging(); + this._PipingBlowing = value; + this.SendPropertyChanged("PipingBlowing"); + this.OnPipingBlowingChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Looptest", DbType="NVarChar(50)")] + public string Looptest + { + get + { + return this._Looptest; + } + set + { + if ((this._Looptest != value)) + { + this.OnLooptestChanging(value); + this.SendPropertyChanging(); + this._Looptest = value; + this.SendPropertyChanged("Looptest"); + this.OnLooptestChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -392481,6 +392889,26 @@ namespace Model private System.Nullable _CompleteTime; + private string _PWD; + + private string _Apunchclosed; + + private string _NDTReport; + + private string _TemperaryMeasurement; + + private string _FWDfinished; + + private string _HydrostaticTest; + + private string _Report; + + private string _Blowingflushing; + + private string _Systemreinstalled; + + private string _BlowingReport; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -392509,6 +392937,26 @@ namespace Model partial void OnFinalTestFINISHEDChanged(); partial void OnCompleteTimeChanging(System.Nullable value); partial void OnCompleteTimeChanged(); + partial void OnPWDChanging(string value); + partial void OnPWDChanged(); + partial void OnApunchclosedChanging(string value); + partial void OnApunchclosedChanged(); + partial void OnNDTReportChanging(string value); + partial void OnNDTReportChanged(); + partial void OnTemperaryMeasurementChanging(string value); + partial void OnTemperaryMeasurementChanged(); + partial void OnFWDfinishedChanging(string value); + partial void OnFWDfinishedChanged(); + partial void OnHydrostaticTestChanging(string value); + partial void OnHydrostaticTestChanged(); + partial void OnReportChanging(string value); + partial void OnReportChanged(); + partial void OnBlowingflushingChanging(string value); + partial void OnBlowingflushingChanged(); + partial void OnSystemreinstalledChanging(string value); + partial void OnSystemreinstalledChanged(); + partial void OnBlowingReportChanging(string value); + partial void OnBlowingReportChanged(); #endregion public Transfer_Piping() @@ -392756,6 +393204,206 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PWD", DbType="NVarChar(50)")] + public string PWD + { + get + { + return this._PWD; + } + set + { + if ((this._PWD != value)) + { + this.OnPWDChanging(value); + this.SendPropertyChanging(); + this._PWD = value; + this.SendPropertyChanged("PWD"); + this.OnPWDChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Apunchclosed", DbType="NVarChar(50)")] + public string Apunchclosed + { + get + { + return this._Apunchclosed; + } + set + { + if ((this._Apunchclosed != value)) + { + this.OnApunchclosedChanging(value); + this.SendPropertyChanging(); + this._Apunchclosed = value; + this.SendPropertyChanged("Apunchclosed"); + this.OnApunchclosedChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTReport", DbType="NVarChar(50)")] + public string NDTReport + { + get + { + return this._NDTReport; + } + set + { + if ((this._NDTReport != value)) + { + this.OnNDTReportChanging(value); + this.SendPropertyChanging(); + this._NDTReport = value; + this.SendPropertyChanged("NDTReport"); + this.OnNDTReportChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TemperaryMeasurement", DbType="NVarChar(50)")] + public string TemperaryMeasurement + { + get + { + return this._TemperaryMeasurement; + } + set + { + if ((this._TemperaryMeasurement != value)) + { + this.OnTemperaryMeasurementChanging(value); + this.SendPropertyChanging(); + this._TemperaryMeasurement = value; + this.SendPropertyChanged("TemperaryMeasurement"); + this.OnTemperaryMeasurementChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FWDfinished", DbType="NVarChar(50)")] + public string FWDfinished + { + get + { + return this._FWDfinished; + } + set + { + if ((this._FWDfinished != value)) + { + this.OnFWDfinishedChanging(value); + this.SendPropertyChanging(); + this._FWDfinished = value; + this.SendPropertyChanged("FWDfinished"); + this.OnFWDfinishedChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HydrostaticTest", DbType="NVarChar(50)")] + public string HydrostaticTest + { + get + { + return this._HydrostaticTest; + } + set + { + if ((this._HydrostaticTest != value)) + { + this.OnHydrostaticTestChanging(value); + this.SendPropertyChanging(); + this._HydrostaticTest = value; + this.SendPropertyChanged("HydrostaticTest"); + this.OnHydrostaticTestChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Report", DbType="NVarChar(50)")] + public string Report + { + get + { + return this._Report; + } + set + { + if ((this._Report != value)) + { + this.OnReportChanging(value); + this.SendPropertyChanging(); + this._Report = value; + this.SendPropertyChanged("Report"); + this.OnReportChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Blowingflushing", DbType="NVarChar(50)")] + public string Blowingflushing + { + get + { + return this._Blowingflushing; + } + set + { + if ((this._Blowingflushing != value)) + { + this.OnBlowingflushingChanging(value); + this.SendPropertyChanging(); + this._Blowingflushing = value; + this.SendPropertyChanged("Blowingflushing"); + this.OnBlowingflushingChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Systemreinstalled", DbType="NVarChar(50)")] + public string Systemreinstalled + { + get + { + return this._Systemreinstalled; + } + set + { + if ((this._Systemreinstalled != value)) + { + this.OnSystemreinstalledChanging(value); + this.SendPropertyChanging(); + this._Systemreinstalled = value; + this.SendPropertyChanged("Systemreinstalled"); + this.OnSystemreinstalledChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BlowingReport", DbType="NVarChar(50)")] + public string BlowingReport + { + get + { + return this._BlowingReport; + } + set + { + if ((this._BlowingReport != value)) + { + this.OnBlowingReportChanging(value); + this.SendPropertyChanging(); + this._BlowingReport = value; + this.SendPropertyChanged("BlowingReport"); + this.OnBlowingReportChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -394453,6 +395101,12 @@ namespace Model private System.Nullable _CompleteTime; + private string _Alignment; + + private string _Motorsoloruntest; + + private string _Standalonetest; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -394477,6 +395131,12 @@ namespace Model partial void OnMechanicalFINALStatusChanged(); partial void OnCompleteTimeChanging(System.Nullable value); partial void OnCompleteTimeChanged(); + partial void OnAlignmentChanging(string value); + partial void OnAlignmentChanged(); + partial void OnMotorsoloruntestChanging(string value); + partial void OnMotorsoloruntestChanged(); + partial void OnStandalonetestChanging(string value); + partial void OnStandalonetestChanged(); #endregion public Transfer_RotatingEquipment() @@ -394684,6 +395344,66 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Alignment", DbType="NVarChar(50)")] + public string Alignment + { + get + { + return this._Alignment; + } + set + { + if ((this._Alignment != value)) + { + this.OnAlignmentChanging(value); + this.SendPropertyChanging(); + this._Alignment = value; + this.SendPropertyChanged("Alignment"); + this.OnAlignmentChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Motorsoloruntest", DbType="NVarChar(50)")] + public string Motorsoloruntest + { + get + { + return this._Motorsoloruntest; + } + set + { + if ((this._Motorsoloruntest != value)) + { + this.OnMotorsoloruntestChanging(value); + this.SendPropertyChanging(); + this._Motorsoloruntest = value; + this.SendPropertyChanged("Motorsoloruntest"); + this.OnMotorsoloruntestChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Standalonetest", DbType="NVarChar(50)")] + public string Standalonetest + { + get + { + return this._Standalonetest; + } + set + { + if ((this._Standalonetest != value)) + { + this.OnStandalonetestChanging(value); + this.SendPropertyChanging(); + this._Standalonetest = value; + this.SendPropertyChanged("Standalonetest"); + this.OnStandalonetestChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -394731,6 +395451,12 @@ namespace Model private System.Nullable _CompleteTime; + private string _Internalinspection; + + private string _InternalsPacking; + + private string _BOXupRecord; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -394755,6 +395481,12 @@ namespace Model partial void OnMechanicalFINALStatusChanged(); partial void OnCompleteTimeChanging(System.Nullable value); partial void OnCompleteTimeChanged(); + partial void OnInternalinspectionChanging(string value); + partial void OnInternalinspectionChanged(); + partial void OnInternalsPackingChanging(string value); + partial void OnInternalsPackingChanged(); + partial void OnBOXupRecordChanging(string value); + partial void OnBOXupRecordChanged(); #endregion public Transfer_StaticEquipment() @@ -394962,6 +395694,66 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Internalinspection", DbType="NVarChar(50)")] + public string Internalinspection + { + get + { + return this._Internalinspection; + } + set + { + if ((this._Internalinspection != value)) + { + this.OnInternalinspectionChanging(value); + this.SendPropertyChanging(); + this._Internalinspection = value; + this.SendPropertyChanged("Internalinspection"); + this.OnInternalinspectionChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InternalsPacking", DbType="NVarChar(50)")] + public string InternalsPacking + { + get + { + return this._InternalsPacking; + } + set + { + if ((this._InternalsPacking != value)) + { + this.OnInternalsPackingChanging(value); + this.SendPropertyChanging(); + this._InternalsPacking = value; + this.SendPropertyChanged("InternalsPacking"); + this.OnInternalsPackingChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BOXupRecord", DbType="NVarChar(50)")] + public string BOXupRecord + { + get + { + return this._BOXupRecord; + } + set + { + if ((this._BOXupRecord != value)) + { + this.OnBOXupRecordChanging(value); + this.SendPropertyChanging(); + this._BOXupRecord = value; + this.SendPropertyChanged("BOXupRecord"); + this.OnBOXupRecordChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged;