From 87582b0fa5eb038d6d51db1bc7ba0d2e90209ad8 Mon Sep 17 00:00:00 2001 From: yhw0507 Date: Thu, 22 Sep 2022 14:28:47 +0800 Subject: [PATCH] =?UTF-8?q?20220922=201=E3=80=81=E7=84=8A=E5=B7=A5?= =?UTF-8?q?=E4=B8=9A=E7=BB=A9=E5=AD=98=E5=82=A8=E8=BF=87=E7=A8=8B=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E3=80=822=E3=80=81=E4=BA=BA=E5=91=98=E5=BA=93?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E5=9C=A8=E5=B2=97=E7=A9=BA=E6=97=B6=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E3=80=823=E3=80=81=E5=90=88=E5=90=8C=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E5=AE=A1=E6=89=B9=E9=A1=B5=E9=80=89=E6=8B=A9=E6=A1=86?= =?UTF-8?q?=E4=BA=BA=E5=91=98=E5=8A=A0=E8=BD=BD=E9=97=AE=E9=A2=98=E3=80=82?= =?UTF-8?q?4=E3=80=81=E5=B0=8F=E7=A8=8B=E5=BA=8F=E8=AE=A2=E9=98=85?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E6=A3=80=E6=9F=A5=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DataBase/版本日志/SGGLDB_V2022-09-22.sql | 116 +++++++++++++ .../版本日志/SGGLDB_V2022-09-22修改明细.txt | 10 ++ .../{ => 已更新脚本}/SGGLDB_V2022-09-16.sql | 0 .../SGGLDB_V2022-09-16修改明细.txt | 0 .../{ => 已更新脚本}/SGGLDB_V2022-09-18.sql | 0 .../SGGLDB_V2022-09-18修改明细.txt | 0 .../SGGLDB_V2022-09-19修改明细.txt | 0 SGGL/BLL/Person/Person_PersonsService.cs | 4 +- SGGL/FineUIPro.Web/ErrLog.txt | 160 ------------------ .../PipePrefabricationRateStatistics.aspx | 3 +- SGGL/FineUIPro.Web/Person/PersonEdit.aspx.cs | 2 +- 11 files changed, 131 insertions(+), 164 deletions(-) create mode 100644 DataBase/版本日志/SGGLDB_V2022-09-22.sql create mode 100644 DataBase/版本日志/SGGLDB_V2022-09-22修改明细.txt rename DataBase/版本日志/{ => 已更新脚本}/SGGLDB_V2022-09-16.sql (100%) rename DataBase/版本日志/{ => 已更新脚本}/SGGLDB_V2022-09-16修改明细.txt (100%) rename DataBase/版本日志/{ => 已更新脚本}/SGGLDB_V2022-09-18.sql (100%) rename DataBase/版本日志/{ => 已更新脚本}/SGGLDB_V2022-09-18修改明细.txt (100%) rename DataBase/版本日志/{ => 已更新脚本}/SGGLDB_V2022-09-19修改明细.txt (100%) diff --git a/DataBase/版本日志/SGGLDB_V2022-09-22.sql b/DataBase/版本日志/SGGLDB_V2022-09-22.sql new file mode 100644 index 00000000..1f3cc674 --- /dev/null +++ b/DataBase/版本日志/SGGLDB_V2022-09-22.sql @@ -0,0 +1,116 @@ +--ҵ +ALTER PROC [dbo].[sp_rpt_WelderPerformance] + @unitcode NVARCHAR(50) = NULL, + @UnitWorkId NVARCHAR(50) = NULL, + @steel NVARCHAR(50) = NULL, + @wloName NVARCHAR(50) = NULL, + @date1 DATETIME = NULL, + @date2 DATETIME = NULL, + @projectId NVARCHAR(50) = NULL + +AS +/*ҵ*/ + +SELECT + welder.ProjectId, + welder.WelderCode,-- + welder.PersonName,-- + (CASE WHEN Persons.Sex ='2' THEN 'Ů' ELSE '' END) AS Sex, --Ա + -------------start + CAST(ISNULL(nowtotal_din.nowtotal_din,0) AS DECIMAL(19,2)) AS nowtotal_din, --ֵܴ + ISNULL(nowtotal_din.nowtotal_jot,0) AS nowtotal_jot, --ܺ + ISNULL(nowtotal_Rt.Rt_JotNum,0) AS rt_total_Jot, -- RT + ISNULL(nowtotal_repairjot.nowtotal_repairjot,0) AS nowtotal_repairjot, -- RT޺ + CONVERT(NVARCHAR(10),(CAST((CASE ISNULL(nowtotal_Rt.Rt_JotNum,0) WHEN 0 THEN 0 + ELSE 100.0 * ISNULL(nowtotal_repairjot.nowtotal_repairjot,0)/(1.0 * nowtotal_Rt.Rt_JotNum) END) AS DECIMAL(8,1))))+'%' AS nowrepairrate, -- RTʣڣ + + ISNULL(nowtotalfilm.nowtotalfilm,0) AS nowtotalfilm, --RTƬ + ISNULL(nowtotalfilm.nopassfilm,0) AS nopassfilm, --RTϸƬ + CONVERT(NVARCHAR(10),(CAST((CASE ISNULL(nowtotalfilm.nowtotalfilm,0) WHEN 0 THEN 0 + ELSE 100.0 * ISNULL(nowtotalfilm.nopassfilm,0)/(1.0 * nowtotalfilm.nowtotalfilm) END) AS DECIMAL(8,1))))+'%' + AS nopassfilmrate , ---RTʣƬ + teamGroup.TeamGroupName AS education, --ڰ + welder.States +FROM SitePerson_Person AS welder +LEFT JOIN Person_Persons AS Persons ON welder.PersonId =Persons.PersonId +left join ProjectData_TeamGroup as teamGroup on teamGroup.TeamGroupId=welder.TeamGroupId + --ֵܴ --ܺ +LEFT JOIN (SELECT SUM(jot.Size) AS nowtotal_din + ,COUNT(*) AS nowtotal_jot + ,jot.CoverWelderId + FROM dbo.HJGL_WeldJoint jot + LEFT JOIN dbo.HJGL_Pipeline pipe ON pipe.PipelineId = jot.PipelineId + LEFT JOIN dbo.HJGL_WeldingDaily daily ON daily.WeldingDailyId = jot.WeldingDailyId + LEFT JOIN WBS_UnitWork UnitWork ON UnitWork.UnitWorkId = pipe.UnitWorkId + WHERE jot.WeldingDailyId IS NOT NULL + AND (daily.WeldingDate >= @date1 OR @date1 IS NULL) AND (daily.WeldingDate <= @date2 OR @date2 IS NULL) + AND (pipe.UnitWorkId =@UnitWorkId OR @UnitWorkId IS NULL) + AND (jot.Material1Id=@steel OR @steel IS NULL) + GROUP BY jot.CoverWelderId) AS nowtotal_din ON nowtotal_din.CoverWelderId = welder.PersonId + +--Rt +LEFT JOIN (SELECT COUNT(pointItem.PointBatchItemId) AS Rt_JotNum --RT + ,jot.CoverWelderId + FROM dbo.HJGL_Batch_PointBatchItem pointItem + LEFT JOIN dbo.HJGL_WeldJoint jot ON jot.WeldJointId = pointItem.WeldJointId + LEFT JOIN dbo.HJGL_Batch_PointBatch point ON point.PointBatchId = pointItem.PointBatchId + LEFT JOIN Base_DetectionType ndeType ON ndeType.DetectionTypeId = point.DetectionTypeId + LEFT JOIN dbo.HJGL_Pipeline pipe ON pipe.PipelineId = jot.PipelineId + LEFT JOIN dbo.HJGL_WeldingDaily daily ON daily.WeldingDailyId = jot.WeldingDailyId + WHERE pointItem.PointDate IS NOT NULL + AND ndeType.DetectionTypeCode='RT' --ʾRT + AND (daily.WeldingDate >= @date1 OR @date1 IS NULL) + AND (daily.WeldingDate <= @date2 OR @date2 IS NULL) + AND (pipe.UnitWorkId =@UnitWorkId OR @UnitWorkId IS NULL) + AND (jot.Material1Id=@steel OR @steel IS NULL) + GROUP BY jot.CoverWelderId) AS nowtotal_Rt ON nowtotal_Rt.CoverWelderId = welder.PersonId + -- RT +LEFT JOIN (SELECT COUNT(pointItem.PointBatchItemId) AS nowtotal_repairjot --޿ + ,jot.CoverWelderId + FROM dbo.HJGL_Batch_PointBatchItem pointItem + LEFT JOIN dbo.HJGL_WeldJoint jot ON jot.WeldJointId = pointItem.WeldJointId + LEFT JOIN dbo.HJGL_Batch_PointBatch point ON point.PointBatchId = pointItem.PointBatchId + LEFT JOIN Base_DetectionType ndeType ON ndeType.DetectionTypeId = point.DetectionTypeId + LEFT JOIN dbo.HJGL_Pipeline pipe ON pipe.PipelineId = jot.PipelineId + LEFT JOIN dbo.HJGL_WeldingDaily daily ON daily.WeldingDailyId = jot.WeldingDailyId + LEFT JOIN dbo.HJGL_Batch_BatchTrustItem trustItem ON trustItem.PointBatchItemId = pointItem.PointBatchItemId + LEFT JOIN dbo.HJGL_Batch_NDEItem ndeItem ON ndeItem.TrustBatchItemId = trustItem.TrustBatchItemId + WHERE pointItem.PointDate IS NOT NULL + AND ndeType.DetectionTypeCode='RT' --ʾRT + AND ndeItem.CheckResult='2' + AND (daily.WeldingDate >= @date1 OR @date1 IS NULL) + AND (daily.WeldingDate <= @date2 OR @date2 IS NULL) + AND (pipe.UnitWorkId =@UnitWorkId OR @UnitWorkId IS NULL) + AND (jot.Material1Id=@steel OR @steel IS NULL) + GROUP BY jot.CoverWelderId) AS nowtotal_repairjot ON nowtotal_repairjot.CoverWelderId = welder.PersonId + +--RTƬ +LEFT JOIN (SELECT SUM(ndeItem.TotalFilm) AS nowtotalfilm + ,SUM(ndeItem.PassFilm) AS nowpassfilm + ,SUM(ndeItem.TotalFilm-ndeItem.PassFilm) AS nopassfilm, + jot.CoverWelderId + FROM dbo.HJGL_Batch_NDEItem ndeItem + LEFT JOIN dbo.HJGL_Batch_BatchTrustItem trustItem ON trustItem.TrustBatchItemId = ndeItem.TrustBatchItemId + LEFT JOIN dbo.HJGL_Batch_PointBatchItem pointItem ON pointItem.PointBatchItemId = trustItem.PointBatchItemId + LEFT JOIN dbo.HJGL_Batch_PointBatch point ON point.PointBatchId = pointItem.PointBatchId + LEFT JOIN Base_DetectionType ndeType ON ndeType.DetectionTypeId = point.DetectionTypeId + LEFT JOIN dbo.HJGL_WeldJoint jot ON jot.WeldJointId = pointItem.WeldJointId + LEFT JOIN dbo.HJGL_WeldingDaily daily ON daily.WeldingDailyId = jot.WeldingDailyId + WHERE ndeType.DetectionTypeCode='RT' + AND ndeItem.CheckResult IS NOT NULL --ʾм + AND jot.WeldingDailyId IS NOT NULL + AND (point.UnitWorkId=@UnitWorkId OR @UnitWorkId IS NULL) + AND (jot.Material1Id=@steel OR @steel IS NULL) + AND (daily.WeldingDate >= @date1 OR @date1 IS NULL) AND (daily.WeldingDate <= @date2 OR @date2 IS NULL) + GROUP BY jot.CoverWelderId) AS nowtotalfilm ON nowtotalfilm.CoverWelderId = welder.PersonId + +WHERE (welder.WelderCode IS NOT NULL AND welder.WelderCode!='') AND +(welder.ProjectId = @projectId OR @projectId IS NULL) +AND (welder.UnitId=@unitcode OR @unitcode IS NULL) +AND (welder.WorkPostId='19B8F2A9-28D3-4F20-867A-1B2237C2E228') +AND (welder.PersonId=@wloName OR @wloname IS NULL) +ORDER BY welder.WelderCode + +GO + + diff --git a/DataBase/版本日志/SGGLDB_V2022-09-22修改明细.txt b/DataBase/版本日志/SGGLDB_V2022-09-22修改明细.txt new file mode 100644 index 00000000..5ac896ca --- /dev/null +++ b/DataBase/版本日志/SGGLDB_V2022-09-22修改明细.txt @@ -0,0 +1,10 @@ + +--ADD BY YangHongwei 2022-09-22 +1、焊工业绩存储过程修改。 +2、人员库是否在岗空时报错。 +3、合同流程审批页选择框人员加载问题。 +4、小程序订阅推送检查。 +--END + + + diff --git a/DataBase/版本日志/SGGLDB_V2022-09-16.sql b/DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-16.sql similarity index 100% rename from DataBase/版本日志/SGGLDB_V2022-09-16.sql rename to DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-16.sql diff --git a/DataBase/版本日志/SGGLDB_V2022-09-16修改明细.txt b/DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-16修改明细.txt similarity index 100% rename from DataBase/版本日志/SGGLDB_V2022-09-16修改明细.txt rename to DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-16修改明细.txt diff --git a/DataBase/版本日志/SGGLDB_V2022-09-18.sql b/DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-18.sql similarity index 100% rename from DataBase/版本日志/SGGLDB_V2022-09-18.sql rename to DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-18.sql diff --git a/DataBase/版本日志/SGGLDB_V2022-09-18修改明细.txt b/DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-18修改明细.txt similarity index 100% rename from DataBase/版本日志/SGGLDB_V2022-09-18修改明细.txt rename to DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-18修改明细.txt diff --git a/DataBase/版本日志/SGGLDB_V2022-09-19修改明细.txt b/DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-19修改明细.txt similarity index 100% rename from DataBase/版本日志/SGGLDB_V2022-09-19修改明细.txt rename to DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-19修改明细.txt diff --git a/SGGL/BLL/Person/Person_PersonsService.cs b/SGGL/BLL/Person/Person_PersonsService.cs index 4652ba16..d042a35c 100644 --- a/SGGL/BLL/Person/Person_PersonsService.cs +++ b/SGGL/BLL/Person/Person_PersonsService.cs @@ -596,7 +596,7 @@ namespace BLL ForeignLanguage = person.ForeignLanguage, CountryCode = person.CountryCode, ProvinceCode = person.ProvinceCode, - IsPost = person.IsPost, + IsPost = person.IsPost ?? true, Graduate = person.Graduate, Major = person.Major, IntoDate = person.IntoDate, @@ -689,7 +689,7 @@ namespace BLL newPerson.ForeignLanguage = person.ForeignLanguage; newPerson.CountryCode = person.CountryCode; newPerson.ProvinceCode = person.ProvinceCode; - newPerson.IsPost = person.IsPost; + newPerson.IsPost = person.IsPost ?? true; newPerson.Graduate = person.Graduate; newPerson.Major = person.Major; newPerson.IntoDate = person.IntoDate; diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt index 9fc6f434..e69de29b 100644 --- a/SGGL/FineUIPro.Web/ErrLog.txt +++ b/SGGL/FineUIPro.Web/ErrLog.txt @@ -1,160 +0,0 @@ - -错误信息开始=====> -错误类型:SqlException -错误信息:列名 'Sex' 无效。 -列名 'IsUsed' 无效。 -错误堆栈: - 在 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.GetDataTableRunProc(String storedProcName, SqlParameter[] parameters) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\BLL\SQLHelper.cs:行号 277 - 在 FineUIPro.Web.HJGL.WeldingReport.WelderPerformance.BindGrid() 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\WeldingReport\WelderPerformance.aspx.cs:行号 90 - 在 FineUIPro.Web.HJGL.WeldingReport.WelderPerformance.BtnAnalyse_Click(Object sender, EventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\WeldingReport\WelderPerformance.aspx.cs:行号 137 - 在 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) -出错时间:09/08/2022 19:56:26 -出错文件:http://localhost:8008/HJGL/WeldingReport/WelderPerformance.aspx -IP地址:::1 -操作人员:JT - -出错时间:09/08/2022 19:56:26 - - -错误信息开始=====> -错误类型:SqlException -错误信息:列名 'Sex' 无效。 -列名 'IsUsed' 无效。 -错误堆栈: - 在 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.GetDataTableRunProc(String storedProcName, SqlParameter[] parameters) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\BLL\SQLHelper.cs:行号 277 - 在 FineUIPro.Web.HJGL.WeldingReport.WelderPerformance.BindGrid() 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\WeldingReport\WelderPerformance.aspx.cs:行号 90 - 在 FineUIPro.Web.HJGL.WeldingReport.WelderPerformance.BtnAnalyse_Click(Object sender, EventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\WeldingReport\WelderPerformance.aspx.cs:行号 137 - 在 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) -出错时间:09/08/2022 19:57:31 -出错文件:http://localhost:8008/HJGL/WeldingReport/WelderPerformance.aspx -IP地址:::1 -操作人员:JT - -出错时间:09/08/2022 19:57:31 - - -错误信息开始=====> -错误类型:SqlException -错误信息:列名 'Sex' 无效。 -列名 'IsUsed' 无效。 -错误堆栈: - 在 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.GetDataTableRunProc(String storedProcName, SqlParameter[] parameters) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\BLL\SQLHelper.cs:行号 277 - 在 FineUIPro.Web.HJGL.WeldingReport.WelderPerformance.BindGrid() 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\WeldingReport\WelderPerformance.aspx.cs:行号 90 - 在 FineUIPro.Web.HJGL.WeldingReport.WelderPerformance.BtnAnalyse_Click(Object sender, EventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\WeldingReport\WelderPerformance.aspx.cs:行号 137 - 在 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) -出错时间:09/08/2022 19:57:53 -出错文件:http://localhost:8008/HJGL/WeldingReport/WelderPerformance.aspx -IP地址:::1 -操作人员:JT - -出错时间:09/08/2022 19:57:53 - - -错误信息开始=====> -错误类型:ChangeConflictException -错误信息:2 的 1 更新失败。 -错误堆栈: - 在 System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) - 在 System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) - 在 System.Data.Linq.DataContext.SubmitChanges() - 在 BLL.ContractService.UpdateContract(PHTGL_Contract contract) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\BLL\PHTGL\ContractCompile\ContractService.cs:行号 177 - 在 FineUIPro.Web.PHTGL.ContractCompile.ContractFormationEdit.btnSave_Tab1_Click(Object sender, EventArgs e) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\PHTGL\ContractCompile\ContractFormationEdit.aspx.cs:行号 564 - 在 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) -出错时间:09/13/2022 10:46:27 -出错文件:http://localhost:8008/PHTGL/ContractCompile/ContractFormationEdit.aspx?ContractId=60594f33-0093-416f-afbf-a7c1bac3170c -IP地址:::1 -操作人员:JT - -出错时间:09/13/2022 10:46:27 - - -错误信息开始=====> -错误类型:HttpCompileException -错误信息:e:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\Person\DepartPersonShowColumn.aspx(20): error CS1061: “ASP.person_departpersonshowcolumn_aspx”不包含“btSearch_Click”的定义,并且找不到可接受类型为“ASP.person_departpersonshowcolumn_aspx”的第一个参数的扩展方法“btSearch_Click”(是否缺少 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) -出错时间:09/20/2022 11:07:49 -出错文件:http://localhost:8008/Person/DepartPersonShowColumn.aspx -IP地址:::1 - -出错时间:09/20/2022 11:07:49 - diff --git a/SGGL/FineUIPro.Web/HJGL/WeldingReport/PipePrefabricationRateStatistics.aspx b/SGGL/FineUIPro.Web/HJGL/WeldingReport/PipePrefabricationRateStatistics.aspx index 111694d6..d751e65e 100644 --- a/SGGL/FineUIPro.Web/HJGL/WeldingReport/PipePrefabricationRateStatistics.aspx +++ b/SGGL/FineUIPro.Web/HJGL/WeldingReport/PipePrefabricationRateStatistics.aspx @@ -31,7 +31,8 @@ - + diff --git a/SGGL/FineUIPro.Web/Person/PersonEdit.aspx.cs b/SGGL/FineUIPro.Web/Person/PersonEdit.aspx.cs index 9bdd1563..4e0ec9dc 100644 --- a/SGGL/FineUIPro.Web/Person/PersonEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/Person/PersonEdit.aspx.cs @@ -76,7 +76,7 @@ namespace FineUIPro.Web.Person this.txtPersonName.Text = person.PersonName; this.txtJobNum.Text = person.JobNum; this.drpUnit.SelectedValue = person.UnitId; - this.ckIsPost.Checked = person.IsPost.Value; + this.ckIsPost.Checked = person.IsPost ?? true; if (!string.IsNullOrEmpty(person.DepartId)) { this.drpDepart.SelectedValue = person.DepartId;