修改施工日志

This commit is contained in:
2023-09-25 19:20:08 +08:00
parent afce1cfc6a
commit 40afc9e40b
19 changed files with 5840 additions and 64 deletions
+646
View File
@@ -1751,6 +1751,9 @@ namespace Model
partial void InsertZHGL_ConstructionReportApprove(ZHGL_ConstructionReportApprove instance);
partial void UpdateZHGL_ConstructionReportApprove(ZHGL_ConstructionReportApprove instance);
partial void DeleteZHGL_ConstructionReportApprove(ZHGL_ConstructionReportApprove instance);
partial void InsertZHGL_ProjectConstructionLog(ZHGL_ProjectConstructionLog instance);
partial void UpdateZHGL_ProjectConstructionLog(ZHGL_ProjectConstructionLog instance);
partial void DeleteZHGL_ProjectConstructionLog(ZHGL_ProjectConstructionLog instance);
partial void InsertZHGL_WorkHandover(ZHGL_WorkHandover instance);
partial void UpdateZHGL_WorkHandover(ZHGL_WorkHandover instance);
partial void DeleteZHGL_WorkHandover(ZHGL_WorkHandover instance);
@@ -7154,6 +7157,14 @@ namespace Model
}
}
public System.Data.Linq.Table<ZHGL_ProjectConstructionLog> ZHGL_ProjectConstructionLog
{
get
{
return this.GetTable<ZHGL_ProjectConstructionLog>();
}
}
public System.Data.Linq.Table<ZHGL_WorkHandover> ZHGL_WorkHandover
{
get
@@ -24101,6 +24112,8 @@ namespace Model
private EntitySet<ZHGL_ConstructionReport> _ZHGL_ConstructionReport;
private EntitySet<ZHGL_ProjectConstructionLog> _ZHGL_ProjectConstructionLog;
private EntitySet<ZHGL_WorkHandover> _ZHGL_WorkHandover;
#region
@@ -24341,6 +24354,7 @@ namespace Model
this._ZHGL_ConstructionMonthReport = new EntitySet<ZHGL_ConstructionMonthReport>(new Action<ZHGL_ConstructionMonthReport>(this.attach_ZHGL_ConstructionMonthReport), new Action<ZHGL_ConstructionMonthReport>(this.detach_ZHGL_ConstructionMonthReport));
this._ZHGL_ConstructionPlan = new EntitySet<ZHGL_ConstructionPlan>(new Action<ZHGL_ConstructionPlan>(this.attach_ZHGL_ConstructionPlan), new Action<ZHGL_ConstructionPlan>(this.detach_ZHGL_ConstructionPlan));
this._ZHGL_ConstructionReport = new EntitySet<ZHGL_ConstructionReport>(new Action<ZHGL_ConstructionReport>(this.attach_ZHGL_ConstructionReport), new Action<ZHGL_ConstructionReport>(this.detach_ZHGL_ConstructionReport));
this._ZHGL_ProjectConstructionLog = new EntitySet<ZHGL_ProjectConstructionLog>(new Action<ZHGL_ProjectConstructionLog>(this.attach_ZHGL_ProjectConstructionLog), new Action<ZHGL_ProjectConstructionLog>(this.detach_ZHGL_ProjectConstructionLog));
this._ZHGL_WorkHandover = new EntitySet<ZHGL_WorkHandover>(new Action<ZHGL_WorkHandover>(this.attach_ZHGL_WorkHandover), new Action<ZHGL_WorkHandover>(this.detach_ZHGL_WorkHandover));
OnCreated();
}
@@ -27217,6 +27231,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ZHGL_ProjectConstructionLog_Base_Project", Storage="_ZHGL_ProjectConstructionLog", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet<ZHGL_ProjectConstructionLog> ZHGL_ProjectConstructionLog
{
get
{
return this._ZHGL_ProjectConstructionLog;
}
set
{
this._ZHGL_ProjectConstructionLog.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ZHGL_WorkHandover_Base_Project", Storage="_ZHGL_WorkHandover", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet<ZHGL_WorkHandover> ZHGL_WorkHandover
{
@@ -29314,6 +29341,18 @@ namespace Model
entity.Base_Project = null;
}
private void attach_ZHGL_ProjectConstructionLog(ZHGL_ProjectConstructionLog entity)
{
this.SendPropertyChanging();
entity.Base_Project = this;
}
private void detach_ZHGL_ProjectConstructionLog(ZHGL_ProjectConstructionLog entity)
{
this.SendPropertyChanging();
entity.Base_Project = null;
}
private void attach_ZHGL_WorkHandover(ZHGL_WorkHandover entity)
{
this.SendPropertyChanging();
@@ -307644,6 +307683,613 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ZHGL_ProjectConstructionLog")]
public partial class ZHGL_ProjectConstructionLog : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _ProjectConstructionLogId;
private string _ProjectId;
private string _Weather;
private string _Temperature;
private string _ContractNo;
private string _UnitWorks;
private string _Professional;
private string _CompileMan;
private System.Nullable<System.DateTime> _CompileDate;
private string _State;
private string _Remark;
private string _HSETodaySummary;
private string _HSETodaySummaryRemark;
private string _HSETomorrowPlan;
private string _HSETomorrowPlanRemark;
private string _CQMSTodaySummary;
private string _CQMSTodaySummaryRemark;
private string _CQMSTomorrowPlan;
private string _CQMSTomorrowPlanRemark;
private string _FileCode;
private string _WorkPostId;
private string _MachineId;
private EntityRef<Base_Project> _Base_Project;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnProjectConstructionLogIdChanging(string value);
partial void OnProjectConstructionLogIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnWeatherChanging(string value);
partial void OnWeatherChanged();
partial void OnTemperatureChanging(string value);
partial void OnTemperatureChanged();
partial void OnContractNoChanging(string value);
partial void OnContractNoChanged();
partial void OnUnitWorksChanging(string value);
partial void OnUnitWorksChanged();
partial void OnProfessionalChanging(string value);
partial void OnProfessionalChanged();
partial void OnCompileManChanging(string value);
partial void OnCompileManChanged();
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
partial void OnCompileDateChanged();
partial void OnStateChanging(string value);
partial void OnStateChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
partial void OnHSETodaySummaryChanging(string value);
partial void OnHSETodaySummaryChanged();
partial void OnHSETodaySummaryRemarkChanging(string value);
partial void OnHSETodaySummaryRemarkChanged();
partial void OnHSETomorrowPlanChanging(string value);
partial void OnHSETomorrowPlanChanged();
partial void OnHSETomorrowPlanRemarkChanging(string value);
partial void OnHSETomorrowPlanRemarkChanged();
partial void OnCQMSTodaySummaryChanging(string value);
partial void OnCQMSTodaySummaryChanged();
partial void OnCQMSTodaySummaryRemarkChanging(string value);
partial void OnCQMSTodaySummaryRemarkChanged();
partial void OnCQMSTomorrowPlanChanging(string value);
partial void OnCQMSTomorrowPlanChanged();
partial void OnCQMSTomorrowPlanRemarkChanging(string value);
partial void OnCQMSTomorrowPlanRemarkChanged();
partial void OnFileCodeChanging(string value);
partial void OnFileCodeChanged();
partial void OnWorkPostIdChanging(string value);
partial void OnWorkPostIdChanged();
partial void OnMachineIdChanging(string value);
partial void OnMachineIdChanged();
#endregion
public ZHGL_ProjectConstructionLog()
{
this._Base_Project = default(EntityRef<Base_Project>);
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectConstructionLogId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string ProjectConstructionLogId
{
get
{
return this._ProjectConstructionLogId;
}
set
{
if ((this._ProjectConstructionLogId != value))
{
this.OnProjectConstructionLogIdChanging(value);
this.SendPropertyChanging();
this._ProjectConstructionLogId = value;
this.SendPropertyChanged("ProjectConstructionLogId");
this.OnProjectConstructionLogIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
get
{
return this._ProjectId;
}
set
{
if ((this._ProjectId != value))
{
if (this._Base_Project.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnProjectIdChanging(value);
this.SendPropertyChanging();
this._ProjectId = value;
this.SendPropertyChanged("ProjectId");
this.OnProjectIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Weather", DbType="NVarChar(10)")]
public string Weather
{
get
{
return this._Weather;
}
set
{
if ((this._Weather != value))
{
this.OnWeatherChanging(value);
this.SendPropertyChanging();
this._Weather = value;
this.SendPropertyChanged("Weather");
this.OnWeatherChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Temperature", DbType="NVarChar(30)")]
public string Temperature
{
get
{
return this._Temperature;
}
set
{
if ((this._Temperature != value))
{
this.OnTemperatureChanging(value);
this.SendPropertyChanging();
this._Temperature = value;
this.SendPropertyChanged("Temperature");
this.OnTemperatureChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractNo", DbType="NVarChar(500)")]
public string ContractNo
{
get
{
return this._ContractNo;
}
set
{
if ((this._ContractNo != value))
{
this.OnContractNoChanging(value);
this.SendPropertyChanging();
this._ContractNo = value;
this.SendPropertyChanged("ContractNo");
this.OnContractNoChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWorks", DbType="NVarChar(500)")]
public string UnitWorks
{
get
{
return this._UnitWorks;
}
set
{
if ((this._UnitWorks != value))
{
this.OnUnitWorksChanging(value);
this.SendPropertyChanging();
this._UnitWorks = value;
this.SendPropertyChanged("UnitWorks");
this.OnUnitWorksChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Professional", DbType="NVarChar(50)")]
public string Professional
{
get
{
return this._Professional;
}
set
{
if ((this._Professional != value))
{
this.OnProfessionalChanging(value);
this.SendPropertyChanging();
this._Professional = value;
this.SendPropertyChanged("Professional");
this.OnProfessionalChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
public string CompileMan
{
get
{
return this._CompileMan;
}
set
{
if ((this._CompileMan != value))
{
this.OnCompileManChanging(value);
this.SendPropertyChanging();
this._CompileMan = value;
this.SendPropertyChanged("CompileMan");
this.OnCompileManChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
public System.Nullable<System.DateTime> CompileDate
{
get
{
return this._CompileDate;
}
set
{
if ((this._CompileDate != value))
{
this.OnCompileDateChanging(value);
this.SendPropertyChanging();
this._CompileDate = value;
this.SendPropertyChanged("CompileDate");
this.OnCompileDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="Char(1)")]
public string State
{
get
{
return this._State;
}
set
{
if ((this._State != value))
{
this.OnStateChanging(value);
this.SendPropertyChanging();
this._State = value;
this.SendPropertyChanged("State");
this.OnStateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")]
public string Remark
{
get
{
return this._Remark;
}
set
{
if ((this._Remark != value))
{
this.OnRemarkChanging(value);
this.SendPropertyChanging();
this._Remark = value;
this.SendPropertyChanged("Remark");
this.OnRemarkChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HSETodaySummary", DbType="NVarChar(3000)")]
public string HSETodaySummary
{
get
{
return this._HSETodaySummary;
}
set
{
if ((this._HSETodaySummary != value))
{
this.OnHSETodaySummaryChanging(value);
this.SendPropertyChanging();
this._HSETodaySummary = value;
this.SendPropertyChanged("HSETodaySummary");
this.OnHSETodaySummaryChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HSETodaySummaryRemark", DbType="NVarChar(500)")]
public string HSETodaySummaryRemark
{
get
{
return this._HSETodaySummaryRemark;
}
set
{
if ((this._HSETodaySummaryRemark != value))
{
this.OnHSETodaySummaryRemarkChanging(value);
this.SendPropertyChanging();
this._HSETodaySummaryRemark = value;
this.SendPropertyChanged("HSETodaySummaryRemark");
this.OnHSETodaySummaryRemarkChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HSETomorrowPlan", DbType="NVarChar(3000)")]
public string HSETomorrowPlan
{
get
{
return this._HSETomorrowPlan;
}
set
{
if ((this._HSETomorrowPlan != value))
{
this.OnHSETomorrowPlanChanging(value);
this.SendPropertyChanging();
this._HSETomorrowPlan = value;
this.SendPropertyChanged("HSETomorrowPlan");
this.OnHSETomorrowPlanChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HSETomorrowPlanRemark", DbType="NVarChar(500)")]
public string HSETomorrowPlanRemark
{
get
{
return this._HSETomorrowPlanRemark;
}
set
{
if ((this._HSETomorrowPlanRemark != value))
{
this.OnHSETomorrowPlanRemarkChanging(value);
this.SendPropertyChanging();
this._HSETomorrowPlanRemark = value;
this.SendPropertyChanged("HSETomorrowPlanRemark");
this.OnHSETomorrowPlanRemarkChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CQMSTodaySummary", DbType="NVarChar(3000)")]
public string CQMSTodaySummary
{
get
{
return this._CQMSTodaySummary;
}
set
{
if ((this._CQMSTodaySummary != value))
{
this.OnCQMSTodaySummaryChanging(value);
this.SendPropertyChanging();
this._CQMSTodaySummary = value;
this.SendPropertyChanged("CQMSTodaySummary");
this.OnCQMSTodaySummaryChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CQMSTodaySummaryRemark", DbType="NVarChar(500)")]
public string CQMSTodaySummaryRemark
{
get
{
return this._CQMSTodaySummaryRemark;
}
set
{
if ((this._CQMSTodaySummaryRemark != value))
{
this.OnCQMSTodaySummaryRemarkChanging(value);
this.SendPropertyChanging();
this._CQMSTodaySummaryRemark = value;
this.SendPropertyChanged("CQMSTodaySummaryRemark");
this.OnCQMSTodaySummaryRemarkChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CQMSTomorrowPlan", DbType="NVarChar(3000)")]
public string CQMSTomorrowPlan
{
get
{
return this._CQMSTomorrowPlan;
}
set
{
if ((this._CQMSTomorrowPlan != value))
{
this.OnCQMSTomorrowPlanChanging(value);
this.SendPropertyChanging();
this._CQMSTomorrowPlan = value;
this.SendPropertyChanged("CQMSTomorrowPlan");
this.OnCQMSTomorrowPlanChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CQMSTomorrowPlanRemark", DbType="NVarChar(500)")]
public string CQMSTomorrowPlanRemark
{
get
{
return this._CQMSTomorrowPlanRemark;
}
set
{
if ((this._CQMSTomorrowPlanRemark != value))
{
this.OnCQMSTomorrowPlanRemarkChanging(value);
this.SendPropertyChanging();
this._CQMSTomorrowPlanRemark = value;
this.SendPropertyChanged("CQMSTomorrowPlanRemark");
this.OnCQMSTomorrowPlanRemarkChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileCode", DbType="NVarChar(50)")]
public string FileCode
{
get
{
return this._FileCode;
}
set
{
if ((this._FileCode != value))
{
this.OnFileCodeChanging(value);
this.SendPropertyChanging();
this._FileCode = value;
this.SendPropertyChanged("FileCode");
this.OnFileCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPostId", DbType="NVarChar(1000)")]
public string WorkPostId
{
get
{
return this._WorkPostId;
}
set
{
if ((this._WorkPostId != value))
{
this.OnWorkPostIdChanging(value);
this.SendPropertyChanging();
this._WorkPostId = value;
this.SendPropertyChanged("WorkPostId");
this.OnWorkPostIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MachineId", DbType="NVarChar(1000)")]
public string MachineId
{
get
{
return this._MachineId;
}
set
{
if ((this._MachineId != value))
{
this.OnMachineIdChanging(value);
this.SendPropertyChanging();
this._MachineId = value;
this.SendPropertyChanged("MachineId");
this.OnMachineIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ZHGL_ProjectConstructionLog_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
get
{
return this._Base_Project.Entity;
}
set
{
Base_Project previousValue = this._Base_Project.Entity;
if (((previousValue != value)
|| (this._Base_Project.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Base_Project.Entity = null;
previousValue.ZHGL_ProjectConstructionLog.Remove(this);
}
this._Base_Project.Entity = value;
if ((value != null))
{
value.ZHGL_ProjectConstructionLog.Add(this);
this._ProjectId = value.ProjectId;
}
else
{
this._ProjectId = default(string);
}
this.SendPropertyChanged("Base_Project");
}
}
}
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.ZHGL_WorkHandover")]
public partial class ZHGL_WorkHandover : INotifyPropertyChanging, INotifyPropertyChanged
{