修改施工日志

This commit is contained in:
高飞 2023-09-25 19:20:43 +08:00
commit dd53b2300a
10 changed files with 444 additions and 257 deletions

View File

@ -93,6 +93,29 @@ namespace BLL
return getDataLists; return getDataLists;
} }
} }
/// <summary>
/// +
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
public static List<Model.BaseInfoItem> getProjectWBSByUnitWorkId(string projectId, string unitWorkId)
{
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
{
var getDataLists = (from x in db.WBS_WorkPackage
where x.ProjectId == projectId && x.SuperWorkPack == null && x.UnitWorkId == unitWorkId
orderby x.WorkPackageCode
select new Model.BaseInfoItem
{
BaseInfoId = x.WorkPackageId,
BaseInfoCode = x.WorkPackageCode,
BaseInfoName = x.PackageContent,
}
).ToList();
return getDataLists;
}
}
/// <summary> /// <summary>
/// 根据项目、单位ID获取单位工程 /// 根据项目、单位ID获取单位工程

View File

@ -48,14 +48,16 @@ namespace BLL
List<Model.WBS_WorkPackage> listWork = new List<Model.WBS_WorkPackage>(); List<Model.WBS_WorkPackage> listWork = new List<Model.WBS_WorkPackage>();
Model.WBS_WorkPackage work1 = new Model.WBS_WorkPackage Model.WBS_WorkPackage work1 = new Model.WBS_WorkPackage
{ {
WorkPackageCode = "1", WorkPackageId = "Type1",
PackageContent = "建筑工程", PackageContent = "建筑工程",
ProjectId = projectId,
}; };
listWork.Add(work1); listWork.Add(work1);
Model.WBS_WorkPackage work2 = new Model.WBS_WorkPackage Model.WBS_WorkPackage work2 = new Model.WBS_WorkPackage
{ {
WorkPackageCode = "2", WorkPackageId = "Type2",
PackageContent = "安装工程", PackageContent = "安装工程",
ProjectId = projectId,
}; };
listWork.Add(work2); listWork.Add(work2);
getDataList = listWork.AsQueryable(); getDataList = listWork.AsQueryable();
@ -88,8 +90,9 @@ namespace BLL
{ {
Model.WBS_WorkPackage workItem = new Model.WBS_WorkPackage Model.WBS_WorkPackage workItem = new Model.WBS_WorkPackage
{ {
WorkPackageCode = item.UnitWorkId, WorkPackageId = item.UnitWorkId,
PackageContent = item.UnitWorkCode + "-" + item.UnitWorkName, PackageContent = item.UnitWorkCode + "-" + item.UnitWorkName,
ProjectId = item.ProjectId,
}; };
listWork.Add(workItem); listWork.Add(workItem);
} }
@ -107,17 +110,16 @@ namespace BLL
return from x in getDataList return from x in getDataList
select new select new
{ {
x.WorkPackageCode, x.WorkPackageId,
x.PackageContent, x.PackageContent,
Count1 = 0, Count1 = WBSAnalysisService.getWBSExpertArgumentCount(projectId,x.WorkPackageId),
Count2 = 0, Count2 = WBSAnalysisService.getWBSAccidentCount(projectId, x.WorkPackageId),
Count3 = 0, Count3 = WBSAnalysisService.getWBSHSEProblemCount(projectId, x.WorkPackageId),
Count4 = 0, Count4 = WBSAnalysisService.getWBSSpotCheckRate(projectId, x.WorkPackageId),
Count5 = 0, Count5 = WBSAnalysisService.getWBSSpotCheckDataRate(projectId, x.WorkPackageId),
Count6 = 0, Count6 = WBSAnalysisService.getWBSCheckControlCount(projectId, x.WorkPackageId),
}; };
} }
#endregion #endregion
} }
} }

View File

