diff --git a/SGGL/BLL/JDGL/WBS/CnProfessionService.cs b/SGGL/BLL/JDGL/WBS/CnProfessionService.cs
index a3033a2a..59558d3b 100644
--- a/SGGL/BLL/JDGL/WBS/CnProfessionService.cs
+++ b/SGGL/BLL/JDGL/WBS/CnProfessionService.cs
@@ -29,25 +29,31 @@ namespace BLL
///
/// 专业Id
///
- public static string GetCnProfessionIdByInstallationIdAndOldId(string installationId, string oldId)
+ public static List GetCnProfessionIdsByInstallationIdAndOldId(string installationId, string oldId)
{
- string cnProfessionId = string.Empty;
+ List cnProfessionIds = new List();
Model.SGGLDB db = Funs.DB;
var ins = db.Project_Installation.FirstOrDefault(x => x.InstallationId == installationId);
- if (ins.IsEnd == true)
+ var childInss = from x in db.Project_Installation where x.SuperInstallationId == installationId select x;
+ if (childInss.Count() == 0)
{
var cn = db.WBS_CnProfession.FirstOrDefault(x => x.InstallationId == ins.InstallationId && x.OldId.ToString() == oldId);
- cnProfessionId = cn.CnProfessionId;
+ if (cn != null)
+ {
+ cnProfessionIds.Add(cn.CnProfessionId);
+ }
}
else
{
- var childIns = db.Project_Installation.FirstOrDefault(x => x.SuperInstallationId == installationId);
- cnProfessionId = GetCnProfessionIdByInstallationIdAndOldId(childIns.InstallationId, oldId);
+ var childIns = from x in db.Project_Installation where x.SuperInstallationId == installationId select x;
+ foreach (var childIn in childIns)
+ {
+ cnProfessionIds.AddRange(GetCnProfessionIdsByInstallationIdAndOldId(childIn.InstallationId,oldId));
+ }
}
- return cnProfessionId;
+ return cnProfessionIds;
}
-
///
/// 增加专业
///
diff --git a/SGGL/BLL/JDGL/WBS/UnitProjectService.cs b/SGGL/BLL/JDGL/WBS/UnitProjectService.cs
index 11a62f77..8c2026e8 100644
--- a/SGGL/BLL/JDGL/WBS/UnitProjectService.cs
+++ b/SGGL/BLL/JDGL/WBS/UnitProjectService.cs
@@ -74,20 +74,30 @@ namespace BLL
///
public static List GetUnitProjectIdByInstallationIdAndCNCodeAndUnitProjectCode(string installationId, string cnCode, string unitProjectCode)
{
+ List ids = new List();
Model.SGGLDB db = Funs.DB;
string inId = string.Empty;
Model.Project_Installation ins = db.Project_Installation.FirstOrDefault(x => x.InstallationId == installationId);
- if (ins.IsEnd == true)
+ var childInss = from x in db.Project_Installation where x.SuperInstallationId == installationId select x;
+ if (childInss.Count() == 0)
{
inId = installationId;
+ var cn = (from x in db.WBS_CnProfession where x.InstallationId == inId && x.OldId.ToString() == cnCode select x).FirstOrDefault();
+ if (cn != null)
+ {
+ ids.AddRange((from x in db.Wbs_UnitProject where x.CnProfessionId == cn.CnProfessionId && x.UnitProjectCode == unitProjectCode select x.UnitProjectId).ToList());
+ }
}
else
{
- inId = Project_InstallationService.GetEndInstallationId(installationId);
+ var childIns = from x in db.Project_Installation where x.SuperInstallationId == installationId select x;
+ foreach (var childIn in childIns)
+ {
+ ids.AddRange(GetUnitProjectIdByInstallationIdAndCNCodeAndUnitProjectCode(childIn.InstallationId, cnCode, unitProjectCode));
+ }
}
- var cn = (from x in db.WBS_CnProfession where x.InstallationId == inId && x.OldId.ToString() == cnCode select x).FirstOrDefault();
- var list = (from x in db.Wbs_UnitProject where x.CnProfessionId == cn.CnProfessionId && x.UnitProjectCode == unitProjectCode select x.UnitProjectId).ToList();
- return list;
+
+ return ids;
}
///
diff --git a/SGGL/BLL/JDGL/WBS/WorkloadStatisticsService.cs b/SGGL/BLL/JDGL/WBS/WorkloadStatisticsService.cs
index cc81eb9e..ab39f50a 100644
--- a/SGGL/BLL/JDGL/WBS/WorkloadStatisticsService.cs
+++ b/SGGL/BLL/JDGL/WBS/WorkloadStatisticsService.cs
@@ -141,7 +141,7 @@ namespace BLL
{
if (cnProfessionId != Const.ACCNProfessionalId.ToString() && cnProfessionId != Const.GECNProfessionalId.ToString() && cnProfessionId != Const.UPCNProfessionalId.ToString() && cnProfessionId != Const.TFCNProfessionalId.ToString() && cnProfessionId != Const.GLCNProfessionalId.ToString())
{
- newList = (from x in newList where (x.WBSType == "Installation" && x.Name != "防腐绝热" && x.Name != "地勘" && x.Name != "全厂地下主管网" && x.Name != "临时设施" && x.Name != "总图") || (x.WBSType != "Installation" && x.OldCnProfessionId.ToString() == cnProfessionId) select x).ToList();
+ newList = (from x in newList where (x.WBSType == "Installation" && !x.Name.Contains("防腐绝热") && !x.Name.Contains("地勘") && !x.Name.Contains("全厂地下主管网") && !x.Name.Contains("临时设施") && !x.Name.Contains("总图")) || (x.WBSType != "Installation" && x.OldCnProfessionId.ToString() == cnProfessionId) select x).ToList();
var cn = cnProfessionInits.FirstOrDefault(x => x.CnProfessionId.ToString() == cnProfessionId);
parentRow = table.NewRow();
parentRow[0] = cn.CnProfessionId.ToString();
@@ -196,6 +196,7 @@ namespace BLL
row[3] = item.ProjectId;
if (item.WBSType == "Installation")
{
+ decimal ind10 = 0, ind11 = 0, ind12 = 0, ind15 = 0, ind16 = 0, ind17 = 0;
if (item.SupId == "0")
{
row[1] = cn.CnProfessionId.ToString();
@@ -204,25 +205,52 @@ namespace BLL
{
row[1] = item.SupId;
}
- string cnId = BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(item.Id, cnProfessionId);
- Model.View_WBS_CostControlParentDetail parentDetail = parentDetails.FirstOrDefault(x => x.ParentId == cnId && x.Months == months);
- if (parentDetail != null)
+ List cnIds = BLL.CnProfessionService.GetCnProfessionIdsByInstallationIdAndOldId(item.Id, cnProfessionId);
+ foreach (var cnId in cnIds)
{
- row[10] = decimal.Round(Convert.ToDecimal(parentDetail.ThisRealCost), 2);//本月实际成本
- row[11] = decimal.Round(Convert.ToDecimal(parentDetail.ThisPlanValue), 2);//本月计划完成预算
- row[12] = decimal.Round(Convert.ToDecimal(parentDetail.ThisPlanCost), 2);//本月完成预算
- row[15] = decimal.Round(Convert.ToDecimal(parentDetail.TotalRealCost), 2);//累计完成成本
- row[16] = decimal.Round(Convert.ToDecimal(parentDetail.TotalPlanValue), 2);//累计计划完成预算
- row[17] = decimal.Round(Convert.ToDecimal(parentDetail.TotalPlanCost), 2);//累计完成预算
+ Model.View_WBS_CostControlParentDetail parentDetail = parentDetails.FirstOrDefault(x => x.ParentId == cnId && x.Months == months);
+ if (parentDetail != null)
+ {
+ ind10 += decimal.Round(Convert.ToDecimal(parentDetail.ThisRealCost), 2);
+ ind11 += decimal.Round(Convert.ToDecimal(parentDetail.ThisPlanValue), 2);
+ ind12 += decimal.Round(Convert.ToDecimal(parentDetail.ThisPlanCost), 2);
+ ind15 += decimal.Round(Convert.ToDecimal(parentDetail.TotalRealCost), 2);
+ ind16 += decimal.Round(Convert.ToDecimal(parentDetail.TotalPlanValue), 2);
+ ind17 += decimal.Round(Convert.ToDecimal(parentDetail.TotalPlanCost), 2);
+ }
+ else
+ {
+ Model.View_WBS_CostControlParentDetail parentLastDetail = parentDetails.OrderByDescending(x => x.Months).FirstOrDefault(x => x.ParentId == cnId);
+ if (parentLastDetail != null && parentLastDetail.Months <= months)
+ {
+ ind15 += decimal.Round(Convert.ToDecimal(parentLastDetail.TotalRealCost), 2);
+ ind16 += decimal.Round(Convert.ToDecimal(parentLastDetail.TotalPlanValue), 2);
+ ind17 += decimal.Round(Convert.ToDecimal(parentLastDetail.TotalPlanCost), 2);
+ }
+ }
+ }
+ if (ind10 != 0)
+ {
+ row[10] = decimal.Round(ind10, 2);//本月实际成本
+ row[11] = decimal.Round(ind11, 2);//本月计划完成预算
+ row[12] = decimal.Round(ind12, 2);//本月完成预算
+ row[15] = decimal.Round(ind15, 2);//累计完成成本
+ row[16] = decimal.Round(ind16, 2);//累计计划完成预算
+ row[17] = decimal.Round(ind17, 2);//累计完成预算
}
else
{
- Model.View_WBS_CostControlParentDetail parentLastDetail = parentDetails.OrderByDescending(x => x.Months).FirstOrDefault(x => x.ParentId == cnId);
- if (parentLastDetail != null && parentLastDetail.Months <= months)
+ if (ind15 > 0)
{
- row[15] = decimal.Round(Convert.ToDecimal(parentLastDetail.TotalRealCost), 2);//累计完成成本
- row[16] = decimal.Round(Convert.ToDecimal(parentLastDetail.TotalPlanValue), 2);//累计计划完成预算
- row[17] = decimal.Round(Convert.ToDecimal(parentLastDetail.TotalPlanCost), 2);//累计完成预算
+ row[15] = decimal.Round(ind15, 2);//累计完成成本
+ }
+ if (ind16 > 0)
+ {
+ row[16] = decimal.Round(ind16, 2);//累计计划完成预算
+ }
+ if (ind17 > 0)
+ {
+ row[17] = decimal.Round(ind17, 2);//累计完成预算
}
}
}
@@ -491,7 +519,7 @@ namespace BLL
{
if (cnProfessionId != Const.ACCNProfessionalId.ToString() && cnProfessionId != Const.GECNProfessionalId.ToString() && cnProfessionId != Const.UPCNProfessionalId.ToString() && cnProfessionId != Const.TFCNProfessionalId.ToString() && cnProfessionId != Const.GLCNProfessionalId.ToString())
{
- newList = (from x in newList where (x.WBSType == "Installation" && x.Name != "防腐绝热" && x.Name != "地勘" && x.Name != "全厂地下主管网" && x.Name != "临时设施" && x.Name != "总图") || (x.WBSType == "CnProfession" && x.OldCnProfessionId.ToString() == cnProfessionId) || (x.WBSType != "Installation" && x.WBSType != "CnProfession" && x.OldCnProfessionId.ToString() == cnProfessionId && x.OldUnitProjectCode == unitProjectCode) select x).ToList();
+ newList = (from x in newList where (x.WBSType == "Installation" && !x.Name.Contains("防腐绝热") && !x.Name.Contains("地勘") && !x.Name.Contains("全厂地下主管网") && !x.Name.Contains("临时设施") && !x.Name.Contains("总图")) || (x.WBSType == "CnProfession" && x.OldCnProfessionId.ToString() == cnProfessionId) || (x.WBSType != "Installation" && x.WBSType != "CnProfession" && x.OldCnProfessionId.ToString() == cnProfessionId && x.OldUnitProjectCode == unitProjectCode) select x).ToList();
var up = unitProjectInits.FirstOrDefault(x => x.UnitProjectCode == unitProjectCode);
parentRow = table.NewRow();
parentRow[0] = up.UnitProjectCode;
@@ -858,7 +886,7 @@ namespace BLL
{
if (cnProfessionId != Const.ACCNProfessionalId.ToString() && cnProfessionId != Const.GECNProfessionalId.ToString() && cnProfessionId != Const.UPCNProfessionalId.ToString() && cnProfessionId != Const.TFCNProfessionalId.ToString() && cnProfessionId != Const.GLCNProfessionalId.ToString())
{
- newList = (from x in newList where (x.WBSType == "Installation" && x.Name != "防腐绝热" && x.Name != "地勘" && x.Name != "全厂地下主管网" && x.Name != "临时设施" && x.Name != "总图") || (x.WBSType == "CnProfession" && x.OldCnProfessionId.ToString() == cnProfessionId) || (x.WBSType == "UnitProject" && x.OldCnProfessionId.ToString() == cnProfessionId && x.OldUnitProjectCode == unitProjectCode) || (x.WBSType != "Installation" && x.WBSType != "CnProfession" && x.WBSType != "UnitProject" && x.OldCnProfessionId.ToString() == cnProfessionId && x.OldUnitProjectCode == unitProjectCode && x.OldWbsSetCode == wbsSetCode) select x).ToList();
+ newList = (from x in newList where (x.WBSType == "Installation" && !x.Name.Contains("防腐绝热") && !x.Name.Contains("地勘") && !x.Name.Contains("全厂地下主管网") && !x.Name.Contains("临时设施") && !x.Name.Contains("总图")) || (x.WBSType == "CnProfession" && x.OldCnProfessionId.ToString() == cnProfessionId) || (x.WBSType == "UnitProject" && x.OldCnProfessionId.ToString() == cnProfessionId && x.OldUnitProjectCode == unitProjectCode) || (x.WBSType != "Installation" && x.WBSType != "CnProfession" && x.WBSType != "UnitProject" && x.OldCnProfessionId.ToString() == cnProfessionId && x.OldUnitProjectCode == unitProjectCode && x.OldWbsSetCode == wbsSetCode) select x).ToList();
var wb = wbsSetInits.FirstOrDefault(x => x.WbsSetCode == wbsSetCode);
parentRow = table.NewRow();
parentRow[0] = wb.WbsSetCode;
@@ -1349,7 +1377,7 @@ namespace BLL
{
if (cnProfessionId != Const.ACCNProfessionalId.ToString() && cnProfessionId != Const.GECNProfessionalId.ToString() && cnProfessionId != Const.UPCNProfessionalId.ToString() && cnProfessionId != Const.TFCNProfessionalId.ToString() && cnProfessionId != Const.GLCNProfessionalId.ToString())
{
- newList = (from x in newList where (x.WBSType == "Installation" && x.Name != "防腐绝热" && x.Name != "地勘" && x.Name != "全厂地下主管网" && x.Name != "临时设施" && x.Name != "总图") || (x.WBSType != "Installation" && x.OldCnProfessionId.ToString() == cnProfessionId) select x).ToList();
+ newList = (from x in newList where (x.WBSType == "Installation" && !x.Name.Contains("防腐绝热") && !x.Name.Contains("地勘") && !x.Name.Contains("全厂地下主管网") && !x.Name.Contains("临时设施") && !x.Name.Contains("总图")) || (x.WBSType != "Installation" && x.OldCnProfessionId.ToString() == cnProfessionId) select x).ToList();
var cn = cnProfessionInits.FirstOrDefault(x => x.CnProfessionId.ToString() == cnProfessionId);
parentRow = table.NewRow();
parentRow[0] = cn.CnProfessionId.ToString();
@@ -1404,6 +1432,7 @@ namespace BLL
row[3] = item.ProjectId;
if (item.WBSType == "Installation")
{
+ decimal ind10 = 0, ind11 = 0, ind12 = 0, ind15 = 0, ind16 = 0, ind17 = 0;
if (item.SupId == "0")
{
row[1] = cn.CnProfessionId.ToString();
@@ -1412,25 +1441,52 @@ namespace BLL
{
row[1] = item.SupId;
}
- string cnId = BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(item.Id, cnProfessionId);
- Model.View_WBS_CostControlParentDetail parentDetail = parentDetails.FirstOrDefault(x => x.ParentId == cnId && x.Months == months && x.StartDate == start);
- if (parentDetail != null)
+ List cnIds = BLL.CnProfessionService.GetCnProfessionIdsByInstallationIdAndOldId(item.Id, cnProfessionId);
+ foreach (var cnId in cnIds)
{
- row[10] = decimal.Round(Convert.ToDecimal(parentDetail.ThisWeekRealCost), 2);//本周实际成本
- row[11] = decimal.Round(Convert.ToDecimal(parentDetail.ThisWeekPlanValue), 2);//本周计划完成预算
- row[12] = decimal.Round(Convert.ToDecimal(parentDetail.ThisWeekPlanCost), 2);//本周完成预算
- row[15] = decimal.Round(Convert.ToDecimal(parentDetail.TotalWeekRealCost), 2);//累计完成成本
- row[16] = decimal.Round(Convert.ToDecimal(parentDetail.TotalWeekPlanValue), 2);//累计计划完成预算
- row[17] = decimal.Round(Convert.ToDecimal(parentDetail.TotalWeekPlanCost), 2);//累计完成预算
+ Model.View_WBS_CostControlParentDetail parentDetail = parentDetails.FirstOrDefault(x => x.ParentId == cnId && x.Months == months && x.StartDate == start);
+ if (parentDetail != null)
+ {
+ ind10 += decimal.Round(Convert.ToDecimal(parentDetail.ThisRealCost), 2);
+ ind11 += decimal.Round(Convert.ToDecimal(parentDetail.ThisPlanValue), 2);
+ ind12 += decimal.Round(Convert.ToDecimal(parentDetail.ThisPlanCost), 2);
+ ind15 += decimal.Round(Convert.ToDecimal(parentDetail.TotalRealCost), 2);
+ ind16 += decimal.Round(Convert.ToDecimal(parentDetail.TotalPlanValue), 2);
+ ind17 += decimal.Round(Convert.ToDecimal(parentDetail.TotalPlanCost), 2);
+ }
+ else
+ {
+ Model.View_WBS_CostControlParentDetail parentLastDetail = parentDetails.OrderByDescending(x => x.Months).OrderByDescending(x => x.StartDate).FirstOrDefault(x => x.ParentId == cnId);
+ if (parentLastDetail != null && parentLastDetail.Months <= months)
+ {
+ ind15 += decimal.Round(Convert.ToDecimal(parentLastDetail.TotalRealCost), 2);
+ ind16 += decimal.Round(Convert.ToDecimal(parentLastDetail.TotalPlanValue), 2);
+ ind17 += decimal.Round(Convert.ToDecimal(parentLastDetail.TotalPlanCost), 2);
+ }
+ }
+ }
+ if (ind10 != 0)
+ {
+ row[10] = decimal.Round(ind10, 2);//本月实际成本
+ row[11] = decimal.Round(ind11, 2);//本月计划完成预算
+ row[12] = decimal.Round(ind12, 2);//本月完成预算
+ row[15] = decimal.Round(ind15, 2);//累计完成成本
+ row[16] = decimal.Round(ind16, 2);//累计计划完成预算
+ row[17] = decimal.Round(ind17, 2);//累计完成预算
}
else
{
- Model.View_WBS_CostControlParentDetail parentLastDetail = parentDetails.OrderByDescending(x => x.Months).OrderByDescending(x => x.StartDate).FirstOrDefault(x => x.ParentId == cnId);
- if (parentLastDetail != null && parentLastDetail.Months <= months)
+ if (ind15 > 0)
{
- row[15] = decimal.Round(Convert.ToDecimal(parentLastDetail.TotalWeekRealCost), 2);//累计完成成本
- row[16] = decimal.Round(Convert.ToDecimal(parentLastDetail.TotalWeekPlanValue), 2);//累计计划完成预算
- row[17] = decimal.Round(Convert.ToDecimal(parentLastDetail.TotalWeekPlanCost), 2);//累计完成预算
+ row[15] = decimal.Round(ind15, 2);//累计完成成本
+ }
+ if (ind16 > 0)
+ {
+ row[16] = decimal.Round(ind16, 2);//累计计划完成预算
+ }
+ if (ind17 > 0)
+ {
+ row[17] = decimal.Round(ind17, 2);//累计完成预算
}
}
}
@@ -1699,7 +1755,7 @@ namespace BLL
{
if (cnProfessionId != Const.ACCNProfessionalId.ToString() && cnProfessionId != Const.GECNProfessionalId.ToString() && cnProfessionId != Const.UPCNProfessionalId.ToString() && cnProfessionId != Const.TFCNProfessionalId.ToString() && cnProfessionId != Const.GLCNProfessionalId.ToString())
{
- newList = (from x in newList where (x.WBSType == "Installation" && x.Name != "防腐绝热" && x.Name != "地勘" && x.Name != "全厂地下主管网" && x.Name != "临时设施" && x.Name != "总图") || (x.WBSType == "CnProfession" && x.OldCnProfessionId.ToString() == cnProfessionId) || (x.WBSType != "Installation" && x.WBSType != "CnProfession" && x.OldCnProfessionId.ToString() == cnProfessionId && x.OldUnitProjectCode == unitProjectCode) select x).ToList();
+ newList = (from x in newList where (x.WBSType == "Installation" && !x.Name.Contains("防腐绝热") && !x.Name.Contains("地勘") && !x.Name.Contains("全厂地下主管网") && !x.Name.Contains("临时设施") && !x.Name.Contains("总图")) || (x.WBSType == "CnProfession" && x.OldCnProfessionId.ToString() == cnProfessionId) || (x.WBSType != "Installation" && x.WBSType != "CnProfession" && x.OldCnProfessionId.ToString() == cnProfessionId && x.OldUnitProjectCode == unitProjectCode) select x).ToList();
var up = unitProjectInits.FirstOrDefault(x => x.UnitProjectCode == unitProjectCode);
parentRow = table.NewRow();
parentRow[0] = up.UnitProjectCode;
@@ -2066,7 +2122,7 @@ namespace BLL
{
if (cnProfessionId != Const.ACCNProfessionalId.ToString() && cnProfessionId != Const.GECNProfessionalId.ToString() && cnProfessionId != Const.UPCNProfessionalId.ToString() && cnProfessionId != Const.TFCNProfessionalId.ToString() && cnProfessionId != Const.GLCNProfessionalId.ToString())
{
- newList = (from x in newList where (x.WBSType == "Installation" && x.Name != "防腐绝热" && x.Name != "地勘" && x.Name != "全厂地下主管网" && x.Name != "临时设施" && x.Name != "总图") || (x.WBSType == "CnProfession" && x.OldCnProfessionId.ToString() == cnProfessionId) || (x.WBSType == "UnitProject" && x.OldCnProfessionId.ToString() == cnProfessionId && x.OldUnitProjectCode == unitProjectCode) || (x.WBSType != "Installation" && x.WBSType != "CnProfession" && x.WBSType != "UnitProject" && x.OldCnProfessionId.ToString() == cnProfessionId && x.OldUnitProjectCode == unitProjectCode && x.OldWbsSetCode == wbsSetCode) select x).ToList();
+ newList = (from x in newList where (x.WBSType == "Installation" && !x.Name.Contains("防腐绝热") && !x.Name.Contains("地勘") && !x.Name.Contains("全厂地下主管网") && !x.Name.Contains("临时设施") && !x.Name.Contains("总图")) || (x.WBSType == "CnProfession" && x.OldCnProfessionId.ToString() == cnProfessionId) || (x.WBSType == "UnitProject" && x.OldCnProfessionId.ToString() == cnProfessionId && x.OldUnitProjectCode == unitProjectCode) || (x.WBSType != "Installation" && x.WBSType != "CnProfession" && x.WBSType != "UnitProject" && x.OldCnProfessionId.ToString() == cnProfessionId && x.OldUnitProjectCode == unitProjectCode && x.OldWbsSetCode == wbsSetCode) select x).ToList();
var wb = wbsSetInits.FirstOrDefault(x => x.WbsSetCode == wbsSetCode);
parentRow = table.NewRow();
parentRow[0] = wb.WbsSetCode;
diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt
index e69de29b..c04f585d 100644
--- a/SGGL/FineUIPro.Web/ErrLog.txt
+++ b/SGGL/FineUIPro.Web/ErrLog.txt
@@ -0,0 +1,465 @@
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 41
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.WorkloadStatisticsService.GetTreeDataTable(String projectId, DateTime months, String startDate, String cnProfessionId, String unitProjectCode, String wbsSetCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\WorkloadStatisticsService.cs:行号 207
+ 在 FineUIPro.Web.JDGL.WBS.WorkloadStatistics.btnSearch_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WorkloadStatistics.aspx.cs:行号 87
+ 在 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)
+出错时间:01/06/2022 16:31:14
+出错文件:http://localhost:8118/JDGL/WBS/WorkloadStatistics.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:01/06/2022 16:31:14
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 41
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.WorkloadStatisticsService.GetTreeDataTable(String projectId, DateTime months, String startDate, String cnProfessionId, String unitProjectCode, String wbsSetCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\WorkloadStatisticsService.cs:行号 207
+ 在 FineUIPro.Web.JDGL.WBS.WorkloadStatistics.btnSearch_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WorkloadStatistics.aspx.cs:行号 87
+ 在 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)
+出错时间:01/06/2022 16:35:57
+出错文件:http://localhost:8118/JDGL/WBS/WorkloadStatistics.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:01/06/2022 16:35:57
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 41
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.WorkloadStatisticsService.GetTreeDataTable(String projectId, DateTime months, String startDate, String cnProfessionId, String unitProjectCode, String wbsSetCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\WorkloadStatisticsService.cs:行号 207
+ 在 FineUIPro.Web.JDGL.WBS.WorkloadStatistics.btnSearch_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WorkloadStatistics.aspx.cs:行号 87
+ 在 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)
+出错时间:01/06/2022 16:36:52
+出错文件:http://localhost:8118/JDGL/WBS/WorkloadStatistics.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:01/06/2022 16:36:52
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 41
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.WorkloadStatisticsService.GetTreeDataTable(String projectId, DateTime months, String startDate, String cnProfessionId, String unitProjectCode, String wbsSetCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\WorkloadStatisticsService.cs:行号 207
+ 在 FineUIPro.Web.JDGL.WBS.WorkloadStatistics.btnSearch_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WorkloadStatistics.aspx.cs:行号 87
+ 在 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)
+出错时间:01/06/2022 16:39:23
+出错文件:http://localhost:8118/JDGL/WBS/WorkloadStatistics.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:01/06/2022 16:39:24
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 41
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.CnProfessionService.GetCnProfessionIdByInstallationIdAndOldId(String installationId, String oldId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CnProfessionService.cs:行号 46
+ 在 BLL.WorkloadStatisticsService.GetTreeDataTable(String projectId, DateTime months, String startDate, String cnProfessionId, String unitProjectCode, String wbsSetCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\WorkloadStatisticsService.cs:行号 207
+ 在 FineUIPro.Web.JDGL.WBS.WorkloadStatistics.btnSearch_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WorkloadStatistics.aspx.cs:行号 87
+ 在 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)
+出错时间:01/06/2022 16:40:00
+出错文件:http://localhost:8118/JDGL/WBS/WorkloadStatistics.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:01/06/2022 16:40:00
+
+
+错误信息开始=====>
+错误类型:ChangeConflictException
+错误信息:找不到行或行已更改。
+错误堆栈:
+ 在 System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode)
+ 在 System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
+ 在 System.Data.Linq.DataContext.SubmitChanges()
+ 在 BLL.CostControlService.UpdateCostControl(WBS_CostControl costControl) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\CostControlService.cs:行号 89
+ 在 FineUIPro.Web.JDGL.WBS.WBSSetAudit.btnSave_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WBSSetAudit.aspx.cs:行号 1419
+ 在 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)
+出错时间:01/06/2022 16:45:21
+出错文件:http://localhost:8118/JDGL/WBS/WBSSetAudit.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:01/06/2022 16:45:21
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 BLL.Project_InstallationService.GetEndInstallationId(String installationId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\Project_InstallationService.cs:行号 120
+ 在 BLL.Project_InstallationService.GetEndInstallationId(String installationId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\Project_InstallationService.cs:行号 126
+ 在 BLL.Project_InstallationService.GetEndInstallationId(String installationId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\Project_InstallationService.cs:行号 126
+ 在 BLL.Project_InstallationService.GetEndInstallationId(String installationId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\Project_InstallationService.cs:行号 126
+ 在 BLL.Project_InstallationService.GetEndInstallationId(String installationId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\Project_InstallationService.cs:行号 126
+ 在 BLL.UnitProjectService.GetUnitProjectIdByInstallationIdAndCNCodeAndUnitProjectCode(String installationId, String cnCode, String unitProjectCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\UnitProjectService.cs:行号 86
+ 在 BLL.WorkloadStatisticsService.GetTreeDataTable(String projectId, DateTime months, String startDate, String cnProfessionId, String unitProjectCode, String wbsSetCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\WorkloadStatisticsService.cs:行号 546
+ 在 FineUIPro.Web.JDGL.WBS.WorkloadStatistics.btnSearch_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WorkloadStatistics.aspx.cs:行号 87
+ 在 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)
+出错时间:01/07/2022 10:31:27
+出错文件:http://localhost:8118/JDGL/WBS/WorkloadStatistics.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:01/07/2022 10:31:27
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 BLL.Project_InstallationService.GetEndInstallationId(String installationId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\Project_InstallationService.cs:行号 120
+ 在 BLL.Project_InstallationService.GetEndInstallationId(String installationId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\Project_InstallationService.cs:行号 126
+ 在 BLL.Project_InstallationService.GetEndInstallationId(String installationId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\Project_InstallationService.cs:行号 126
+ 在 BLL.Project_InstallationService.GetEndInstallationId(String installationId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\Project_InstallationService.cs:行号 126
+ 在 BLL.Project_InstallationService.GetEndInstallationId(String installationId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\Project_InstallationService.cs:行号 126
+ 在 BLL.UnitProjectService.GetUnitProjectIdByInstallationIdAndCNCodeAndUnitProjectCode(String installationId, String cnCode, String unitProjectCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\UnitProjectService.cs:行号 86
+ 在 BLL.WorkloadStatisticsService.GetTreeDataTable(String projectId, DateTime months, String startDate, String cnProfessionId, String unitProjectCode, String wbsSetCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\WorkloadStatisticsService.cs:行号 546
+ 在 FineUIPro.Web.JDGL.WBS.WorkloadStatistics.btnSearch_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WorkloadStatistics.aspx.cs:行号 87
+ 在 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)
+出错时间:01/07/2022 10:31:34
+出错文件:http://localhost:8118/JDGL/WBS/WorkloadStatistics.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:01/07/2022 10:31:34
+
+
+错误信息开始=====>
+错误类型:SqlException
+错误信息:执行超时已过期。完成操作之前已超时或服务器未响应。
+错误堆栈:
+ 在 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.ExecuteReader()
+ 在 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.Count[TSource](IQueryable`1 source)
+ 在 BLL.GetDataService.CorrectingPersonInOutNumber(String projectId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\OpenService\GetDataService.cs:行号 139
+ 在 BLL.MonitorService.DoSynchData() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\OpenService\MonitorService.cs:行号 2180
+ 在 BLL.MonitorService.ColligateFormConfirmProcessEve(Object sender, ElapsedEventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\OpenService\MonitorService.cs:行号 112
+----错误类型:Win32Exception
+----错误信息:
+----等待的操作过时。
+----错误堆栈:
+ 出错时间:01/07/2022 10:43:01
+出错时间:01/07/2022 10:43:01
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitInvocation(InvocationExpression invoke)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitBinary(BinaryExpression b)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitBinary(BinaryExpression b)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitWhere(Expression sequence, LambdaExpression predicate)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitSelect(Expression sequence, LambdaExpression selector)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc)
+ 在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
+ 在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node)
+ 在 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.DataQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator()
+ 在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
+ 在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
+ 在 BLL.UnitProjectService.GetUnitProjectIdByInstallationIdAndCNCodeAndUnitProjectCode(String installationId, String cnCode, String unitProjectCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\UnitProjectService.cs:行号 86
+ 在 BLL.UnitProjectService.GetUnitProjectIdByInstallationIdAndCNCodeAndUnitProjectCode(String installationId, String cnCode, String unitProjectCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\UnitProjectService.cs:行号 93
+ 在 BLL.UnitProjectService.GetUnitProjectIdByInstallationIdAndCNCodeAndUnitProjectCode(String installationId, String cnCode, String unitProjectCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\UnitProjectService.cs:行号 93
+ 在 BLL.UnitProjectService.GetUnitProjectIdByInstallationIdAndCNCodeAndUnitProjectCode(String installationId, String cnCode, String unitProjectCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\UnitProjectService.cs:行号 93
+ 在 BLL.UnitProjectService.GetUnitProjectIdByInstallationIdAndCNCodeAndUnitProjectCode(String installationId, String cnCode, String unitProjectCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\UnitProjectService.cs:行号 93
+ 在 BLL.WorkloadStatisticsService.GetTreeDataTable(String projectId, DateTime months, String startDate, String cnProfessionId, String unitProjectCode, String wbsSetCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\WorkloadStatisticsService.cs:行号 546
+ 在 FineUIPro.Web.JDGL.WBS.WorkloadStatistics.btnSearch_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WorkloadStatistics.aspx.cs:行号 87
+ 在 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)
+出错时间:01/07/2022 11:05:16
+出错文件:http://localhost:8118/JDGL/WBS/WorkloadStatistics.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:01/07/2022 11:05:16
+
+
+错误信息开始=====>
+错误类型:NullReferenceException
+错误信息:未将对象引用设置到对象的实例。
+错误堆栈:
+ 在 BLL.Project_InstallationService.GetEndInstallationId(String installationId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\Project_InstallationService.cs:行号 120
+ 在 BLL.Project_InstallationService.GetEndInstallationId(String installationId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\Project_InstallationService.cs:行号 126
+ 在 BLL.Project_InstallationService.GetEndInstallationId(String installationId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\Project_InstallationService.cs:行号 126
+ 在 BLL.Project_InstallationService.GetEndInstallationId(String installationId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\Project_InstallationService.cs:行号 126
+ 在 BLL.Project_InstallationService.GetEndInstallationId(String installationId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\Project_InstallationService.cs:行号 126
+ 在 BLL.WbsSetService.GetWbsSetIdByInstallationIdAndCNCodeAndUnitProjectCodeAndWbsSetCode(String installationId, String cnCode, String unitProjectCode, String wbsSetCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\WbsSetService.cs:行号 356
+ 在 BLL.WorkloadStatisticsService.GetTreeDataTable(String projectId, DateTime months, String startDate, String cnProfessionId, String unitProjectCode, String wbsSetCode) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\WBS\WorkloadStatisticsService.cs:行号 913
+ 在 FineUIPro.Web.JDGL.WBS.WorkloadStatistics.btnSearch_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\WorkloadStatistics.aspx.cs:行号 87
+ 在 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)
+出错时间:01/07/2022 11:18:53
+出错文件:http://localhost:8118/JDGL/WBS/WorkloadStatistics.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:01/07/2022 11:18:54
+
+
+错误信息开始=====>
+错误类型:SqlException
+错误信息:执行超时已过期。完成操作之前已超时或服务器未响应。
+错误堆栈:
+ 在 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.ExecuteReader()
+ 在 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.Count[TSource](IQueryable`1 source)
+ 在 BLL.GetDataService.CorrectingPersonInOutNumber(String projectId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\OpenService\GetDataService.cs:行号 139
+ 在 BLL.MonitorService.DoSynchData() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\OpenService\MonitorService.cs:行号 2180
+ 在 BLL.MonitorService.ColligateFormConfirmProcessEve(Object sender, ElapsedEventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\OpenService\MonitorService.cs:行号 112
+----错误类型:Win32Exception
+----错误信息:
+----等待的操作过时。
+----错误堆栈:
+ 出错时间:01/07/2022 11:21:52
+出错时间:01/07/2022 11:21:52
+
+
+错误信息开始=====>
+错误类型:SqlException
+错误信息:执行超时已过期。完成操作之前已超时或服务器未响应。
+错误堆栈:
+ 在 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.ExecuteReader()
+ 在 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.Count[TSource](IQueryable`1 source)
+ 在 BLL.GetDataService.CorrectingPersonInOutNumber(String projectId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\OpenService\GetDataService.cs:行号 139
+ 在 BLL.MonitorService.DoSynchData() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\OpenService\MonitorService.cs:行号 2180
+ 在 BLL.MonitorService.ColligateFormConfirmProcessEve(Object sender, ElapsedEventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\OpenService\MonitorService.cs:行号 112
+----错误类型:Win32Exception
+----错误信息:
+----等待的操作过时。
+----错误堆栈:
+ 出错时间:01/07/2022 11:26:34
+出错时间:01/07/2022 11:26:34
+
+
+错误信息开始=====>
+错误类型:SqlException
+错误信息:执行超时已过期。完成操作之前已超时或服务器未响应。
+错误堆栈:
+ 在 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.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
+ 在 System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
+ 在 System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
+ 在 System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
+ 在 System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)
+ 在 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.ExecuteReader()
+ 在 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.Count[TSource](IQueryable`1 source)
+ 在 BLL.PersonInOutService.DeletePersonInOutByPersonId(String personId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\HSSE\SitePerson\PersonInOutService.cs:行号 114
+ 在 BLL.PersonService.DeletePerson(String personId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\HSSE\SitePerson\PersonService.cs:行号 604
+ 在 FineUIPro.Web.HSSE.SitePerson.PersonList.DeleteData() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\HSSE\SitePerson\PersonList.aspx.cs:行号 364
+ 在 FineUIPro.Web.HSSE.SitePerson.PersonList.btnMenuDelete_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\HSSE\SitePerson\PersonList.aspx.cs:行号 343
+ 在 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)
+----错误类型:Win32Exception
+----错误信息:
+----等待的操作过时。
+----错误堆栈:
+ 出错时间:01/10/2022 10:46:47
+出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:01/10/2022 10:46:47
+
+
+错误信息开始=====>
+错误类型:SqlException
+错误信息:执行超时已过期。完成操作之前已超时或服务器未响应。
+错误堆栈:
+ 在 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.ExecuteReader()
+ 在 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.Count[TSource](IQueryable`1 source)
+ 在 BLL.PersonInOutService.DeletePersonInOutByPersonId(String personId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\HSSE\SitePerson\PersonInOutService.cs:行号 114
+ 在 BLL.PersonService.DeletePerson(String personId) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\HSSE\SitePerson\PersonService.cs:行号 604
+ 在 FineUIPro.Web.HSSE.SitePerson.PersonList.DeleteData() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\HSSE\SitePerson\PersonList.aspx.cs:行号 364
+ 在 FineUIPro.Web.HSSE.SitePerson.PersonList.btnMenuDelete_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\HSSE\SitePerson\PersonList.aspx.cs:行号 343
+ 在 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)
+----错误类型:Win32Exception
+----错误信息:
+----等待的操作过时。
+----错误堆栈:
+ 出错时间:01/10/2022 10:47:58
+出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:01/10/2022 10:47:59
+
diff --git a/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx.cs
index ccc7c46a..4be79f10 100644
--- a/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/HSSE/SitePerson/PersonListEdit.aspx.cs
@@ -103,11 +103,11 @@ namespace FineUIPro.Web.HSSE.SitePerson
this.rblSex.SelectedValue = person.Sex;
}
if (!string.IsNullOrEmpty(person.UnitId))
- {
+ {
var unit = BLL.UnitService.GetUnitByUnitId(person.UnitId);
if (unit != null)
{
- this.txtUnitName.Text = unit.UnitName;
+ this.txtUnitName.Text = unit.UnitName;
}
}
if (!string.IsNullOrEmpty(person.WorkAreaId))
@@ -259,11 +259,11 @@ namespace FineUIPro.Web.HSSE.SitePerson
/// 初始化下拉框
///
private void InitDropDownList()
- {
+ {
WorkPostService.InitWorkPostDropDownList(this.drpPost, true);
PositionService.InitPositionDropDownList(this.drpPosition, true);
- PostTitleService.InitPostTitleDropDownList(this.drpTitle, true);
- CertificateService.InitCertificateDropDownList(this.drpCertificate, true);
+ PostTitleService.InitPostTitleDropDownList(this.drpTitle, true);
+ CertificateService.InitCertificateDropDownList(this.drpCertificate, true);
CNProfessionalService.InitCNProfessionalDownList(this.drpMainCNProfessional, true);
CNProfessionalService.InitCNProfessionalDownList(this.drpViceCNProfessional, true);
BasicDataService.InitBasicDataProjectUnitDropDownList(this.drpEduLevel, "EDU_LEVEL", true);
@@ -494,19 +494,17 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
person.Birthday = Convert.ToDateTime(this.txtBirthday.Text.Trim());
}
- if (string.IsNullOrEmpty(this.txtOutTime.Text.Trim()))
+ if (!string.IsNullOrEmpty(imgPhoto.ImageUrl) && imgPhoto.ImageUrl != "~/res/images/blank_150.png")
{
- if (!string.IsNullOrEmpty(imgPhoto.ImageUrl) && imgPhoto.ImageUrl != "~/res/images/blank_150.png")
- {
- person.PhotoUrl = imgPhoto.ImageUrl.Replace("~/", "");
- person.HeadImage = AttachFileService.SetImageToByteArray(Funs.RootPath + person.PhotoUrl);
- }
- else
- {
- person.PhotoUrl = null;
- person.HeadImage = null;
- }
+ person.PhotoUrl = imgPhoto.ImageUrl.Replace("~/", "");
+ person.HeadImage = AttachFileService.SetImageToByteArray(Funs.RootPath + person.PhotoUrl);
}
+ else
+ {
+ person.PhotoUrl = null;
+ person.HeadImage = null;
+ }
+
if (!string.IsNullOrEmpty(this.txtAuditorDate.Text))
{
@@ -897,7 +895,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
ShowNotify("输入的身份证号码有误!", MessageBoxIcon.Warning);
}
- }
+ }
}
}
}
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/WorkloadInputEdit.aspx b/SGGL/FineUIPro.Web/JDGL/WBS/WorkloadInputEdit.aspx
index 70c8f005..378e5fbc 100644
--- a/SGGL/FineUIPro.Web/JDGL/WBS/WorkloadInputEdit.aspx
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/WorkloadInputEdit.aspx
@@ -36,6 +36,12 @@
LabelAlign="Right">
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/WorkloadInputEdit.aspx.cs b/SGGL/FineUIPro.Web/JDGL/WBS/WorkloadInputEdit.aspx.cs
index cd2a96e0..4d41321f 100644
--- a/SGGL/FineUIPro.Web/JDGL/WBS/WorkloadInputEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/WorkloadInputEdit.aspx.cs
@@ -286,6 +286,40 @@ namespace FineUIPro.Web.JDGL.WBS
}
}
+ ///
+ /// 增加计划月份
+ ///
+ ///
+ ///
+ protected void btnAdd_Click(object sender, EventArgs e)
+ {
+ Save();
+ Model.Wbs_WbsSet wbsSet1 = BLL.WbsSetService.GetWbsSetByWbsSetId(Id);
+ if (wbsSet1.EndDate != null)
+ {
+ wbsSet1.EndDate = wbsSet1.EndDate.Value.AddMonths(1);
+ BLL.WbsSetService.UpdateWbsSet(wbsSet1);
+ }
+ PageContext.RegisterStartupScript(String.Format("window.location.reload();"));
+ }
+
+ ///
+ /// 减少计划月份
+ ///
+ ///
+ ///
+ protected void btnDel_Click(object sender, EventArgs e)
+ {
+ Save();
+ Model.Wbs_WbsSet wbsSet1 = BLL.WbsSetService.GetWbsSetByWbsSetId(Id);
+ if (wbsSet1.EndDate != null)
+ {
+ wbsSet1.EndDate = wbsSet1.EndDate.Value.AddMonths(-1);
+ BLL.WbsSetService.UpdateWbsSet(wbsSet1);
+ }
+ PageContext.RegisterStartupScript(String.Format("window.location.reload();"));
+ }
+
#region 保存
///
/// 保存按钮
@@ -293,6 +327,13 @@ namespace FineUIPro.Web.JDGL.WBS
///
///
protected void btnSave_Click(object sender, EventArgs e)
+ {
+ Save();
+ ShowNotify("保存成功!", MessageBoxIcon.Success);
+ PageContext.RegisterStartupScript(ActiveWindow.GetHideReference());
+ }
+
+ private void Save()
{
Model.Wbs_WbsSet wbsSet1 = BLL.WbsSetService.GetWbsSetByWbsSetId(Id);
DateTime startDate, endDate, startMonth, endMonth;
@@ -418,8 +459,6 @@ namespace FineUIPro.Web.JDGL.WBS
}
}
}
- ShowNotify("保存成功!", MessageBoxIcon.Success);
- PageContext.RegisterStartupScript(ActiveWindow.GetHideReference());
}
#region 更新工作包、工作项
@@ -758,7 +797,7 @@ namespace FineUIPro.Web.JDGL.WBS
Response.Charset = "GB2312";
Response.ContentEncoding = System.Text.Encoding.UTF8;
// 添加头信息,为"文件下载/另存为"对话框指定默认文件名
- Response.AddHeader("Content-Disposition", "attachment; filename="+ Server.UrlEncode("工作量录入_" + DateTime.Now.ToString("yyyyMMddhhmmss") + ".xls"));
+ Response.AddHeader("Content-Disposition", "attachment; filename=" + Server.UrlEncode("工作量录入_" + DateTime.Now.ToString("yyyyMMddhhmmss") + ".xls"));
// 添加头信息,指定文件大小,让浏览器能够显示下载进度
Response.AddHeader("Content-Length", filet.Length.ToString());
// 指定返回的是一个不能被客户端读取的流,必须被下载
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/WorkloadInputEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/JDGL/WBS/WorkloadInputEdit.aspx.designer.cs
index 38de2afc..a2f6ab01 100644
--- a/SGGL/FineUIPro.Web/JDGL/WBS/WorkloadInputEdit.aspx.designer.cs
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/WorkloadInputEdit.aspx.designer.cs
@@ -66,6 +66,24 @@ namespace FineUIPro.Web.JDGL.WBS {
///
protected global::FineUIPro.Label txtCostControlName;
+ ///
+ /// btnAdd 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnAdd;
+
+ ///
+ /// btnDel 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnDel;
+
///
/// btnSave 控件。
///
diff --git a/SGGL/FineUIPro.Web/ProjectData/Installation.aspx.cs b/SGGL/FineUIPro.Web/ProjectData/Installation.aspx.cs
index f7eb4902..49f0d6ae 100644
--- a/SGGL/FineUIPro.Web/ProjectData/Installation.aspx.cs
+++ b/SGGL/FineUIPro.Web/ProjectData/Installation.aspx.cs
@@ -241,8 +241,15 @@ namespace FineUIPro.Web.ProjectData
{
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.ProjectInstallationMenuId, BLL.Const.BtnAdd))
{
+ Model.Project_Installation installation1 = BLL.Project_InstallationService.GetProjectInstallationByProjectId(this.CurrUser.LoginProjectId);
+ if (installation1 != null)
+ {
+ ShowNotify("项目已存在装置,无法抽取!", MessageBoxIcon.Warning);
+ return;
+ }
+ Model.Base_Project project = BLL.ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId);
string contenttype = "application/json;charset=utf-8";
- var returndata = BLL.APIGetHttpService.ControlHttp(Funs.ControlApiUrl + "/Projects/GetConstructionWbsList?ProjId=" + 2370, "GET", contenttype, null, null);
+ var returndata = BLL.APIGetHttpService.ControlHttp(Funs.ControlApiUrl + "/Projects/GetConstructionWbsList?ProjId=" + project.KZProjectCode, "GET", contenttype, null, null);
if (!string.IsNullOrEmpty(returndata))
{
JObject obj = JObject.Parse(returndata);