From 97e26468a40af826d38e4a0b63c79dc0e29f1a85 Mon Sep 17 00:00:00 2001 From: wendy <408182087@qq.com> Date: Tue, 13 Aug 2024 14:45:57 +0800 Subject: [PATCH] =?UTF-8?q?20240813=20=E5=8D=95=E4=BD=8D=E5=B7=A5=E7=A8=8B?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/BLL/API/APIBaseInfoService.cs | 2 +- SGGL/FineUIPro.Web/CQMS/Check/ShowWBS.aspx.cs | 2 +- .../ConTechnologyDisclosureDataIn.aspx.cs | 4 +- .../DataDistributionDataIn.aspx.cs | 4 +- .../DesignChangeOrderDataIn.aspx.cs | 4 +- .../Comprehensive/DesignDetailsDataIn.aspx.cs | 4 +- .../DesignDrawingsDataIn.aspx.cs | 4 +- .../GeneralPlanApprovalDataIn.aspx.cs | 4 +- .../InspectionPersonDataIn.aspx.cs | 4 +- .../MajorPlanApprovalDataIn.aspx.cs | 4 +- .../Comprehensive/NCRManagementDataIn.aspx.cs | 4 +- .../QualityAccidentDataIn.aspx.cs | 4 +- .../ReviewDrawingsDataIn.aspx.cs | 4 +- .../SiteVisaManagementDataIn.aspx.cs | 7 +- .../CQMS/WBS/ControlItemAndCycle.aspx.cs | 4 +- .../CQMS/WBS/ControlItemAndCycleShow.aspx.cs | 2 +- SGGL/FineUIPro.Web/ErrLog.txt | 20 + SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 2 +- .../HJGL/HotProcessHard/HardFeedback.aspx.cs | 2 +- .../HJGL/HotProcessHard/HardReport.aspx.cs | 2 +- .../HJGL/HotProcessHard/HardTrust.aspx.cs | 2 +- .../HotProcessHard/HotProessFeedback.aspx.cs | 2 +- .../HotProcessHard/HotProessReport.aspx.cs | 2 +- .../HotProcessHard/HotProessTrust.aspx.cs | 2 +- .../HJGL/LeakVacuum/LV_ItemEndCheck.aspx.cs | 2 +- .../HJGL/LeakVacuum/LeakVacuumAudit.aspx.cs | 2 +- .../LeakVacuum/LeakVacuumComplete.aspx.cs | 2 +- .../HJGL/LeakVacuum/LeakVacuumEdit.aspx.cs | 2 +- SGGL/FineUIPro.Web/HJGL/NDT/NDTBatch.aspx.cs | 2 +- .../HJGL/PointTrust/PointBatch.aspx.cs | 2 +- .../HJGL/PointTrust/TrustBatch.aspx.cs | 2 +- .../PurgingCleaning/PC_ItemEndCheck.aspx.cs | 2 +- .../PurgingCleaningAudit.aspx.cs | 2 +- .../PurgingCleaningComplete.aspx.cs | 2 +- .../PurgingCleaningEdit.aspx.cs | 2 +- .../RepairAndExpand/RepairAndExpand.aspx.cs | 2 +- .../HJGL/TestPackage/BItemEndCheck.aspx.cs | 2 +- .../HJGL/TestPackage/ItemEndCheck.aspx.cs | 2 +- .../HJGL/TestPackage/TestPackageAudit.aspx.cs | 996 +++++++++--------- .../TestPackage/TestPackageComplete.aspx.cs | 547 ++++++---- .../HJGL/TestPackage/TestPackageEdit.aspx.cs | 2 +- .../HJGL/WeldingManage/PipelineList.aspx.cs | 2 +- .../WeldingManage/PreWeldReportAudit.aspx.cs | 2 +- .../HJGL/WeldingManage/WeldJointList.aspx.cs | 2 +- .../HJGL/WeldingManage/WeldReport.aspx.cs | 2 +- .../HJGL/WeldingManage/WeldTask.aspx.cs | 2 +- .../HSSE/Check/CheckSpecialEdit.aspx.cs | 2 +- .../JDGL/Check/ProgressShow.aspx.cs | 2 +- .../ProjectData/ProjectUserSave.aspx.cs | 2 +- SGGL/FineUIPro.Web/Web.config | 2 +- 50 files changed, 910 insertions(+), 776 deletions(-) diff --git a/SGGL/BLL/API/APIBaseInfoService.cs b/SGGL/BLL/API/APIBaseInfoService.cs index f070b873..1a647d0c 100644 --- a/SGGL/BLL/API/APIBaseInfoService.cs +++ b/SGGL/BLL/API/APIBaseInfoService.cs @@ -106,7 +106,7 @@ namespace BLL using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) { var getDataLists = (from x in db.WBS_UnitWork - where x.ProjectId == projectId && x.UnitId == unitId && x.SuperUnitWork == null + where x.ProjectId == projectId && x.UnitId == unitId && (x.SuperUnitWork == null || x.SuperUnitWork == "0") orderby x.UnitWorkCode select new Model.BaseInfoItem { diff --git a/SGGL/FineUIPro.Web/CQMS/Check/ShowWBS.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Check/ShowWBS.aspx.cs index 328d5b52..5d1fe3ed 100644 --- a/SGGL/FineUIPro.Web/CQMS/Check/ShowWBS.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Check/ShowWBS.aspx.cs @@ -152,7 +152,7 @@ namespace FineUIPro.Web.CQMS.Check if (e.Node.CommandName == "ProjectType") //展开工程类型 { var trUnitWork = from x in Funs.DB.WBS_UnitWork - where x.ProjectId == this.CurrUser.LoginProjectId && x.SuperUnitWork == null && x.ProjectType == e.Node.NodeID + where x.ProjectId == this.CurrUser.LoginProjectId && (x.SuperUnitWork == null||x.SuperUnitWork=="0") && x.ProjectType == e.Node.NodeID select x; trUnitWork = trUnitWork.OrderBy(x => x.UnitWorkCode); if (trUnitWork.Count() > 0) diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx.cs index b58b1674..882753da 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ConTechnologyDisclosureDataIn.aspx.cs @@ -175,7 +175,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; for (int i = 1; i < ir; i++) @@ -403,7 +403,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; for (int i = 1; i < ir; i++) diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataDistributionDataIn.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataDistributionDataIn.aspx.cs index a938d139..6f925940 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataDistributionDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataDistributionDataIn.aspx.cs @@ -169,7 +169,9 @@ namespace FineUIPro.Web.CQMS.Comprehensive select x; var cns = from x in Funs.DB.Base_CNProfessional select x; - var installations = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId select x; + var installations = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") + select x; for (int i = 0; i < ir; i++) { diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignChangeOrderDataIn.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignChangeOrderDataIn.aspx.cs index 6e2530d7..7ee6dc37 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignChangeOrderDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignChangeOrderDataIn.aspx.cs @@ -171,7 +171,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; for (int i = 1; i < ir; i++) { @@ -428,7 +428,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork=="0") select x; var oldViewInfos = from x in Funs.DB.Comprehensive_DesignChangeOrder diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDetailsDataIn.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDetailsDataIn.aspx.cs index 11c6711e..d0f1bec4 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDetailsDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDetailsDataIn.aspx.cs @@ -175,7 +175,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; for (int i = 1; i < ir; i++) @@ -412,7 +412,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; for (int i = 1; i < ir; i++) diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDrawingsDataIn.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDrawingsDataIn.aspx.cs index d867b7cb..6f128b7e 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDrawingsDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DesignDrawingsDataIn.aspx.cs @@ -175,7 +175,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; for (int i = 1; i < ir; i++) @@ -429,7 +429,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; for (int i = 1; i < ir; i++) diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/GeneralPlanApprovalDataIn.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/GeneralPlanApprovalDataIn.aspx.cs index 2c31f4ac..ba97526f 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/GeneralPlanApprovalDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/GeneralPlanApprovalDataIn.aspx.cs @@ -175,7 +175,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; for (int i = 1; i < ir; i++) @@ -403,7 +403,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; for (int i = 1; i < ir; i++) diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonDataIn.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonDataIn.aspx.cs index b2f87b15..4349c26a 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionPersonDataIn.aspx.cs @@ -175,7 +175,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; var posts = from x in Funs.DB.Base_Post select x; @@ -456,7 +456,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; var posts = from x in Funs.DB.Base_Post select x; diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/MajorPlanApprovalDataIn.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/MajorPlanApprovalDataIn.aspx.cs index 976e4f5b..4e79929f 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/MajorPlanApprovalDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/MajorPlanApprovalDataIn.aspx.cs @@ -175,7 +175,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; for (int i = 1; i < ir; i++) @@ -397,7 +397,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; for (int i = 1; i < ir; i++) diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataIn.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataIn.aspx.cs index 3d2e31e4..06d87761 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataIn.aspx.cs @@ -175,7 +175,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; var users = from x in Funs.DB.Project_ProjectUser @@ -478,7 +478,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; var users = from x in Funs.DB.Project_ProjectUser diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/QualityAccidentDataIn.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/QualityAccidentDataIn.aspx.cs index 59f0caad..73cc5f0b 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/QualityAccidentDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/QualityAccidentDataIn.aspx.cs @@ -173,7 +173,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; for (int i = 1; i < ir; i++) @@ -379,7 +379,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; for (int i = 1; i < ir; i++) diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ReviewDrawingsDataIn.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ReviewDrawingsDataIn.aspx.cs index 7a8a273c..32ee348a 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/ReviewDrawingsDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/ReviewDrawingsDataIn.aspx.cs @@ -175,7 +175,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; for (int i = 1; i < ir; i++) @@ -407,7 +407,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive var unitWorks = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId - && x.SuperUnitWork == null + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; for (int i = 1; i < ir; i++) diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/SiteVisaManagementDataIn.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/SiteVisaManagementDataIn.aspx.cs index f56ed2ff..e6d9a421 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/SiteVisaManagementDataIn.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/SiteVisaManagementDataIn.aspx.cs @@ -166,7 +166,10 @@ namespace FineUIPro.Web.CQMS.Comprehensive join y in Funs.DB.Project_ProjectUnit on x.UnitId equals y.UnitId where y.ProjectId == this.CurrUser.LoginProjectId && (y.UnitType == Const.ProjectUnitType_1 || y.UnitType == Const.ProjectUnitType_2) select x; - var ins = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId && x.SuperUnitWork == null orderby x.UnitWorkCode select x; + var ins = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId + && (x.SuperUnitWork == null || x.SuperUnitWork == "0") + orderby x.UnitWorkCode + select x; var cns = from x in Funs.DB.Base_CNProfessional select x; for (int i = 1; i < ir; i++) @@ -394,7 +397,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive select x; var cns = from x in Funs.DB.Base_CNProfessional select x; - var ins = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId && x.SuperUnitWork == null select x; + var ins = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId && (x.SuperUnitWork == null || x.SuperUnitWork == "0") select x; var oldViewInfos = from x in Funs.DB.Comprehensive_SiteVisaManagement where x.ProjectId == this.CurrUser.LoginProjectId select x; diff --git a/SGGL/FineUIPro.Web/CQMS/WBS/ControlItemAndCycle.aspx.cs b/SGGL/FineUIPro.Web/CQMS/WBS/ControlItemAndCycle.aspx.cs index 68e185f9..b3b4d224 100644 --- a/SGGL/FineUIPro.Web/CQMS/WBS/ControlItemAndCycle.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/WBS/ControlItemAndCycle.aspx.cs @@ -121,7 +121,7 @@ namespace FineUIPro.Web.CQMS.WBS if (e.Node.CommandName == "ProjectType") //展开工程类型 { var trUnitWork = from x in Funs.DB.WBS_UnitWork - where x.ProjectId == this.CurrUser.LoginProjectId && x.SuperUnitWork == null && x.ProjectType == e.Node.NodeID + where x.ProjectId == this.CurrUser.LoginProjectId && (x.SuperUnitWork == null || x.SuperUnitWork == "0") && x.ProjectType == e.Node.NodeID select x; trUnitWork = trUnitWork.OrderBy(x => x.UnitWorkCode); if (trUnitWork.Count() > 0) @@ -1033,7 +1033,7 @@ namespace FineUIPro.Web.CQMS.WBS { rootNode.Expanded = true; var trUnitWork = from x in Funs.DB.WBS_UnitWork - where x.ProjectId == this.CurrUser.LoginProjectId && x.SuperUnitWork == null && x.ProjectType == projectType + where x.ProjectId == this.CurrUser.LoginProjectId && (x.SuperUnitWork == null || x.SuperUnitWork == "0") && x.ProjectType == projectType select x; trUnitWork = trUnitWork.OrderBy(x => x.UnitWorkCode); if (trUnitWork.Count() > 0) diff --git a/SGGL/FineUIPro.Web/CQMS/WBS/ControlItemAndCycleShow.aspx.cs b/SGGL/FineUIPro.Web/CQMS/WBS/ControlItemAndCycleShow.aspx.cs index 9b159685..4a908769 100644 --- a/SGGL/FineUIPro.Web/CQMS/WBS/ControlItemAndCycleShow.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/WBS/ControlItemAndCycleShow.aspx.cs @@ -120,7 +120,7 @@ namespace FineUIPro.Web.CQMS.WBS if (e.Node.CommandName == "ProjectType") //展开工程类型 { var trUnitWork = from x in Funs.DB.WBS_UnitWork - where x.ProjectId == this.CurrUser.LoginProjectId && x.SuperUnitWork == null && x.ProjectType == e.Node.NodeID + where x.ProjectId == this.CurrUser.LoginProjectId && (x.SuperUnitWork == null || x.SuperUnitWork == "0") && x.ProjectType == e.Node.NodeID select x; trUnitWork = trUnitWork.OrderBy(x => x.UnitWorkCode); if (trUnitWork.Count() > 0) diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt index e69de29b..669dacf8 100644 --- a/SGGL/FineUIPro.Web/ErrLog.txt +++ b/SGGL/FineUIPro.Web/ErrLog.txt @@ -0,0 +1,20 @@ + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 FineUIPro.Web.ProjectData.UnitWork.getWBSSet() 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\ProjectData\UnitWork.aspx.cs:行号 461 + 在 FineUIPro.Web.ProjectData.UnitWork.Window2_Close(Object sender, WindowCloseEventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\ProjectData\UnitWork.aspx.cs:行号 221 + 在 FineUIPro.Window.OnClose(WindowCloseEventArgs e) + 在 (Window , WindowCloseEventArgs ) + 在 FineUIPro.Window.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) +出错时间:08/13/2024 14:44:02 +出错文件:http://localhost:8579/ProjectData/UnitWork.aspx +IP地址:::1 +操作人员:JT + +出错时间:08/13/2024 14:44:02 + diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index b538f6f6..7efa2411 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -19216,7 +19216,7 @@ - + - +