@ -1,5 +1,7 @@
using FineUIPro; using FineUIPro;
using Microsoft.SqlServer.Dts.Runtime;
using NPOI.SS.Formula.Functions; using NPOI.SS.Formula.Functions;
using Org.BouncyCastle.Crypto.Tls;
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
@ -46,13 +48,13 @@ namespace BLL
List<Model.WBS_WorkPackageInit> listWork = new List<Model.WBS_WorkPackageInit>(); List<Model.WBS_WorkPackageInit> listWork = new List<Model.WBS_WorkPackageInit>();
Model.WBS_WorkPackageInit work1 = new Model.WBS_WorkPackageInit Model.WBS_WorkPackageInit work1 = new Model.WBS_WorkPackageInit
{ {
WorkPackageCode = "1", WorkPackageCode = "Type1",
PackageContent = "建筑工程", PackageContent = "建筑工程",
}; };
listWork.Add(work1); listWork.Add(work1);
Model.WBS_WorkPackageInit work2 = new Model.WBS_WorkPackageInit Model.WBS_WorkPackageInit work2 = new Model.WBS_WorkPackageInit
{ {
WorkPackageCode = "2", WorkPackageCode = "Type2",
PackageContent = "安装工程", PackageContent = "安装工程",
}; };
listWork.Add(work2); listWork.Add(work2);
@ -85,15 +87,138 @@ namespace BLL
{ {
x.WorkPackageCode, x.WorkPackageCode,
x.PackageContent, x.PackageContent,
Count1=0, Count1= getWBSExpertArgumentCount(null, x.WorkPackageCode),
Count2 = 0, Count2 = getWBSAccidentCount(null,x.WorkPackageCode),
Count3 = 0, Count3 = getWBSHSEProblemCount(null, x.WorkPackageCode),
Count4 = 0, Count4 = getWBSSpotCheckRate(null, x.WorkPackageCode),
Count5 = 0, Count5 = getWBSSpotCheckDataRate(null, x.WorkPackageCode),
Count6 = 0, Count6 = getWBSCheckControlCount(null, x.WorkPackageCode),
}; };
} }
#endregion #endregion
/// <summary>
/// 危大工程数量
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
public static int getWBSExpertArgumentCount(string projectId,string workPackageId)
{
var getLargerHazardListItem = from x in Funs.DB.Solution_LargerHazardListItem
join y in Funs.DB.Solution_LargerHazardList on x.LargerHazardListId equals y.LargerHazardListId
where x.WorkPackageId.Contains(workPackageId)
&& y.States == Const.State_1
select new {x.LargerHazardListItemId,y.LargerHazardListId,y.ProjectId,x.WorkPackageId };
if (!string.IsNullOrEmpty(projectId))
{
getLargerHazardListItem = getLargerHazardListItem.Where(x => x.ProjectId == projectId);
}
return getLargerHazardListItem.Count();
}
/// <summary>
/// 安全事故数量
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
public static int getWBSAccidentCount(string projectId, string workPackageId)
{
var getAccidentPersonRecord = from x in Funs.DB.Accident_AccidentPersonRecord
where x.WorkPackageId.Contains(workPackageId)
&& x.States == Const.State_2
select x;
if (!string.IsNullOrEmpty(projectId))
{
getAccidentPersonRecord = getAccidentPersonRecord.Where(x => x.ProjectId == projectId);
}
return getAccidentPersonRecord.Count();
}
/// <summary>
/// 安全巡检问题总数
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
public static int getWBSHSEProblemCount(string projectId, string workPackageId)
{
var getHazardRegister = from x in Funs.DB.HSSE_Hazard_HazardRegister
where x.States != "4" && x.States != "0"
&& x.WorkPackageId.Contains(workPackageId)
select x;
if (!string.IsNullOrEmpty(projectId))
{
getHazardRegister = getHazardRegister.Where(x => x.ProjectId == projectId);
}
return getHazardRegister.Count();
}
/// <summary>
/// 实体验收一次合格率
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
public static string getWBSSpotCheckRate(string projectId, string workPackageId)
{
var getSpotCheckDetail = from x in Funs.DB.Check_SpotCheckDetail
join y in Funs.DB.Check_SpotCheck on x.SpotCheckCode equals y.SpotCheckCode
where x.WorkPackageId.Contains(workPackageId) && (projectId ==null || y.ProjectId == projectId)
&& y.State == "8"
select new { x.SpotCheckCode ,y.ProjectId,x.IsDataOK,x.IsOnesOK};
if (!string.IsNullOrEmpty(projectId))
{
getSpotCheckDetail = getSpotCheckDetail.Where(x => x.ProjectId == projectId);
}
int all = getSpotCheckDetail.Count();
// this.lbSpotCheck1.Text = all.ToString();
int onesOKCount = getSpotCheckDetail.Where(x => x.IsOnesOK == true).Count(); //一次合格
return (all > 0 ? Math.Round(onesOKCount * 100.0 / (all * 1.0)).ToString() + "%" : "0%");
}
/// <summary>
/// 施工资料同步率
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
public static string getWBSSpotCheckDataRate(string projectId, string workPackageId)
{
//// 实体验收 资料验收
var getSpotCheckDetail = from x in Funs.DB.Check_SpotCheckDetail
join y in Funs.DB.Check_SpotCheck on x.SpotCheckCode equals y.SpotCheckCode
where x.WorkPackageId.Contains(workPackageId)
&& y.State == "8"
select new { x.SpotCheckCode, y.ProjectId, x.IsDataOK, x.IsOnesOK,x.IsOK };
if (!string.IsNullOrEmpty(projectId))
{
getSpotCheckDetail = getSpotCheckDetail.Where(x => x.ProjectId == projectId);
}
/// 资料验收合格项目
var getOKSpotCheckDetail = getSpotCheckDetail.Where(x => x.IsOK == true);
int okYSCount = getOKSpotCheckDetail.Count(); //验收合格
int okDateCount = getSpotCheckDetail.Where(x => x.IsDataOK == "1").Count(); //资料合格
return (okYSCount > 0 ? Math.Round(okDateCount * 100.0 / (okYSCount * 1.0)).ToString() + "%" : "0%");
}
/// <summary>
/// 质量问题数
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
public static int getWBSCheckControlCount(string projectId, string workPackageId)
{
var getCheck_CheckControl = from x in Funs.DB.Check_CheckControl
where x.WorkPackageId.Contains(workPackageId)
select x;
if (!string.IsNullOrEmpty(projectId))
{
getCheck_CheckControl = getCheck_CheckControl.Where(x => x.ProjectId == projectId);
}
return getCheck_CheckControl.Count();
}
} }
} }

