diff --git a/DataBase/版本日志/SGGLDB_V2021-11-11-001.sql b/DataBase/版本日志/SGGLDB_V2021-11-11-001.sql index 4fc7d50f..1deb4fe8 100644 --- a/DataBase/版本日志/SGGLDB_V2021-11-11-001.sql +++ b/DataBase/版本日志/SGGLDB_V2021-11-11-001.sql @@ -51,3 +51,6 @@ EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N' GO +alter table [dbo].[HJGL_FirstOKRate] add Months datetime null +alter table [dbo].[HJGL_FinishRate] add Months datetime null +GO \ No newline at end of file diff --git a/SGGL/BLL/API/HJGL/APIGetHJDataService.cs b/SGGL/BLL/API/HJGL/APIGetHJDataService.cs index d97f4a50..d50dd9db 100644 --- a/SGGL/BLL/API/HJGL/APIGetHJDataService.cs +++ b/SGGL/BLL/API/HJGL/APIGetHJDataService.cs @@ -40,6 +40,7 @@ namespace BLL Type = item.Type, Code = item.Code, Name = item.Name, + Months = item.Months, TotalNum = item.TotalNum, FinishNum = item.FinishNum, Rate = item.Rate, @@ -95,6 +96,7 @@ namespace BLL Type = item.Type, Code = item.Code, Name = item.Name, + Months = item.Months, TotalNum = item.TotalNum, OKNum = item.OKNum, Rate = item.Rate, diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index b5affa12..f53ebe09 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -116699,6 +116699,8 @@ namespace Model private string _Rate; + private System.Nullable _Months; + private EntityRef _Base_Project; #region 可扩展性方法定义 @@ -116721,6 +116723,8 @@ namespace Model partial void OnFinishNumChanged(); partial void OnRateChanging(string value); partial void OnRateChanged(); + partial void OnMonthsChanging(System.Nullable value); + partial void OnMonthsChanged(); #endregion public HJGL_FinishRate() @@ -116893,6 +116897,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Months", DbType="DateTime")] + public System.Nullable Months + { + get + { + return this._Months; + } + set + { + if ((this._Months != value)) + { + this.OnMonthsChanging(value); + this.SendPropertyChanging(); + this._Months = value; + this.SendPropertyChanged("Months"); + this.OnMonthsChanged(); + } + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_FinishRate_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] public Base_Project Base_Project { @@ -116970,6 +116994,8 @@ namespace Model private string _Rate; + private System.Nullable _Months; + private EntityRef _Base_Project; #region 可扩展性方法定义 @@ -116992,6 +117018,8 @@ namespace Model partial void OnOKNumChanged(); partial void OnRateChanging(string value); partial void OnRateChanged(); + partial void OnMonthsChanging(System.Nullable value); + partial void OnMonthsChanged(); #endregion public HJGL_FirstOKRate() @@ -117164,6 +117192,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Months", DbType="DateTime")] + public System.Nullable Months + { + get + { + return this._Months; + } + set + { + if ((this._Months != value)) + { + this.OnMonthsChanging(value); + this.SendPropertyChanging(); + this._Months = value; + this.SendPropertyChanged("Months"); + this.OnMonthsChanged(); + } + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_FirstOKRate_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] public Base_Project Base_Project {