20230220危险源辨识新增页面明细项不呈现问题处理

This commit is contained in:
杨红卫 2023-02-20 09:57:33 +08:00
parent 74a415d211
commit c3e1045d40
4 changed files with 5 additions and 87 deletions

View File

@ -1,82 +0,0 @@
System.InvalidOperationException: 可为空的对象必须具有一个值。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Nullable`1.get_Value()
在 BLL.HJGL_MaterialService.isInStockByPipeline(String pipelineid, String projectid) 位置 D:\诺必达\赛鼎\SGGL_SeDin\SGGL\BLL\HJGL\PreDesign\HJGL_MaterialService.cs:行号 284
System.InvalidOperationException: 可为空的对象必须具有一个值。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Nullable`1.get_Value()
在 BLL.HJGL_MaterialService.isInStockByPipeline(String pipelineid, String projectid) 位置 D:\诺必达\赛鼎\SGGL_SeDin\SGGL\BLL\HJGL\PreDesign\HJGL_MaterialService.cs:行号 284
System.InvalidOperationException: 可为空的对象必须具有一个值。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Nullable`1.get_Value()
在 BLL.HJGL_MaterialService.isInStockByPipeline(String pipelineid, String projectid) 位置 D:\诺必达\赛鼎\SGGL_SeDin\SGGL\BLL\HJGL\PreDesign\HJGL_MaterialService.cs:行号 284
System.InvalidOperationException: 可为空的对象必须具有一个值。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Nullable`1.get_Value()
在 BLL.HJGL_MaterialService.isInStockByPipeline(String pipelineid, String projectid) 位置 D:\诺必达\赛鼎\SGGL_SeDin\SGGL\BLL\HJGL\PreDesign\HJGL_MaterialService.cs:行号 284
System.InvalidOperationException: 可为空的对象必须具有一个值。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Nullable`1.get_Value()
在 BLL.HJGL_MaterialService.isInStockByPipeline(String pipelineid, String projectid) 位置 D:\诺必达\赛鼎\SGGL_SeDin\SGGL\BLL\HJGL\PreDesign\HJGL_MaterialService.cs:行号 284
System.InvalidOperationException: 可为空的对象必须具有一个值。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Nullable`1.get_Value()
在 BLL.HJGL_MaterialService.isInStockByPipeline(String pipelineid, String projectid) 位置 D:\诺必达\赛鼎\SGGL_SeDin\SGGL\BLL\HJGL\PreDesign\HJGL_MaterialService.cs:行号 284
System.InvalidOperationException: 可为空的对象必须具有一个值。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Nullable`1.get_Value()
在 BLL.HJGL_MaterialService.isInStockByPipeline(String pipelineid, String projectid) 位置 D:\诺必达\赛鼎\SGGL_SeDin\SGGL\BLL\HJGL\PreDesign\HJGL_MaterialService.cs:行号 284
System.InvalidOperationException: 可为空的对象必须具有一个值。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Nullable`1.get_Value()
在 BLL.HJGL_MaterialService.isInStockByPipeline(String pipelineid, String projectid) 位置 D:\诺必达\赛鼎\SGGL_SeDin\SGGL\BLL\HJGL\PreDesign\HJGL_MaterialService.cs:行号 284
System.InvalidOperationException: 可为空的对象必须具有一个值。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Nullable`1.get_Value()
在 BLL.HJGL_MaterialService.isInStockByPipeline(String pipelineid, String projectid) 位置 D:\诺必达\赛鼎\SGGL_SeDin\SGGL\BLL\HJGL\PreDesign\HJGL_MaterialService.cs:行号 284
System.InvalidOperationException: 可为空的对象必须具有一个值。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Nullable`1.get_Value()
在 BLL.HJGL_MaterialService.isInStockByPipeline(String pipelineid, String projectid) 位置 D:\诺必达\赛鼎\SGGL_SeDin\SGGL\BLL\HJGL\PreDesign\HJGL_MaterialService.cs:行号 284
System.InvalidOperationException: 可为空的对象必须具有一个值。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Nullable`1.get_Value()
在 BLL.HJGL_MaterialService.isInStockByPipeline(String pipelineid, String projectid) 位置 D:\诺必达\赛鼎\SGGL_SeDin\SGGL\BLL\HJGL\PreDesign\HJGL_MaterialService.cs:行号 284
System.InvalidOperationException: 可为空的对象必须具有一个值。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Nullable`1.get_Value()
在 BLL.HJGL_MaterialService.isInStockByPipeline(String pipelineid, String projectid) 位置 D:\诺必达\赛鼎\SGGL_SeDin\SGGL\BLL\HJGL\PreDesign\HJGL_MaterialService.cs:行号 284
错误信息开始=====>
错误类型:FormatException
错误信息:输入字符串的格式不正确。
错误堆栈:
在 System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
在 System.String.System.IConvertible.ToDouble(IFormatProvider provider)
在 System.Convert.ToDouble(Object value)
在 FineUIPro.RenderField.VQscVYXUOqxsrrrlgEYaXHIhTAZB(GridRow )
在 (GridColumn , GridRow )
在 FineUIPro.GridRow.BkpgFeAELTFlAvoTrOBrConfcLJbA()
在 (GridRow )
在 FineUIPro.Grid.BkpgFeAELTFlAvoTrOBrConfcLJbA(Int32 , Object )
在 (Grid , Int32 , Object )
在 FineUIPro.Grid.LDChsdiaqdhUTcxBcQPMKyQFfjEDB(DataTable , Boolean )
在 (Grid , DataTable , Boolean )
在 FineUIPro.Grid.DataBind(Boolean keepCurrentData)
在 (Grid , Boolean )
在 FineUIPro.Grid.DataBind()
在 FineUIPro.Web.HJGL.WeldingManage.SelectTaskWeldJoint.BindGrid() 位置 D:\诺必达\赛鼎\SGGL_SeDin\SGGL\FineUIPro.Web\HJGL\WeldingManage\SelectTaskWeldJoint.aspx.cs:行号 339
在 FineUIPro.Web.HJGL.WeldingManage.SelectTaskWeldJoint.tvControlItem_NodeCommand(Object sender, TreeCommandEventArgs e) 位置 D:\诺必达\赛鼎\SGGL_SeDin\SGGL\FineUIPro.Web\HJGL\WeldingManage\SelectTaskWeldJoint.aspx.cs:行号 296
在 FineUIPro.Tree.OnNodeCommand(TreeCommandEventArgs e)
在 (Tree , TreeCommandEventArgs )
在 FineUIPro.Tree.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)
出错时间:02/17/2023 15:15:39
出错文件:http://localhost:4909/HJGL/WeldingManage/SelectTaskWeldJoint.aspx?strList=51f17d4a-92b5-4bbc-8935-fa0fced13bcb%7C1af885ff-b778-46c6-a13d-a21b304ac835%7C2022-12-01
IP地址:::1
操作人员:JT
出错时间:02/17/2023 15:15:39