View File

@ -30,7 +30,7 @@
TitleToolTip="WBS数据分析" AutoScroll="true"> TitleToolTip="WBS数据分析" AutoScroll="true">
<Items> <Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="数据分析" <f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="数据分析"
runat="server" BoxFlex="1" DataKeyNames="WorkPackageCode" DataIDField="WorkPackageCode" ForceFit="true" runat="server" BoxFlex="1" DataKeyNames="WorkPackageId" DataIDField="WorkPackageId" ForceFit="true"
AllowSorting="true" SortField="WorkPackageCode" SortDirection="ASC" OnSort="Grid1_Sort" AllowCellEditing="true" AllowSorting="true" SortField="WorkPackageCode" SortDirection="ASC" OnSort="Grid1_Sort" AllowCellEditing="true"
EnableColumnLines="true" AllowPaging="false" PageSize="20" EnableTextSelection="True"> EnableColumnLines="true" AllowPaging="false" PageSize="20" EnableTextSelection="True">
<Columns> <Columns>
@ -53,10 +53,10 @@
FieldType="Int" HeaderText="安全巡检问题总数" HeaderTextAlign="Center" TextAlign="Right"> FieldType="Int" HeaderText="安全巡检问题总数" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField> </f:RenderField>
<f:RenderField Width="160px" ColumnID="Count4" DataField="Count4" <f:RenderField Width="160px" ColumnID="Count4" DataField="Count4"
FieldType="Int" HeaderText="实体验收一次合格率" HeaderTextAlign="Center" TextAlign="Right"> FieldType="String" HeaderText="实体验收一次合格率" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField> </f:RenderField>
<f:RenderField Width="130px" ColumnID="Count5" DataField="Count5" <f:RenderField Width="130px" ColumnID="Count5" DataField="Count5"
FieldType="Int" HeaderText="施工资料同步率" HeaderTextAlign="Center" TextAlign="Right"> FieldType="String" HeaderText="施工资料同步率" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField> </f:RenderField>
<f:RenderField Width="110px" ColumnID="Count6" DataField="Count6" <f:RenderField Width="110px" ColumnID="Count6" DataField="Count6"
FieldType="Int" HeaderText="质量问题数" HeaderTextAlign="Center" TextAlign="Right"> FieldType="Int" HeaderText="质量问题数" HeaderTextAlign="Center" TextAlign="Right">

View File

@ -53,10 +53,10 @@
FieldType="Int" HeaderText="安全巡检问题总数" HeaderTextAlign="Center" TextAlign="Right"> FieldType="Int" HeaderText="安全巡检问题总数" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField> </f:RenderField>
<f:RenderField Width="160px" ColumnID="Count4" DataField="Count4" <f:RenderField Width="160px" ColumnID="Count4" DataField="Count4"
FieldType="Int" HeaderText="实体验收一次合格率" HeaderTextAlign="Center" TextAlign="Right"> FieldType="String" HeaderText="实体验收一次合格率" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField> </f:RenderField>
<f:RenderField Width="130px" ColumnID="Count5" DataField="Count5" <f:RenderField Width="130px" ColumnID="Count5" DataField="Count5"
FieldType="Int" HeaderText="施工资料同步率" HeaderTextAlign="Center" TextAlign="Right"> FieldType="String" HeaderText="施工资料同步率" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField> </f:RenderField>
<f:RenderField Width="110px" ColumnID="Count6" DataField="Count6" <f:RenderField Width="110px" ColumnID="Count6" DataField="Count6"
FieldType="Int" HeaderText="质量问题数" HeaderTextAlign="Center" TextAlign="Right"> FieldType="Int" HeaderText="质量问题数" HeaderTextAlign="Center" TextAlign="Right">

View File

