提交代码

This commit is contained in:
2024-03-18 09:09:37 +08:00
27 changed files with 5390 additions and 245 deletions
+603
View File
@@ -1955,6 +1955,9 @@ namespace Model
partial void InsertReport_ConstructionProblems(Report_ConstructionProblems instance);
partial void UpdateReport_ConstructionProblems(Report_ConstructionProblems instance);
partial void DeleteReport_ConstructionProblems(Report_ConstructionProblems instance);
partial void InsertReport_CqmsTarget(Report_CqmsTarget instance);
partial void UpdateReport_CqmsTarget(Report_CqmsTarget instance);
partial void DeleteReport_CqmsTarget(Report_CqmsTarget instance);
partial void InsertReport_NextQualityControl(Report_NextQualityControl instance);
partial void UpdateReport_NextQualityControl(Report_NextQualityControl instance);
partial void DeleteReport_NextQualityControl(Report_NextQualityControl instance);
@@ -1964,12 +1967,18 @@ namespace Model
partial void InsertReport_RowMaterialProblem(Report_RowMaterialProblem instance);
partial void UpdateReport_RowMaterialProblem(Report_RowMaterialProblem instance);
partial void DeleteReport_RowMaterialProblem(Report_RowMaterialProblem instance);
partial void InsertReport_TextBoxContent(Report_TextBoxContent instance);
partial void UpdateReport_TextBoxContent(Report_TextBoxContent instance);
partial void DeleteReport_TextBoxContent(Report_TextBoxContent instance);
partial void InsertReport_ThisWeekOrMonthContent(Report_ThisWeekOrMonthContent instance);
partial void UpdateReport_ThisWeekOrMonthContent(Report_ThisWeekOrMonthContent instance);
partial void DeleteReport_ThisWeekOrMonthContent(Report_ThisWeekOrMonthContent instance);
partial void InsertReport_WeekAndMonthReport(Report_WeekAndMonthReport instance);
partial void UpdateReport_WeekAndMonthReport(Report_WeekAndMonthReport instance);
partial void DeleteReport_WeekAndMonthReport(Report_WeekAndMonthReport instance);
partial void InsertReport_WeekAndMonthReport_New(Report_WeekAndMonthReport_New instance);
partial void UpdateReport_WeekAndMonthReport_New(Report_WeekAndMonthReport_New instance);
partial void DeleteReport_WeekAndMonthReport_New(Report_WeekAndMonthReport_New instance);
partial void InsertReportServer(ReportServer instance);
partial void UpdateReportServer(ReportServer instance);
partial void DeleteReportServer(ReportServer instance);
@@ -7734,6 +7743,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Report_CqmsTarget> Report_CqmsTarget
{
get
{
return this.GetTable<Report_CqmsTarget>();
}
}
public System.Data.Linq.Table<Report_NextQualityControl> Report_NextQualityControl
{
get
@@ -7758,6 +7775,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Report_TextBoxContent> Report_TextBoxContent
{
get
{
return this.GetTable<Report_TextBoxContent>();
}
}
public System.Data.Linq.Table<Report_ThisWeekOrMonthContent> Report_ThisWeekOrMonthContent
{
get
@@ -7774,6 +7799,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Report_WeekAndMonthReport_New> Report_WeekAndMonthReport_New
{
get
{
return this.GetTable<Report_WeekAndMonthReport_New>();
}
}
public System.Data.Linq.Table<ReportServer> ReportServer
{
get
@@ -305202,6 +305235,236 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Report_CqmsTarget")]
public partial class Report_CqmsTarget : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _ReportId;
private string _ProStage;
private string _ProDescribe;
private string _TargetValue;
private string _MonthPer;
private string _Remarks;
private System.Nullable<int> _SortId;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnIdChanging(string value);
partial void OnIdChanged();
partial void OnReportIdChanging(string value);
partial void OnReportIdChanged();
partial void OnProStageChanging(string value);
partial void OnProStageChanged();
partial void OnProDescribeChanging(string value);
partial void OnProDescribeChanged();
partial void OnTargetValueChanging(string value);
partial void OnTargetValueChanged();
partial void OnMonthPerChanging(string value);
partial void OnMonthPerChanged();
partial void OnRemarksChanging(string value);
partial void OnRemarksChanged();
partial void OnSortIdChanging(System.Nullable<int> value);
partial void OnSortIdChanged();
#endregion
public Report_CqmsTarget()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string Id
{
get
{
return this._Id;
}
set
{
if ((this._Id != value))
{
this.OnIdChanging(value);
this.SendPropertyChanging();
this._Id = value;
this.SendPropertyChanged("Id");
this.OnIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportId", DbType="NVarChar(50)")]
public string ReportId
{
get
{
return this._ReportId;
}
set
{
if ((this._ReportId != value))
{
this.OnReportIdChanging(value);
this.SendPropertyChanging();
this._ReportId = value;
this.SendPropertyChanged("ReportId");
this.OnReportIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProStage", DbType="NVarChar(50)")]
public string ProStage
{
get
{
return this._ProStage;
}
set
{
if ((this._ProStage != value))
{
this.OnProStageChanging(value);
this.SendPropertyChanging();
this._ProStage = value;
this.SendPropertyChanged("ProStage");
this.OnProStageChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProDescribe", DbType="NVarChar(200)")]
public string ProDescribe
{
get
{
return this._ProDescribe;
}
set
{
if ((this._ProDescribe != value))
{
this.OnProDescribeChanging(value);
this.SendPropertyChanging();
this._ProDescribe = value;
this.SendPropertyChanged("ProDescribe");
this.OnProDescribeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TargetValue", DbType="NVarChar(50)")]
public string TargetValue
{
get
{
return this._TargetValue;
}
set
{
if ((this._TargetValue != value))
{
this.OnTargetValueChanging(value);
this.SendPropertyChanging();
this._TargetValue = value;
this.SendPropertyChanged("TargetValue");
this.OnTargetValueChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MonthPer", DbType="NVarChar(50)")]
public string MonthPer
{
get
{
return this._MonthPer;
}
set
{
if ((this._MonthPer != value))
{
this.OnMonthPerChanging(value);
this.SendPropertyChanging();
this._MonthPer = value;
this.SendPropertyChanged("MonthPer");
this.OnMonthPerChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(200)")]
public string Remarks
{
get
{
return this._Remarks;
}
set
{
if ((this._Remarks != value))
{
this.OnRemarksChanging(value);
this.SendPropertyChanging();
this._Remarks = value;
this.SendPropertyChanged("Remarks");
this.OnRemarksChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortId", DbType="Int")]
public System.Nullable<int> SortId
{
get
{
return this._SortId;
}
set
{
if ((this._SortId != value))
{
this.OnSortIdChanging(value);
this.SendPropertyChanging();
this._SortId = value;
this.SendPropertyChanged("SortId");
this.OnSortIdChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void SendPropertyChanging()
{
if ((this.PropertyChanging != null))
{
this.PropertyChanging(this, emptyChangingEventArgs);
}
}
protected virtual void SendPropertyChanged(String propertyName)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Report_NextQualityControl")]
public partial class Report_NextQualityControl : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -305734,6 +305997,140 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Report_TextBoxContent")]
public partial class Report_TextBoxContent : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _ReportId;
private string _ContentType;
private string _ContentText;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnIdChanging(string value);
partial void OnIdChanged();
partial void OnReportIdChanging(string value);
partial void OnReportIdChanged();
partial void OnContentTypeChanging(string value);
partial void OnContentTypeChanged();
partial void OnContentTextChanging(string value);
partial void OnContentTextChanged();
#endregion
public Report_TextBoxContent()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string Id
{
get
{
return this._Id;
}
set
{
if ((this._Id != value))
{
this.OnIdChanging(value);
this.SendPropertyChanging();
this._Id = value;
this.SendPropertyChanged("Id");
this.OnIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportId", DbType="NVarChar(50)")]
public string ReportId
{
get
{
return this._ReportId;
}
set
{
if ((this._ReportId != value))
{
this.OnReportIdChanging(value);
this.SendPropertyChanging();
this._ReportId = value;
this.SendPropertyChanged("ReportId");
this.OnReportIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContentType", DbType="NVarChar(20)")]
public string ContentType
{
get
{
return this._ContentType;
}
set
{
if ((this._ContentType != value))
{
this.OnContentTypeChanging(value);
this.SendPropertyChanging();
this._ContentType = value;
this.SendPropertyChanged("ContentType");
this.OnContentTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContentText", DbType="NVarChar(1000)")]
public string ContentText
{
get
{
return this._ContentText;
}
set
{
if ((this._ContentText != value))
{
this.OnContentTextChanging(value);
this.SendPropertyChanging();
this._ContentText = value;
this.SendPropertyChanged("ContentText");
this.OnContentTextChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void SendPropertyChanging()
{
if ((this.PropertyChanging != null))
{
this.PropertyChanging(this, emptyChangingEventArgs);
}
}
protected virtual void SendPropertyChanged(String propertyName)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Report_ThisWeekOrMonthContent")]
public partial class Report_ThisWeekOrMonthContent : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -306248,6 +306645,212 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Report_WeekAndMonthReport_New")]
public partial class Report_WeekAndMonthReport_New : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _ProjectId;
private System.Nullable<System.DateTime> _StartDate;
private System.Nullable<System.DateTime> _EndDate;
private string _SortId;
private System.Nullable<System.DateTime> _CreateDate;
private string _CreateMan;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnIdChanging(string value);
partial void OnIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnStartDateChanging(System.Nullable<System.DateTime> value);
partial void OnStartDateChanged();
partial void OnEndDateChanging(System.Nullable<System.DateTime> value);
partial void OnEndDateChanged();
partial void OnSortIdChanging(string value);
partial void OnSortIdChanged();
partial void OnCreateDateChanging(System.Nullable<System.DateTime> value);
partial void OnCreateDateChanged();
partial void OnCreateManChanging(string value);
partial void OnCreateManChanged();
#endregion
public Report_WeekAndMonthReport_New()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string Id
{
get
{
return this._Id;
}
set
{
if ((this._Id != value))
{
this.OnIdChanging(value);
this.SendPropertyChanging();
this._Id = value;
this.SendPropertyChanged("Id");
this.OnIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
get
{
return this._ProjectId;
}
set
{
if ((this._ProjectId != value))
{
this.OnProjectIdChanging(value);
this.SendPropertyChanging();
this._ProjectId = value;
this.SendPropertyChanged("ProjectId");
this.OnProjectIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartDate", DbType="DateTime")]
public System.Nullable<System.DateTime> StartDate
{
get
{
return this._StartDate;
}
set
{
if ((this._StartDate != value))
{
this.OnStartDateChanging(value);
this.SendPropertyChanging();
this._StartDate = value;
this.SendPropertyChanged("StartDate");
this.OnStartDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndDate", DbType="DateTime")]
public System.Nullable<System.DateTime> EndDate
{
get
{
return this._EndDate;
}
set
{
if ((this._EndDate != value))
{
this.OnEndDateChanging(value);
this.SendPropertyChanging();
this._EndDate = value;
this.SendPropertyChanged("EndDate");
this.OnEndDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortId", DbType="NVarChar(50)")]
public string SortId
{
get
{
return this._SortId;
}
set
{
if ((this._SortId != value))
{
this.OnSortIdChanging(value);
this.SendPropertyChanging();
this._SortId = value;
this.SendPropertyChanged("SortId");
this.OnSortIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="DateTime")]
public System.Nullable<System.DateTime> CreateDate
{
get
{
return this._CreateDate;
}
set
{
if ((this._CreateDate != value))
{
this.OnCreateDateChanging(value);
this.SendPropertyChanging();
this._CreateDate = value;
this.SendPropertyChanged("CreateDate");
this.OnCreateDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateMan", DbType="NVarChar(50)")]
public string CreateMan
{
get
{
return this._CreateMan;
}
set
{
if ((this._CreateMan != value))
{
this.OnCreateManChanging(value);
this.SendPropertyChanging();
this._CreateMan = value;
this.SendPropertyChanged("CreateMan");
this.OnCreateManChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void SendPropertyChanging()
{
if ((this.PropertyChanging != null))
{
this.PropertyChanging(this, emptyChangingEventArgs);
}
}
protected virtual void SendPropertyChanged(String propertyName)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ReportServer")]
public partial class ReportServer : INotifyPropertyChanging, INotifyPropertyChanged
{