From 6679a6506d3277ddbefd2fad55f35696225cd8ad Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Thu, 8 Jan 2026 15:50:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=B0=E5=9C=BA=E6=8E=A7=E5=88=B6=E7=82=B9?= =?UTF-8?q?=E8=A3=81=E5=89=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CQMS/WBS/EditDivisionProject.aspx.cs | 4 + SGGL/Model/Model.cs | 133 +++++++++++++++++- 2 files changed, 133 insertions(+), 4 deletions(-) diff --git a/SGGL/FineUIPro.Web/CQMS/WBS/EditDivisionProject.aspx.cs b/SGGL/FineUIPro.Web/CQMS/WBS/EditDivisionProject.aspx.cs index aef048a4..2419bdbe 100644 --- a/SGGL/FineUIPro.Web/CQMS/WBS/EditDivisionProject.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/WBS/EditDivisionProject.aspx.cs @@ -79,6 +79,10 @@ namespace FineUIPro.Web.CQMS.WBS if (!string.IsNullOrEmpty(this.txtDivisionName.Text.Trim())) { string selectedCode = Request.Params["selectedCode"]; + if (selectedCode.Contains('|')) + { + selectedCode = selectedCode.Split('|')[1]; + } Model.Base_CNProfessional cNProfessional = BLL.CNProfessionalService.GetCNProfessional(selectedCode); Model.WBS_DivisionProject divisionProject = BLL.DivisionProjectService.GetDivisionProjectById(selectedCode); if (Request.Params["type"] == "add") diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index 038b9a0c..07ecba59 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -10256,6 +10256,14 @@ namespace Model } } + public System.Data.Linq.Table View_EmployInOutRecord + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table View_Environmental_ArchitectureReport { get @@ -300540,7 +300548,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ControlPointType", DbType="NVarChar(50)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ControlPointType", DbType="NVarChar(100)")] public string ControlPointType { get @@ -300560,7 +300568,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AcceptanceSite", DbType="NVarChar(50)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AcceptanceSite", DbType="NVarChar(200)")] public string AcceptanceSite { get @@ -427696,7 +427704,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AcceptanceSite", DbType="NVarChar(50)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AcceptanceSite", DbType="NVarChar(200)")] public string AcceptanceSite { get @@ -432349,6 +432357,123 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_EmployInOutRecord")] + public partial class View_EmployInOutRecord + { + + private string _ProjectId; + + private string _UnitId; + + private string _PostId; + + private System.Nullable _RecordDate; + + private string _UnitWorkId; + + private System.Nullable _ActualQuantity; + + public View_EmployInOutRecord() + { + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this._ProjectId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="VarChar(100)")] + public string UnitId + { + get + { + return this._UnitId; + } + set + { + if ((this._UnitId != value)) + { + this._UnitId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PostId", DbType="NVarChar(50)")] + public string PostId + { + get + { + return this._PostId; + } + set + { + if ((this._PostId != value)) + { + this._PostId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordDate", DbType="DateTime")] + public System.Nullable RecordDate + { + get + { + return this._RecordDate; + } + set + { + if ((this._RecordDate != value)) + { + this._RecordDate = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWorkId", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + public string UnitWorkId + { + get + { + return this._UnitWorkId; + } + set + { + if ((this._UnitWorkId != value)) + { + this._UnitWorkId = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActualQuantity", DbType="Int")] + public System.Nullable ActualQuantity + { + get + { + return this._ActualQuantity; + } + set + { + if ((this._ActualQuantity != value)) + { + this._ActualQuantity = value; + } + } + } + } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Environmental_ArchitectureReport")] public partial class View_Environmental_ArchitectureReport { @@ -446662,7 +446787,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AcceptanceSite", DbType="NVarChar(50)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AcceptanceSite", DbType="NVarChar(200)")] public string AcceptanceSite { get