diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj
index 66fdf8d6..889cf938 100644
--- a/SGGL/BLL/BLL.csproj
+++ b/SGGL/BLL/BLL.csproj
@@ -342,6 +342,7 @@
+
diff --git a/SGGL/BLL/HJGL/WeldingManage/HJGL_WeldingReportService.cs b/SGGL/BLL/HJGL/WeldingManage/HJGL_WeldingReportService.cs
new file mode 100644
index 00000000..ea1002bc
--- /dev/null
+++ b/SGGL/BLL/HJGL/WeldingManage/HJGL_WeldingReportService.cs
@@ -0,0 +1,166 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Security.Cryptography;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BLL
+{
+ public class HJGL_WeldingReportService
+ {
+ ///
+ /// 根据类型获取总达因数(0总达因,1预制口总达因,2安装口总达因)
+ ///
+ ///
+ /// 0总达因,1预制口总达因,2安装口总达因
+ ///
+ public static decimal GetSumSize(string projectId,int type)
+ {
+ decimal result = 0;
+
+ var getWelds = Funs.DB.HJGL_WeldJoint.Where(x => x.ProjectId == projectId);
+ if (getWelds.Count() > 0)
+ {
+ switch (type)
+ {
+ case 0:
+ result = getWelds.Sum(x => x.Size ?? 0); //项目总达因数
+ break;
+ case 1:
+ if (getWelds.Where(x => x.JointAttribute == "预制口").Count() > 0)
+ {
+ result = getWelds.Where(x => x.JointAttribute == "预制口").Sum(x => x.Size ?? 0);
+ }
+ break;
+ case 2:
+ if (getWelds.Where(x => x.JointAttribute == "安装口").Count() > 0)
+ {
+ result = getWelds.Where(x => x.JointAttribute == "安装口").Sum(x => x.Size ?? 0);
+ }
+ break;
+ }
+
+ }
+
+ return result;
+ }
+ ///
+ /// 工厂预制完成率
+ ///
+ ///
+ ///
+ public static decimal GetGCRate_finished(string projectId)
+ {
+ decimal result = 0;
+ var getWelds = Funs.DB.HJGL_WeldJoint.Where(x => x.ProjectId == projectId);
+ if (getWelds.Count() > 0)
+ {
+
+ var getWeldsOk = getWelds.Where(x => x.WeldingDailyId != null);
+ if (getWeldsOk.Count() > 0)
+ {
+ var GCModel = getWeldsOk.Where(x => x.JointAttribute == "预制口");
+ if (GCModel.Count() > 0)
+ {
+ result = GCModel.Sum(x => x.Size ?? 0);
+
+ }
+
+ }
+ }
+ return result;
+ }
+ ///
+ /// 工厂预制未完成率
+ ///
+ ///
+ ///
+ public static decimal GetGCRate_unfinished(string projectId)
+ {
+ decimal result = 0;
+ result = GetSumSize(projectId, 1) - GetGCRate_finished(projectId);
+ return result;
+ }
+ ///
+ /// 现场安装完成率
+ ///
+ ///
+ ///
+ public static decimal GetXCRate_finished(string projectId)
+ {
+ decimal result = 0;
+ var getWelds = Funs.DB.HJGL_WeldJoint.Where(x => x.ProjectId == projectId);
+ if (getWelds.Count() > 0)
+ {
+
+ var getWeldsOk = getWelds.Where(x => x.WeldingDailyId != null);
+ if (getWeldsOk.Count() > 0)
+ {
+ var GCModel = getWeldsOk.Where(x => x.JointAttribute == "安装口");
+ if (GCModel.Count() > 0)
+ {
+ result = GCModel.Sum(x => x.Size ?? 0);
+
+ }
+
+ }
+ }
+ return result;
+ }
+ ///
+ /// 现场安装未完成率
+ ///
+ ///
+ ///
+ public static decimal GetXCRate_unfinished(string projectId)
+ {
+ decimal result = 0;
+ result = GetSumSize(projectId, 2) - GetXCRate_finished(projectId);
+ return result;
+ }
+ ///
+ /// 管道完成预制率
+ ///
+ ///
+ ///
+ public static decimal GetPipeRate_finished(string projectId)
+ {
+ decimal result = 0;
+ result = GetGCRate_finished(projectId);
+ return result;
+ }
+ ///
+ /// 管道未完成预制率
+ ///
+ ///
+ ///
+ public static decimal GetPipeRate_unfinished(string projectId)
+ {
+ decimal result = 0;
+ result = GetSumSize(projectId, 0) - GetPipeRate_finished(projectId);
+ return result;
+ }
+ public static decimal GetWelderEfficacy(string projectId)
+ {
+ decimal result = 0;
+ var db = Funs.DB;
+ var q = (from x in db.HJGL_WeldJoint
+ join y in db.HJGL_WeldingDaily on x.WeldingDailyId equals y.WeldingDailyId
+ where x.ProjectId ==projectId
+ group x by x.ProjectId into g
+ select new
+ {
+ TotalDin = g.Sum(x => x.Size),
+ worktime = g.Select(x=>x.WeldingDailyId).Distinct().Count(),
+ }) ;
+ foreach (var item in q)
+ {
+ result = decimal.Divide((decimal)item.TotalDin, item.worktime) ;
+
+ }
+
+ return decimal.Truncate(result);
+ }
+ }
+}
diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt
index e69de29b..6298b4d7 100644
--- a/SGGL/FineUIPro.Web/ErrLog.txt
+++ b/SGGL/FineUIPro.Web/ErrLog.txt
@@ -0,0 +1,381 @@
+
+错误信息开始=====>
+错误类型:SqlException
+错误信息:参数化查询 '(@ProjectId nvarchar(4000))select C.*,M.MainItemName,U.UnitName ' 需要参数 '@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) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\BLL\SQLHelper.cs:行号 312
+ 在 FineUIPro.Web.HJGL.PreDesign.Material.ChecklistData() 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\PreDesign\MaterialManage.aspx.cs:行号 82
+ 在 FineUIPro.Web.HJGL.PreDesign.Material.BindGrid() 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\PreDesign\MaterialManage.aspx.cs:行号 44
+ 在 FineUIPro.Web.HJGL.PreDesign.Material.Page_Load(Object sender, EventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\PreDesign\MaterialManage.aspx.cs:行号 35
+ 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
+ 在 System.EventHandler.Invoke(Object sender, EventArgs e)
+ 在 System.Web.UI.Control.OnLoad(EventArgs e)
+ 在 System.Web.UI.Control.LoadRecursive()
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:09/27/2022 16:07:54
+出错文件:http://localhost:8008/HJGL/PreDesign/MaterialManage.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:09/27/2022 16:07:54
+
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 FineUIPro.Web.mainMenu_HJGL.getWeld(String projectId, String unitId)
+ 在 FineUIPro.Web.mainMenu_HJGL.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)
+出错时间:09/27/2022 16:36:23
+出错文件:http://localhost:8008/common/mainMenu_HJGL.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:09/27/2022 16:36:23
+
+
+错误信息开始=====>
+错误类型:SqlException
+错误信息:参数化查询 '(@ProjectId nvarchar(4000))SELECT SUM(TotalFilm) AS TotalFilm, ' 需要参数 '@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) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\BLL\SQLHelper.cs:行号 312
+ 在 FineUIPro.Web.mainMenu_HJGL.getWeld(String projectId, String unitId) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\common\mainMenu_HJGL.aspx.cs:行号 176
+ 在 FineUIPro.Web.mainMenu_HJGL.Page_Load(Object sender, EventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\common\mainMenu_HJGL.aspx.cs:行号 113
+ 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
+ 在 System.EventHandler.Invoke(Object sender, EventArgs e)
+ 在 System.Web.UI.Control.OnLoad(EventArgs e)
+ 在 System.Web.UI.Control.LoadRecursive()
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:09/27/2022 17:13:59
+出错文件:http://localhost:8008/common/mainMenu_HJGL.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:09/27/2022 17:13:59
+
+
+错误信息开始=====>
+错误类型:InvalidOperationException
+错误信息:不能将 Null 值赋给类型为 System.Decimal (不可为 null 的值类型)的成员。
+错误堆栈:
+ 在 System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
+ 在 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
+ 在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
+ 在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
+ 在 System.Linq.Queryable.Sum[TSource](IQueryable`1 source, Expression`1 selector)
+ 在 FineUIPro.Web.mainMenu_HJGL.getrate(String projectId, String unitId) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\common\mainMenu_HJGL.aspx.cs:行号 139
+ 在 FineUIPro.Web.mainMenu_HJGL.Page_Load(Object sender, EventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\common\mainMenu_HJGL.aspx.cs:行号 112
+ 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
+ 在 System.EventHandler.Invoke(Object sender, EventArgs e)
+ 在 System.Web.UI.Control.OnLoad(EventArgs e)
+ 在 System.Web.UI.Control.LoadRecursive()
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:09/27/2022 17:14:18
+出错文件:http://localhost:8008/common/mainMenu_HJGL.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:09/27/2022 17:14:18
+
+
+错误信息开始=====>
+错误类型:InvalidOperationException
+错误信息:不能将 Null 值赋给类型为 System.Decimal (不可为 null 的值类型)的成员。
+错误堆栈:
+ 在 System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
+ 在 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
+ 在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
+ 在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
+ 在 System.Linq.Queryable.Sum[TSource](IQueryable`1 source, Expression`1 selector)
+ 在 FineUIPro.Web.mainMenu_HJGL.getrate(String projectId, String unitId)
+ 在 FineUIPro.Web.mainMenu_HJGL.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)
+出错时间:09/28/2022 11:23:24
+出错文件:http://localhost:8008/common/mainMenu_HJGL.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:09/28/2022 11:23:24
+
+
+错误信息开始=====>
+错误类型:InvalidOperationException
+错误信息:不能将 Null 值赋给类型为 System.Decimal (不可为 null 的值类型)的成员。
+错误堆栈:
+ 在 System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
+ 在 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
+ 在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
+ 在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
+ 在 System.Linq.Queryable.Sum[TSource](IQueryable`1 source, Expression`1 selector)
+ 在 FineUIPro.Web.mainMenu_HJGL.getrate(String projectId, String unitId) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\common\mainMenu_HJGL.aspx.cs:行号 142
+ 在 FineUIPro.Web.mainMenu_HJGL.Page_Load(Object sender, EventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\common\mainMenu_HJGL.aspx.cs:行号 112
+ 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
+ 在 System.EventHandler.Invoke(Object sender, EventArgs e)
+ 在 System.Web.UI.Control.OnLoad(EventArgs e)
+ 在 System.Web.UI.Control.LoadRecursive()
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:09/28/2022 11:27:48
+出错文件:http://localhost:8008/common/mainMenu_HJGL.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:09/28/2022 11:27:48
+
+
+错误信息开始=====>
+错误类型:InvalidOperationException
+错误信息:不能将 Null 值赋给类型为 System.Decimal (不可为 null 的值类型)的成员。
+错误堆栈:
+ 在 System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
+ 在 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
+ 在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
+ 在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
+ 在 System.Linq.Queryable.Sum[TSource](IQueryable`1 source, Expression`1 selector)
+ 在 FineUIPro.Web.mainMenu_HJGL.getrate(String projectId, String unitId) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\common\mainMenu_HJGL.aspx.cs:行号 142
+ 在 FineUIPro.Web.mainMenu_HJGL.Page_Load(Object sender, EventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\common\mainMenu_HJGL.aspx.cs:行号 112
+ 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
+ 在 System.EventHandler.Invoke(Object sender, EventArgs e)
+ 在 System.Web.UI.Control.OnLoad(EventArgs e)
+ 在 System.Web.UI.Control.LoadRecursive()
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:09/28/2022 11:29:14
+出错文件:http://localhost:8008/common/mainMenu_HJGL.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:09/28/2022 11:29:14
+
+
+错误信息开始=====>
+错误类型:InvalidOperationException
+错误信息:可为空的对象必须具有一个值。
+错误堆栈:
+ 在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
+ 在 System.Nullable`1.get_Value()
+ 在 BLL.HJGL_WeldingReportService.GetWelderEfficacy(String projectId) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\BLL\HJGL\WeldingManage\HJGL_WeldingReportService.cs:行号 158
+ 在 FineUIPro.Web.mainMenu_HJGL.Page_Load(Object sender, EventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\common\mainMenu_HJGL.aspx.cs:行号 144
+ 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
+ 在 System.EventHandler.Invoke(Object sender, EventArgs e)
+ 在 System.Web.UI.Control.OnLoad(EventArgs e)
+ 在 System.Web.UI.Control.LoadRecursive()
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:09/29/2022 15:59:00
+出错文件:http://localhost:8008/common/mainMenu_HJGL.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:09/29/2022 15:59:00
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 FineUIPro.Web.mainMenu_HJGL.get_PipeRate1() 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\common\mainMenu_HJGL.aspx.cs:行号 66
+ 在 ASP.common_mainmenu_hjgl_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) 位置 d:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\common\mainMenu_HJGL.aspx:行号 150
+ 在 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
+ 在 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
+ 在 System.Web.UI.Page.Render(HtmlTextWriter writer)
+ 在 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
+ 在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
+ 在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:09/29/2022 16:15:39
+出错文件:http://localhost:8008/common/mainMenu_HJGL.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:09/29/2022 16:15:39
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 FineUIPro.Web.mainMenu_HJGL.get_PipeRate1()
+ 在 ASP.common_mainmenu_hjgl_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) 位置 d:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\common\mainMenu_HJGL.aspx:行号 150
+ 在 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
+ 在 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
+ 在 System.Web.UI.Page.Render(HtmlTextWriter writer)
+ 在 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
+ 在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
+ 在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:09/29/2022 16:16:50
+出错文件:http://localhost:8008/common/mainMenu_HJGL.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:09/29/2022 16:16:50
+
+
+错误信息开始=====>
+错误类型:SqlException
+错误信息:参数化查询 '(@ProjectId nvarchar(4000))SELECT SUM(TotalFilm) AS TotalFilm, ' 需要参数 '@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) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\BLL\SQLHelper.cs:行号 312
+ 在 FineUIPro.Web.mainMenu_HJGL.getWeld(String projectId, String unitId)
+ 在 FineUIPro.Web.mainMenu_HJGL.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)
+出错时间:10/08/2022 14:26:09
+出错文件:http://localhost:8008/common/mainMenu_HJGL.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:10/08/2022 14:26:09
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 (Object )
+ 在 FineUIPro.GridRow.kxpUEMXYxcbykrOznAFBzkoxlAnb()
+ 在 (GridRow )
+ 在 FineUIPro.GridRow.InitTemplateContainers()
+ 在 (GridRow )
+ 在 FineUIPro.Grid.BkpgFeAELTFlAvoTrOBrConfcLJbA(Int32 , Object )
+ 在 (Grid , Int32 , Object )
+ 在 FineUIPro.Grid.CRTRkdQFrrBRFQuCddjZPswlTORP(IEnumerable , Boolean )
+ 在 (Grid , IEnumerable , Boolean )
+ 在 FineUIPro.Grid.DataBind(Boolean keepCurrentData)
+ 在 (Grid , Boolean )
+ 在 FineUIPro.Grid.DataBind()
+ 在 FineUIPro.Web.HJGL.WeldingManage.PipelineListPDMSIn.btnImport_Click(Object sender, EventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\WeldingManage\PipelineListPDMSIn.aspx.cs:行号 744
+ 在 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)
+出错时间:10/08/2022 15:06:24
+出错文件:http://localhost:8008/HJGL/WeldingManage/PipelineListPDMSIn.aspx?UnitWorkId=5c955308-1645-4575-acbf-68dd66c4179a
+IP地址:::1
+操作人员:JT
+
+出错时间:10/08/2022 15:06:24
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 (Object )
+ 在 FineUIPro.GridRow.kxpUEMXYxcbykrOznAFBzkoxlAnb()
+ 在 (GridRow )
+ 在 FineUIPro.GridRow.InitTemplateContainers()
+ 在 (GridRow )
+ 在 FineUIPro.Grid.BkpgFeAELTFlAvoTrOBrConfcLJbA(Int32 , Object )
+ 在 (Grid , Int32 , Object )
+ 在 FineUIPro.Grid.CRTRkdQFrrBRFQuCddjZPswlTORP(IEnumerable , Boolean )
+ 在 (Grid , IEnumerable , Boolean )
+ 在 FineUIPro.Grid.DataBind(Boolean keepCurrentData)
+ 在 (Grid , Boolean )
+ 在 FineUIPro.Grid.DataBind()
+ 在 FineUIPro.Web.HJGL.WeldingManage.PipelineListPDMSIn.btnImport_Click(Object sender, EventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\WeldingManage\PipelineListPDMSIn.aspx.cs:行号 744
+ 在 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)
+出错时间:10/08/2022 15:08:07
+出错文件:http://localhost:8008/HJGL/WeldingManage/PipelineListPDMSIn.aspx?UnitWorkId=5c955308-1645-4575-acbf-68dd66c4179a
+IP地址:::1
+操作人员:JT
+
+出错时间:10/08/2022 15:08:07
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 (Object )
+ 在 FineUIPro.GridRow.kxpUEMXYxcbykrOznAFBzkoxlAnb()
+ 在 (GridRow )
+ 在 FineUIPro.GridRow.InitTemplateContainers()
+ 在 (GridRow )
+ 在 FineUIPro.Grid.BkpgFeAELTFlAvoTrOBrConfcLJbA(Int32 , Object )
+ 在 (Grid , Int32 , Object )
+ 在 FineUIPro.Grid.CRTRkdQFrrBRFQuCddjZPswlTORP(IEnumerable , Boolean )
+ 在 (Grid , IEnumerable , Boolean )
+ 在 FineUIPro.Grid.DataBind(Boolean keepCurrentData)
+ 在 (Grid , Boolean )
+ 在 FineUIPro.Grid.DataBind()
+ 在 FineUIPro.Web.HJGL.WeldingManage.PipelineListPDMSIn.btnImport_Click(Object sender, EventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin_new\SGGL\FineUIPro.Web\HJGL\WeldingManage\PipelineListPDMSIn.aspx.cs:行号 744
+ 在 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)
+出错时间:10/08/2022 15:12:38
+出错文件:http://localhost:8008/HJGL/WeldingManage/PipelineListPDMSIn.aspx?UnitWorkId=5c955308-1645-4575-acbf-68dd66c4179a
+IP地址:::1
+操作人员:JT
+
+出错时间:10/08/2022 15:12:38
+
diff --git a/SGGL/FineUIPro.Web/File/Fastreport/组件打印.frx b/SGGL/FineUIPro.Web/File/Fastreport/组件打印.frx
index 0aa27f8e..734cba38 100644
--- a/SGGL/FineUIPro.Web/File/Fastreport/组件打印.frx
+++ b/SGGL/FineUIPro.Web/File/Fastreport/组件打印.frx
@@ -1,5 +1,5 @@
-
+
using System;
using System.Collections;
using System.Collections.Generic;
@@ -99,7 +99,7 @@ namespace FastReport
}
-
+
@@ -112,6 +112,7 @@ namespace FastReport
+
@@ -144,42 +145,53 @@ namespace FastReport
-
-
+
+
+
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
+
+
-
+
+
-
+
+
-
+
diff --git a/SGGL/FineUIPro.Web/File/Fastreport/装箱单.frx b/SGGL/FineUIPro.Web/File/Fastreport/装箱单.frx
index bd9aa95b..667e510b 100644
--- a/SGGL/FineUIPro.Web/File/Fastreport/装箱单.frx
+++ b/SGGL/FineUIPro.Web/File/Fastreport/装箱单.frx
@@ -1,5 +1,5 @@
-
+
using System;
using System.Collections;
using System.Collections.Generic;
@@ -42,7 +42,7 @@ namespace FastReport
}
-
+
diff --git a/SGGL/FineUIPro.Web/HJGL/PreDesign/PrePipeline.aspx.cs b/SGGL/FineUIPro.Web/HJGL/PreDesign/PrePipeline.aspx.cs
index f73ef6ef..4621d510 100644
--- a/SGGL/FineUIPro.Web/HJGL/PreDesign/PrePipeline.aspx.cs
+++ b/SGGL/FineUIPro.Web/HJGL/PreDesign/PrePipeline.aspx.cs
@@ -258,15 +258,16 @@ namespace FineUIPro.Web.HJGL.PreDesign
{
BLL.FastReportService.ResetData();
- string strSql = @" SELECT com.PipelineComponentId,com.PipelineComponentCode,com.BoxNumber,
+ string strSql = @" SELECT com.PipelineComponentId,com.PipelineComponentCode,com.BoxNumber,
com.PipelineId, punit.UnitName AS PreUnit,aunit.UnitName AS AssembleUnit,mat.PrefabricatedComponents,
- com.QRCode,com.State,pipe.PlanStartDate,pipe.PipelineCode
+ com.QRCode,com.State,CONVERT(varchar(100), pipe.PlanStartDate, 23) as PlanStartDate,pipe.PipelineCode,
+ ('PrePipeline$'+com.PipelineComponentId )as QRCode2
FROM HJGL_Pipeline_Component com
LEFT JOIN HJGL_PipeLineMat mat ON mat.PipeLineMatId=com.PipeLineMatId
LEFT JOIN HJGL_Pipeline pipe ON pipe.PipelineId =com.PipelineId
LEFT JOIN dbo.Base_Unit punit ON punit.UnitId=com.PreUnit
LEFT JOIN dbo.Base_Unit aunit ON aunit.UnitId=com.AssembleUnit
- WHERE com.QRCode!='' ";
+ WHERE com.QRCode!=''";
List listStr = new List { };
strSql += " AND com.PipelineId =@PipelineId";
diff --git a/SGGL/FineUIPro.Web/HJGL/WeldingManage/PipelineListPDMSIn.aspx b/SGGL/FineUIPro.Web/HJGL/WeldingManage/PipelineListPDMSIn.aspx
index 432baf4f..057b082b 100644
--- a/SGGL/FineUIPro.Web/HJGL/WeldingManage/PipelineListPDMSIn.aspx
+++ b/SGGL/FineUIPro.Web/HJGL/WeldingManage/PipelineListPDMSIn.aspx
@@ -56,8 +56,8 @@
diff --git a/SGGL/FineUIPro.Web/HJGL/WeldingManage/PipelineListPDMSIn.aspx.cs b/SGGL/FineUIPro.Web/HJGL/WeldingManage/PipelineListPDMSIn.aspx.cs
index 6224e2dd..e7af2d3f 100644
--- a/SGGL/FineUIPro.Web/HJGL/WeldingManage/PipelineListPDMSIn.aspx.cs
+++ b/SGGL/FineUIPro.Web/HJGL/WeldingManage/PipelineListPDMSIn.aspx.cs
@@ -727,7 +727,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
///
protected void btnImport_Click(object sender, EventArgs e)
{
- if (State != (int)ButtonState.Check)
+ if (State != (int)ButtonState.Import)
{
ShowNotify("请先审核");
return;
diff --git a/SGGL/FineUIPro.Web/common/mainMenu_HJGL.aspx b/SGGL/FineUIPro.Web/common/mainMenu_HJGL.aspx
index 8b811529..43fc25b7 100644
--- a/SGGL/FineUIPro.Web/common/mainMenu_HJGL.aspx
+++ b/SGGL/FineUIPro.Web/common/mainMenu_HJGL.aspx
@@ -33,7 +33,24 @@
+<%-- --%>
+ <%--
@@ -108,6 +127,7 @@
@@ -116,16 +136,42 @@