From 7308c6d35e736597c0828b04a0bd55314366adeb Mon Sep 17 00:00:00 2001 From: gaofei <181547018@qq.com> Date: Wed, 29 Mar 2023 17:41:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A9=BF=E9=80=8F=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../版本日志/SGGLDB_WH_2023-03-27.sql | 2 - .../版本日志/SGGLDB_WH_2023-03-29.sql | 3 ++ SGGL/Model/Model.cs | 48 +++++++++++++++++++ 3 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 DataBase/版本日志/SGGLDB_WH_2023-03-29.sql diff --git a/DataBase/版本日志/SGGLDB_WH_2023-03-27.sql b/DataBase/版本日志/SGGLDB_WH_2023-03-27.sql index 61fa492b..e64abbca 100644 --- a/DataBase/版本日志/SGGLDB_WH_2023-03-27.sql +++ b/DataBase/版本日志/SGGLDB_WH_2023-03-27.sql @@ -354,5 +354,3 @@ alter table [dbo].Comprehensive_DesignDetails add Status nvarchar(2) null GO alter table [dbo].Hazard_HazardSelectedItem add HazardSelectedItemId nvarchar(50) null GO - - diff --git a/DataBase/版本日志/SGGLDB_WH_2023-03-29.sql b/DataBase/版本日志/SGGLDB_WH_2023-03-29.sql new file mode 100644 index 00000000..6fefe8e8 --- /dev/null +++ b/DataBase/版本日志/SGGLDB_WH_2023-03-29.sql @@ -0,0 +1,3 @@ +alter table [dbo].[Base_Certificate] add [CertificateType] char(1) null +alter table [dbo].[Base_Certificate] add IsRegisterHSSE bit null +GO \ No newline at end of file diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index 90692d41..dd69c182 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -16277,6 +16277,10 @@ namespace Model private string _Remark; + private string _CertificateType; + + private System.Nullable _IsRegisterHSSE; + private EntitySet _QualityAudit_EquipmentPersonQuality; private EntitySet _QualityAudit_PersonQuality; @@ -16293,6 +16297,10 @@ namespace Model partial void OnCertificateNameChanged(); partial void OnRemarkChanging(string value); partial void OnRemarkChanged(); + partial void OnCertificateTypeChanging(string value); + partial void OnCertificateTypeChanged(); + partial void OnIsRegisterHSSEChanging(System.Nullable value); + partial void OnIsRegisterHSSEChanged(); #endregion public Base_Certificate() @@ -16382,6 +16390,46 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CertificateType", DbType="Char(1)")] + public string CertificateType + { + get + { + return this._CertificateType; + } + set + { + if ((this._CertificateType != value)) + { + this.OnCertificateTypeChanging(value); + this.SendPropertyChanging(); + this._CertificateType = value; + this.SendPropertyChanged("CertificateType"); + this.OnCertificateTypeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsRegisterHSSE", DbType="Bit")] + public System.Nullable IsRegisterHSSE + { + get + { + return this._IsRegisterHSSE; + } + set + { + if ((this._IsRegisterHSSE != value)) + { + this.OnIsRegisterHSSEChanging(value); + this.SendPropertyChanging(); + this._IsRegisterHSSE = value; + this.SendPropertyChanged("IsRegisterHSSE"); + this.OnIsRegisterHSSEChanged(); + } + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_QualityAudit_EquipmentPersonQuality_Base_Certificate", Storage="_QualityAudit_EquipmentPersonQuality", ThisKey="CertificateId", OtherKey="CertificateId", DeleteRule="NO ACTION")] public EntitySet QualityAudit_EquipmentPersonQuality {