View File

@ -12804,7 +12804,7 @@
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>0</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:4909/</IISUrl>
<IISUrl>http://localhost:8899/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>

View File

@ -256,11 +256,11 @@ namespace FineUIPro.Web.HSSE.Hazard
}
string strSql = @"SELECT H.HazardId,T.HazardListTypeId,T.HazardListTypeCode,T.HazardListTypeName,H.HazardCode,H.HazardItems,H.DefectsType,"
+ @" H.MayLeadAccidents,H.HelperMethod,H.HazardJudge_L,H.HazardJudge_E,H.HazardJudge_C,H.HazardJudge_D,Const0007.ConstText AS HazardLevel,"
+ @" H.ControlMeasures,H.CompileMan,H.CompileDate,H.AuditMan,H.AuditDate,H.IsPass,U.PersonName AS CompileManName,UR.UserName AS AuditManName"
+ @" H.ControlMeasures,H.CompileMan,H.CompileDate,H.AuditMan,H.AuditDate,H.IsPass,U.PersonName AS CompileManName,UR.PersonName AS AuditManName"
+ @" FROM Technique_HazardList AS H"
+ @" LEFT JOIN Technique_HazardListType AS T ON T.HazardListTypeId = H.HazardListTypeId"
+ @" LEFT JOIN Person_Persons AS U ON U.PersonId = H.CompileMan"
+ @" LEFT JOIN Person_Persons AS UR ON UR.UserId = H.AuditMan"
+ @" LEFT JOIN Person_Persons AS UR ON UR.PersonId = H.AuditMan"
+ @" LEFT JOIN Sys_Const AS Const0007 ON Const0007.ConstValue = H.HazardLevel and Const0007.GroupId = '" + ConstValue.Group_0007 + "'"
+ @" WHERE T.HazardListTypeId = @HazardListTypeId ";
List<SqlParameter> listStr = new List<SqlParameter>

View File

@ -100,11 +100,11 @@ namespace FineUIPro.Web.HSSE.Hazard
{
string strSql = @"SELECT H.HazardId,T.HazardListTypeId,T.HazardListTypeCode,T.HazardListTypeName,H.HazardCode,H.HazardItems,H.DefectsType,"
+ @" H.MayLeadAccidents,H.HelperMethod,H.HazardJudge_L,H.HazardJudge_E,H.HazardJudge_C,H.HazardJudge_D,Const0007.ConstText AS HazardLevel,"
+ @" H.ControlMeasures,H.CompileMan,H.CompileDate,H.AuditMan,H.AuditDate,H.IsPass,U.PersonName AS CompileManName,UR.UserName AS AuditManName"
+ @" H.ControlMeasures,H.CompileMan,H.CompileDate,H.AuditMan,H.AuditDate,H.IsPass,U.PersonName AS CompileManName,UR.PersonName AS AuditManName"
+ @" FROM Technique_HazardList AS H"
+ @" LEFT JOIN Technique_HazardListType AS T ON T.HazardListTypeId = H.HazardListTypeId"
+ @" LEFT JOIN Person_Persons AS U ON U.PersonId = H.CompileMan"
+ @" LEFT JOIN Person_Persons AS UR ON UR.UserId = H.AuditMan"
+ @" LEFT JOIN Person_Persons AS UR ON UR.PersonId = H.AuditMan"
+ @" LEFT JOIN Sys_Const AS Const0007 ON Const0007.ConstValue = H.HazardLevel and Const0007.GroupId = '" + ConstValue.Group_0007 + "'"
+ @" WHERE T.HazardListTypeId = @HazardListTypeId ";
List<SqlParameter> listStr = new List<SqlParameter>();