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 {