@ -1,137 +1,14 @@
错误信息开始=====> 错误信息开始=====>
错误类型:HttpParseException 错误类型:ArgumentNullException
错误信息:无法从其“Icon”属性的字符串表示形式“del”创建“FineUIPro.Icon”类型的对象。 错误信息:值不能为 null。
参数名: text
错误堆栈: 错误堆栈:
在 System.Web.UI.TemplateParser.ProcessException(Exception ex) 在 System.Data.Linq.SqlClient.SqlHelpers.GetStringContainsPattern(String text, Char escape, Boolean& usedEscapeChar)
在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) 在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.TranslateStringMethod(SqlMethodCall mc)
在 System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
----错误类型:HttpException
----错误信息:
----无法从其“Icon”属性的字符串表示形式“del”创建“FineUIPro.Icon”类型的对象。
----错误堆栈:
在 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)
出错时间:09/22/2023 16:56:36
出错文件:http://localhost:12669/PZHGL/InformationProject/ConstructionLog.aspx
IP地址:::1
出错时间:09/22/2023 16:56:36
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 FineUIPro.Web.PZHGL.InformationProject.ConstructionLog.Page_Load(Object sender, EventArgs e) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\PZHGL\InformationProject\ConstructionLog.aspx.cs:行号 91
在 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/22/2023 17:26:30
出错文件:http://localhost:12669/PZHGL/InformationProject/ConstructionLog.aspx
IP地址:::1
操作人员:JT
出错时间:09/22/2023 17:26:30
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 FineUIPro.Web.PZHGL.InformationProject.ConstructionLog.TextNew() 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\PZHGL\InformationProject\ConstructionLog.aspx.cs:行号 563
在 FineUIPro.Web.PZHGL.InformationProject.ConstructionLog.btnMenuAdd_Click(Object sender, EventArgs e) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\PZHGL\InformationProject\ConstructionLog.aspx.cs:行号 529
在 FineUIPro.MenuButton.OnClick(EventArgs e)
在 (MenuButton , EventArgs )
在 FineUIPro.MenuButton.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/23/2023 10:19:08
出错文件:http://localhost:12669/PZHGL/InformationProject/ConstructionLog.aspx
IP地址:::1
操作人员:JT
出错时间:09/23/2023 10:19:08
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 FineUIPro.Web.PZHGL.InformationProject.ConstructionLog.TextNew() 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\PZHGL\InformationProject\ConstructionLog.aspx.cs:行号 563
在 FineUIPro.Web.PZHGL.InformationProject.ConstructionLog.btnMenuAdd_Click(Object sender, EventArgs e) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\PZHGL\InformationProject\ConstructionLog.aspx.cs:行号 529
在 FineUIPro.MenuButton.OnClick(EventArgs e)
在 (MenuButton , EventArgs )
在 FineUIPro.MenuButton.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/23/2023 10:19:21
出错文件:http://localhost:12669/PZHGL/InformationProject/ConstructionLog.aspx
IP地址:::1
操作人员:JT
出错时间:09/23/2023 10:19:21
错误信息开始=====>
错误类型:JsonReaderException
错误信息:Unexpected character encountered while parsing value: 无. Path '', line 0, position 0.
错误堆栈:
在 Newtonsoft.Json.JsonTextReader.ParseValue()
在 Newtonsoft.Json.JsonTextReader.Read()
在 Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
在 Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
在 Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
在 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
在 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
在 BLL.WeatherService.GetWeather(String projectId) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\BLL\Common\WeatherService.cs:行号 93
出错时间:09/23/2023 10:29:09
出错时间:09/23/2023 10:29:09
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 FineUIPro.Web.PZHGL.InformationProject.ConstructionLog.InitGrid() 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\PZHGL\InformationProject\ConstructionLog.aspx.cs:行号 43
在 FineUIPro.Web.PZHGL.InformationProject.ConstructionLog.Page_Init(Object sender, EventArgs e) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\PZHGL\InformationProject\ConstructionLog.aspx.cs:行号 34
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
在 System.Web.UI.Control.OnInit(EventArgs e)
在 System.Web.UI.Page.OnInit(EventArgs e)
在 FineUIPro.Web.PageBase.OnInit(EventArgs e) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\common\PageBase.cs:行号 191
在 System.Web.UI.Control.InitRecursive(Control namingContainer)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:09/23/2023 14:27:46
出错文件:http://localhost:12669/PZHGL/InformationProject/ConstructionLog.aspx
IP地址:::1
出错时间:09/23/2023 14:27:46
错误信息开始=====>
错误类型:NotSupportedException
错误信息:方法“Boolean IsNullOrEmpty(System.String)”不支持转换为 SQL。
错误堆栈:
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.TranslateStringStaticMethod(SqlMethodCall mc)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitMethodCall(SqlMethodCall mc) 在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitMethodCall(SqlMethodCall mc)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node) 在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp) 在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitUnaryOperator(SqlUnary uo)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitUnaryOperator(SqlUnary uo)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitBinaryOperator(SqlBinary bo) 在 System.Data.Linq.SqlClient.SqlVisitor.VisitBinaryOperator(SqlBinary bo)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitBinaryOperator(SqlBinary bo) 在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitBinaryOperator(SqlBinary bo)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node) 在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
@ -145,87 +22,226 @@ IP地址:::1
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select) 在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select) 在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node) 在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitAlias(SqlAlias a)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSource(SqlSource source)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Convert(SqlNode node, SqlFactory sql, ProviderMode providerMode) 在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Convert(SqlNode node, SqlFactory sql, ProviderMode providerMode)
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(ResultShape resultShape, Type resultType, SqlNode node, ReadOnlyCollection`1 parentParameters, SqlNodeAnnotations annotations) 在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(ResultShape resultShape, Type resultType, SqlNode node, ReadOnlyCollection`1 parentParameters, SqlNodeAnnotations annotations)
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations) 在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) 在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
在 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() 在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
在 FineUIPro.Web.PZHGL.InformationProject.ProjectConstructionLog.InitGrid() 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\PZHGL\InformationProject\ProjectConstructionLog.aspx.cs:行号 50 在 System.Linq.Queryable.Count[TSource](IQueryable`1 source)
在 FineUIPro.Web.PZHGL.InformationProject.ProjectConstructionLog.Page_Init(Object sender, EventArgs e) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\PZHGL\InformationProject\ProjectConstructionLog.aspx.cs:行号 34 在 BLL.WBSAnalysisService.getWBSExpertArgumentCount(String projectId, String workPackageId) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\DigData\WBSAnalysisService.cs:行号 117
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) 在 lambda_method(Closure , WBS_WorkPackage )
在 System.Web.UI.Control.OnInit(EventArgs e) 在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
在 System.Web.UI.Page.OnInit(EventArgs e) 在 (IEnumerator )
在 FineUIPro.Web.PageBase.OnInit(EventArgs e) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\common\PageBase.cs:行号 191 在 FineUIPro.Grid.CRTRkdQFrrBRFQuCddjZPswlTORP(IEnumerable , Boolean )
在 System.Web.UI.Control.InitRecursive(Control namingContainer) 在 (Grid , IEnumerable , Boolean )
在 FineUIPro.Grid.DataBind(Boolean keepCurrentData)
在 (Grid , Boolean )
在 FineUIPro.Grid.DataBind()
在 FineUIPro.Web.DigData.ProjectWBSAnalysis.BindGrid() 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\DigData\ProjectWBSAnalysis.aspx.cs:行号 58
在 FineUIPro.Web.DigData.ProjectWBSAnalysis.changeTree(Object sender, EventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\DigData\ProjectWBSAnalysis.aspx.cs:行号 46
在 FineUIPro.Web.Controls.ProjectWBSControl.trWBS_NodeCommand(Object sender, TreeCommandEventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\Controls\ProjectWBSControl.ascx.cs:行号 78
在 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) 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:09/25/2023 10:38:44 出错时间:09/25/2023 09:52:02
出错文件:http://localhost:12669/PZHGL/InformationProject/ProjectConstructionLog.aspx 出错文件:http://localhost:2325/DigData/ProjectWBSAnalysis.aspx
IP地址:::1 IP地址:::1
操作人员:郭疆 操作人员:JT
出错时间:09/25/2023 10:38:44 出错时间:09/25/2023 09:52:02
错误信息开始=====> 错误信息开始=====>
错误类型:InvalidOperationException 错误类型:IOException
错误信息:不能将 Null 值赋给类型为 System.Int32 (不可为 null 的值类型)的成员。 错误信息:句柄无效。
错误堆栈: 错误堆栈:
在 System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult) 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries) 在 System.IO.__Error.WinIOError()
在 System.Threading.EventWaitHandle.Set()
在 System.Net.TimerThread.Prod()
在 System.Net.TimerThread.TimerQueue.CreateTimer(Callback callback, Object context)
在 System.Net.HttpWebRequest.SubmitRequest(ServicePoint servicePoint)
在 System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
在 System.Net.HttpWebRequest.GetRequestStream()
在 Microsoft.WebTools.BrowserLink.Runtime.Tracing.DataDispatchExecutionListener.Initialize(HttpWebRequest request)
在 Microsoft.WebTools.BrowserLink.Runtime.Tracing.PageInspectorHttpModule.OnPreRequestHandlerExecute(Object sender, EventArgs e)
在 System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
出错时间:09/25/2023 09:53:44
出错文件:http://localhost:2325/indexProject.aspx?projectId=7b691ed0-6bad-468f-9e54-f0f5ba4df21f
IP地址:::1
操作人员:JT
出错时间:09/25/2023 09:53:45
错误信息开始=====>
错误类型:ArgumentNullException
错误信息:值不能为 null。
参数名: text
错误堆栈:
在 System.Data.Linq.SqlClient.SqlHelpers.GetStringContainsPattern(String text, Char escape, Boolean& usedEscapeChar)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.TranslateStringMethod(SqlMethodCall mc)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitMethodCall(SqlMethodCall mc)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitBinaryOperator(SqlBinary bo)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitBinaryOperator(SqlBinary bo)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitAlias(SqlAlias a)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSource(SqlSource source)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitAlias(SqlAlias a)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSource(SqlSource source)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Convert(SqlNode node, SqlFactory sql, ProviderMode providerMode)
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(ResultShape resultShape, Type resultType, SqlNode node, ReadOnlyCollection`1 parentParameters, SqlNodeAnnotations annotations)
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) 在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression) 在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
在 System.Linq.Queryable.Sum[TSource](IQueryable`1 source, Expression`1 selector) 在 System.Linq.Queryable.Count[TSource](IQueryable`1 source)
在 FineUIPro.Web.PZHGL.InformationProject.ProjectConstructionLog.drpUnitWork_SelectedIndexChanged(Object sender, EventArgs e) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\PZHGL\InformationProject\ProjectConstructionLog.aspx.cs:行号 1085 在 BLL.WBSAnalysisService.getWBSExpertArgumentCount(String projectId, String workPackageId) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\DigData\WBSAnalysisService.cs:行号 114
在 FineUIPro.Web.PZHGL.InformationProject.ProjectConstructionLog.TextNew() 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\PZHGL\InformationProject\ProjectConstructionLog.aspx.cs:行号 658 在 lambda_method(Closure , WBS_WorkPackage )
在 FineUIPro.Web.PZHGL.InformationProject.ProjectConstructionLog.btnMenuAdd_Click(Object sender, EventArgs e) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\PZHGL\InformationProject\ProjectConstructionLog.aspx.cs:行号 557 在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
在 FineUIPro.MenuButton.OnClick(EventArgs e) 在 (IEnumerator )
在 (MenuButton , EventArgs ) 在 FineUIPro.Grid.CRTRkdQFrrBRFQuCddjZPswlTORP(IEnumerable , Boolean )
在 FineUIPro.MenuButton.RaisePostBackEvent(String eventArgument) 在 (Grid , IEnumerable , Boolean )
在 FineUIPro.Grid.DataBind(Boolean keepCurrentData)
在 (Grid , Boolean )
在 FineUIPro.Grid.DataBind()
在 FineUIPro.Web.DigData.ProjectWBSAnalysis.BindGrid() 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\DigData\ProjectWBSAnalysis.aspx.cs:行号 58
在 FineUIPro.Web.DigData.ProjectWBSAnalysis.changeTree(Object sender, EventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\DigData\ProjectWBSAnalysis.aspx.cs:行号 46
在 FineUIPro.Web.Controls.ProjectWBSControl.trWBS_NodeCommand(Object sender, TreeCommandEventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\Controls\ProjectWBSControl.ascx.cs:行号 78
在 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(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:09/25/2023 10:57:59 出错时间:09/25/2023 09:57:30
出错文件:http://localhost:12669/PZHGL/InformationProject/ProjectConstructionLog.aspx 出错文件:http://localhost:2325/DigData/ProjectWBSAnalysis.aspx
IP地址:::1 IP地址:::1
操作人员:郭疆 操作人员:JT
出错时间:09/25/2023 10:57:59 出错时间:09/25/2023 09:57:30
错误信息开始=====> 错误信息开始=====>
错误类型:SqlException 错误类型:ArgumentNullException
错误信息:INSERT 语句与 FOREIGN KEY 约束"FK_ZHGL_ConstructionLogPerson_ZHGL_ConstructionLog"冲突。该冲突发生于数据库"SGGLDB_SD",表"dbo.ZHGL_ConstructionLog", column 'ConstructionLogId'。 错误信息:值不能为 null
语句已终止。 参数名: text
错误堆栈: 错误堆栈:
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) 在 System.Data.Linq.SqlClient.SqlHelpers.GetStringContainsPattern(String text, Char escape, Boolean& usedEscapeChar)
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) 在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.TranslateStringMethod(SqlMethodCall mc)
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) 在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitMethodCall(SqlMethodCall mc)
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) 在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) 在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp)
在 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.Linq.SqlClient.SqlVisitor.VisitBinaryOperator(SqlBinary bo)
在 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.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitBinaryOperator(SqlBinary bo)
在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) 在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() 在 System.Data.Linq.SqlClient.SqlVisitor.VisitExpression(SqlExpression exp)
在 System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult) 在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
在 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries) 在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitAlias(SqlAlias a)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSource(SqlSource source)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitAlias(SqlAlias a)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSource(SqlSource source)
在 System.Data.Linq.SqlClient.SqlVisitor.VisitSelectCore(SqlSelect select)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Visitor.VisitSelect(SqlSelect select)
在 System.Data.Linq.SqlClient.SqlVisitor.Visit(SqlNode node)
在 System.Data.Linq.SqlClient.PostBindDotNetConverter.Convert(SqlNode node, SqlFactory sql, ProviderMode providerMode)
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(ResultShape resultShape, Type resultType, SqlNode node, ReadOnlyCollection`1 parentParameters, SqlNodeAnnotations annotations)
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) 在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
在 System.Data.Linq.ChangeDirector.StandardChangeDirector.DynamicInsert(TrackedObject item) 在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
在 System.Data.Linq.ChangeDirector.StandardChangeDirector.Insert(TrackedObject item) 在 System.Linq.Queryable.Count[TSource](IQueryable`1 source)
在 System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) 在 BLL.WBSAnalysisService.getWBSExpertArgumentCount(String projectId, String workPackageId) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\BLL\DigData\WBSAnalysisService.cs:行号 114
在 System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) 在 lambda_method(Closure , WBS_WorkPackage )
在 System.Data.Linq.DataContext.SubmitChanges() 在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
在 BLL.ConstructionLogPersonService.AddConstructionLogPerson(ZHGL_ConstructionLogPerson constructionLogPerson) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\BLL\PZHGL\InformationProject\ConstructionLogPersonService.cs:行号 38 在 (IEnumerator )
在 FineUIPro.Web.PZHGL.InformationProject.ProjectConstructionLog.btnSave_Click(Object sender, EventArgs e) 位置 E:\工作\赛鼎施工平台\SGGL_SeDin(New)\SGGL_SeDin_New\SGGL\FineUIPro.Web\PZHGL\InformationProject\ProjectConstructionLog.aspx.cs:行号 863 在 FineUIPro.Grid.CRTRkdQFrrBRFQuCddjZPswlTORP(IEnumerable , Boolean )
在 FineUIPro.Button.OnClick(EventArgs e) 在 (Grid , IEnumerable , Boolean )
在 (Button , EventArgs ) 在 FineUIPro.Grid.DataBind(Boolean keepCurrentData)
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument) 在 (Grid , Boolean )
在 FineUIPro.Grid.DataBind()
在 FineUIPro.Web.DigData.ProjectWBSAnalysis.BindGrid() 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\DigData\ProjectWBSAnalysis.aspx.cs:行号 58
在 FineUIPro.Web.DigData.ProjectWBSAnalysis.changeTree(Object sender, EventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\DigData\ProjectWBSAnalysis.aspx.cs:行号 46
在 FineUIPro.Web.Controls.ProjectWBSControl.trWBS_NodeCommand(Object sender, TreeCommandEventArgs e) 位置 E:\SEDIN\SGGL_SeDin_New\SGGL\FineUIPro.Web\Controls\ProjectWBSControl.ascx.cs:行号 78
在 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(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:09/25/2023 16:24:05 出错时间:09/25/2023 10:02:17
出错文件:http://localhost:12669/PZHGL/InformationProject/ProjectConstructionLog.aspx 出错文件:http://localhost:2325/DigData/ProjectWBSAnalysis.aspx
IP地址:::1 IP地址:::1
操作人员:郭疆 操作人员:JT
出错时间:09/25/2023 16:24:05 出错时间:09/25/2023 10:02:17
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 (TreeNode )
在 FineUIPro.TreeCommandEventArgs..ctor(TreeNode node, String commandName, String commandArgument)
在 (TreeNode , String , String )
在 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)
出错时间:09/25/2023 10:05:00
出错文件:http://localhost:2325/DigData/ProjectWBSAnalysis.aspx
IP地址:::1
操作人员:JT
出错时间:09/25/2023 10:05:00
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 (TreeNode )
在 FineUIPro.TreeCommandEventArgs..ctor(TreeNode node, String commandName, String commandArgument)
在 (TreeNode , String , String )
在 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)
出错时间:09/25/2023 10:05:02
出错文件:http://localhost:2325/DigData/ProjectWBSAnalysis.aspx
IP地址:::1
操作人员:JT
出错时间:09/25/2023 10:05:02

View File

@ -14249,7 +14249,7 @@
<AutoAssignPort>True</AutoAssignPort> <AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>0</DevelopmentServerPort> <DevelopmentServerPort>0</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath> <DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:12669/</IISUrl> <IISUrl>http://localhost:2325/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication> <NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer> <UseCustomServer>False</UseCustomServer>
<CustomServerUrl> <CustomServerUrl>

View File

@ -39427,10 +39427,10 @@ namespace Model
private string _SaveHandleMan; private string _SaveHandleMan;
private string _WorkPackageId;
private string _WorkPackageName; private string _WorkPackageName;
private string _WorkPackageId;
private EntityRef<Base_Project> _Base_Project; private EntityRef<Base_Project> _Base_Project;
private EntityRef<Person_Persons> _Person_Persons; private EntityRef<Person_Persons> _Person_Persons;
@ -39487,10 +39487,10 @@ namespace Model
partial void OnProposeUnitIdChanged(); partial void OnProposeUnitIdChanged();
partial void OnSaveHandleManChanging(string value); partial void OnSaveHandleManChanging(string value);
partial void OnSaveHandleManChanged(); partial void OnSaveHandleManChanged();
partial void OnWorkPackageIdChanging(string value);
partial void OnWorkPackageIdChanged();
partial void OnWorkPackageNameChanging(string value); partial void OnWorkPackageNameChanging(string value);
partial void OnWorkPackageNameChanged(); partial void OnWorkPackageNameChanged();
partial void OnWorkPackageIdChanging(string value);
partial void OnWorkPackageIdChanged();
#endregion #endregion
public Check_CheckControl() public Check_CheckControl()
@ -39969,26 +39969,6 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageId", DbType="NVarChar(2000)")]
public string WorkPackageId
{
get
{
return this._WorkPackageId;
}
set
{
if ((this._WorkPackageId != value))
{
this.OnWorkPackageIdChanging(value);
this.SendPropertyChanging();
this._WorkPackageId = value;
this.SendPropertyChanged("WorkPackageId");
this.OnWorkPackageIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageName", DbType="NVarChar(2000)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageName", DbType="NVarChar(2000)")]
public string WorkPackageName public string WorkPackageName
{ {
@ -40009,6 +39989,26 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageId", DbType="NVarChar(2000)")]
public string WorkPackageId
{
get
{
return this._WorkPackageId;
}
set
{
if ((this._WorkPackageId != value))
{
this.OnWorkPackageIdChanging(value);
this.SendPropertyChanging();
this._WorkPackageId = value;
this.SendPropertyChanged("WorkPackageId");
this.OnWorkPackageIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_CheckControl_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_CheckControl_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project public Base_Project Base_Project
{ {
@ -100676,10 +100676,10 @@ namespace Model
private string _HazardValue; private string _HazardValue;
private string _WorkPackageId;
private string _WorkPackageName; private string _WorkPackageName;
private string _WorkPackageId;
private EntityRef<Base_Unit> _Base_Unit; private EntityRef<Base_Unit> _Base_Unit;
private EntityRef<HSSE_Hazard_HazardRegisterTypes> _HSSE_Hazard_HazardRegisterTypes; private EntityRef<HSSE_Hazard_HazardRegisterTypes> _HSSE_Hazard_HazardRegisterTypes;
@ -100780,10 +100780,10 @@ namespace Model
partial void OnRegisterTypes4IdChanged(); partial void OnRegisterTypes4IdChanged();
partial void OnHazardValueChanging(string value); partial void OnHazardValueChanging(string value);
partial void OnHazardValueChanged(); partial void OnHazardValueChanged();
partial void OnWorkPackageIdChanging(string value);
partial void OnWorkPackageIdChanged();
partial void OnWorkPackageNameChanging(string value); partial void OnWorkPackageNameChanging(string value);
partial void OnWorkPackageNameChanged(); partial void OnWorkPackageNameChanged();
partial void OnWorkPackageIdChanging(string value);
partial void OnWorkPackageIdChanged();
#endregion #endregion
public HSSE_Hazard_HazardRegister() public HSSE_Hazard_HazardRegister()
@ -101721,26 +101721,6 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageId", DbType="NVarChar(2000)")]
public string WorkPackageId
{
get
{
return this._WorkPackageId;
}
set
{
if ((this._WorkPackageId != value))
{
this.OnWorkPackageIdChanging(value);
this.SendPropertyChanging();
this._WorkPackageId = value;
this.SendPropertyChanged("WorkPackageId");
this.OnWorkPackageIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageName", DbType="NVarChar(2000)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageName", DbType="NVarChar(2000)")]
public string WorkPackageName public string WorkPackageName
{ {
@ -101761,6 +101741,26 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageId", DbType="NVarChar(2000)")]
public string WorkPackageId
{
get
{
return this._WorkPackageId;
}
set
{
if ((this._WorkPackageId != value))
{
this.OnWorkPackageIdChanging(value);
this.SendPropertyChanging();
this._WorkPackageId = value;
this.SendPropertyChanged("WorkPackageId");
this.OnWorkPackageIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HSSE_Hazard_HazardRegister_Base_Unit", Storage="_Base_Unit", ThisKey="ResponsibleUnit", OtherKey="UnitId", IsForeignKey=true)] [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HSSE_Hazard_HazardRegister_Base_Unit", Storage="_Base_Unit", ThisKey="ResponsibleUnit", OtherKey="UnitId", IsForeignKey=true)]
public Base_Unit Base_Unit public Base_Unit Base_Unit
{ {

View File

@ -100,6 +100,27 @@ namespace WebAPI.Controllers
return responeData; return responeData;
} }
/// <summary>
/// 获取单位工程下分部分项
/// </summary>
/// <param name="projectId"></param>
/// <param name="unitWorkId"></param>
/// <returns></returns>
public Model.ResponeData getProjectWBSByUnitWorkId(string projectId, string unitWorkId)
{
var responeData = new Model.ResponeData();
try
{
responeData.data = BLL.APIBaseInfoService.getProjectWBSByUnitWorkId(projectId, unitWorkId);
}
catch (Exception ex)
{
responeData.code = 0;
responeData.message = ex.Message;
}
return responeData;
}
/// <summary> /// <summary>
/// 根据项目单位Id获取单位工程 /// 根据项目单位Id获取单位工程

View File

@ -362,7 +362,7 @@
<AutoAssignPort>True</AutoAssignPort> <AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>0</DevelopmentServerPort> <DevelopmentServerPort>0</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath> <DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:14920/</IISUrl> <IISUrl>http://localhost:1766/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication> <NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer> <UseCustomServer>False</UseCustomServer>
<CustomServerUrl> <CustomServerUrl>