修改员工考核

This commit is contained in:
2023-10-07 15:27:02 +08:00
parent dd53b2300a
commit f1a5407c69
15 changed files with 1269 additions and 94 deletions
+358 -48
View File
@@ -1730,6 +1730,9 @@ namespace Model
partial void InsertZHGL_ConstructionLogRecord(ZHGL_ConstructionLogRecord instance);
partial void UpdateZHGL_ConstructionLogRecord(ZHGL_ConstructionLogRecord instance);
partial void DeleteZHGL_ConstructionLogRecord(ZHGL_ConstructionLogRecord instance);
partial void InsertZHGL_ConstructionLogWorkEfficiency(ZHGL_ConstructionLogWorkEfficiency instance);
partial void UpdateZHGL_ConstructionLogWorkEfficiency(ZHGL_ConstructionLogWorkEfficiency instance);
partial void DeleteZHGL_ConstructionLogWorkEfficiency(ZHGL_ConstructionLogWorkEfficiency instance);
partial void InsertZHGL_ConstructionMonthReport(ZHGL_ConstructionMonthReport instance);
partial void UpdateZHGL_ConstructionMonthReport(ZHGL_ConstructionMonthReport instance);
partial void DeleteZHGL_ConstructionMonthReport(ZHGL_ConstructionMonthReport instance);
@@ -7101,6 +7104,14 @@ namespace Model
}
}
public System.Data.Linq.Table<ZHGL_ConstructionLogWorkEfficiency> ZHGL_ConstructionLogWorkEfficiency
{
get
{
return this.GetTable<ZHGL_ConstructionLogWorkEfficiency>();
}
}
public System.Data.Linq.Table<ZHGL_ConstructionMonthReport> ZHGL_ConstructionMonthReport
{
get
@@ -39427,10 +39438,10 @@ namespace Model
private string _SaveHandleMan;
private string _WorkPackageName;
private string _WorkPackageId;
private string _WorkPackageName;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Person_Persons> _Person_Persons;
@@ -39487,10 +39498,10 @@ namespace Model
partial void OnProposeUnitIdChanged();
partial void OnSaveHandleManChanging(string value);
partial void OnSaveHandleManChanged();
partial void OnWorkPackageNameChanging(string value);
partial void OnWorkPackageNameChanged();
partial void OnWorkPackageIdChanging(string value);
partial void OnWorkPackageIdChanged();
partial void OnWorkPackageNameChanging(string value);
partial void OnWorkPackageNameChanged();
#endregion
public Check_CheckControl()
@@ -39969,26 +39980,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageName", DbType="NVarChar(2000)")]
public string WorkPackageName
{
get
{
return this._WorkPackageName;
}
set
{
if ((this._WorkPackageName != value))
{
this.OnWorkPackageNameChanging(value);
this.SendPropertyChanging();
this._WorkPackageName = value;
this.SendPropertyChanged("WorkPackageName");
this.OnWorkPackageNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageId", DbType="NVarChar(2000)")]
public string WorkPackageId
{
@@ -40009,6 +40000,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageName", DbType="NVarChar(2000)")]
public string WorkPackageName
{
get
{
return this._WorkPackageName;
}
set
{
if ((this._WorkPackageName != value))
{
this.OnWorkPackageNameChanging(value);
this.SendPropertyChanging();
this._WorkPackageName = value;
this.SendPropertyChanged("WorkPackageName");
this.OnWorkPackageNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_CheckControl_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@@ -100676,10 +100687,10 @@ namespace Model
private string _HazardValue;
private string _WorkPackageName;
private string _WorkPackageId;
private string _WorkPackageName;
private EntityRef<Base_Unit> _Base_Unit;
private EntityRef<HSSE_Hazard_HazardRegisterTypes> _HSSE_Hazard_HazardRegisterTypes;
@@ -100780,10 +100791,10 @@ namespace Model
partial void OnRegisterTypes4IdChanged();
partial void OnHazardValueChanging(string value);
partial void OnHazardValueChanged();
partial void OnWorkPackageNameChanging(string value);
partial void OnWorkPackageNameChanged();
partial void OnWorkPackageIdChanging(string value);
partial void OnWorkPackageIdChanged();
partial void OnWorkPackageNameChanging(string value);
partial void OnWorkPackageNameChanged();
#endregion
public HSSE_Hazard_HazardRegister()
@@ -101721,26 +101732,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageName", DbType="NVarChar(2000)")]
public string WorkPackageName
{
get
{
return this._WorkPackageName;
}
set
{
if ((this._WorkPackageName != value))
{
this.OnWorkPackageNameChanging(value);
this.SendPropertyChanging();
this._WorkPackageName = value;
this.SendPropertyChanged("WorkPackageName");
this.OnWorkPackageNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageId", DbType="NVarChar(2000)")]
public string WorkPackageId
{
@@ -101761,6 +101752,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageName", DbType="NVarChar(2000)")]
public string WorkPackageName
{
get
{
return this._WorkPackageName;
}
set
{
if ((this._WorkPackageName != value))
{
this.OnWorkPackageNameChanging(value);
this.SendPropertyChanging();
this._WorkPackageName = value;
this.SendPropertyChanged("WorkPackageName");
this.OnWorkPackageNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HSSE_Hazard_HazardRegister_Base_Unit", Storage="_Base_Unit", ThisKey="ResponsibleUnit", OtherKey="UnitId", IsForeignKey=true)]
public Base_Unit Base_Unit
{
@@ -181850,6 +181861,8 @@ namespace Model
private string _ProjectId;
private EntitySet<ZHGL_ConstructionLogWorkEfficiency> _ZHGL_ConstructionLogWorkEfficiency;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -181916,6 +181929,7 @@ namespace Model
public PHTGL_ContractTrack()
{
this._ZHGL_ConstructionLogWorkEfficiency = new EntitySet<ZHGL_ConstructionLogWorkEfficiency>(new Action<ZHGL_ConstructionLogWorkEfficiency>(this.attach_ZHGL_ConstructionLogWorkEfficiency), new Action<ZHGL_ConstructionLogWorkEfficiency>(this.detach_ZHGL_ConstructionLogWorkEfficiency));
OnCreated();
}
@@ -182499,6 +182513,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ZHGL_ConstructionLogWorkEfficiency_PHTGL_ContractTrack", Storage="_ZHGL_ConstructionLogWorkEfficiency", ThisKey="Id", OtherKey="ContractTrackId", DeleteRule="NO ACTION")]
public EntitySet<ZHGL_ConstructionLogWorkEfficiency> ZHGL_ConstructionLogWorkEfficiency
{
get
{
return this._ZHGL_ConstructionLogWorkEfficiency;
}
set
{
this._ZHGL_ConstructionLogWorkEfficiency.Assign(value);
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -182518,6 +182545,18 @@ namespace Model
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
private void attach_ZHGL_ConstructionLogWorkEfficiency(ZHGL_ConstructionLogWorkEfficiency entity)
{
this.SendPropertyChanging();
entity.PHTGL_ContractTrack = this;
}
private void detach_ZHGL_ConstructionLogWorkEfficiency(ZHGL_ConstructionLogWorkEfficiency entity)
{
this.SendPropertyChanging();
entity.PHTGL_ContractTrack = null;
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PHTGL_ContractTrackMatchWBS")]
@@ -305284,6 +305323,277 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ZHGL_ConstructionLogWorkEfficiency")]
public partial class ZHGL_ConstructionLogWorkEfficiency : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _ConstructionLogWorkEfficiencyId;
private string _ConstructionLogId;
private string _ContractTrackId;
private System.Nullable<decimal> _PhysicalCompletionQuantity;
private System.Nullable<decimal> _MaterialConsumption;
private string _Type;
private string _TypeId;
private System.Nullable<decimal> _ConsumeHours;
private EntityRef<PHTGL_ContractTrack> _PHTGL_ContractTrack;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnConstructionLogWorkEfficiencyIdChanging(string value);
partial void OnConstructionLogWorkEfficiencyIdChanged();
partial void OnConstructionLogIdChanging(string value);
partial void OnConstructionLogIdChanged();
partial void OnContractTrackIdChanging(string value);
partial void OnContractTrackIdChanged();
partial void OnPhysicalCompletionQuantityChanging(System.Nullable<decimal> value);
partial void OnPhysicalCompletionQuantityChanged();
partial void OnMaterialConsumptionChanging(System.Nullable<decimal> value);
partial void OnMaterialConsumptionChanged();
partial void OnTypeChanging(string value);
partial void OnTypeChanged();
partial void OnTypeIdChanging(string value);
partial void OnTypeIdChanged();
partial void OnConsumeHoursChanging(System.Nullable<decimal> value);
partial void OnConsumeHoursChanged();
#endregion
public ZHGL_ConstructionLogWorkEfficiency()
{
this._PHTGL_ContractTrack = default(EntityRef<PHTGL_ContractTrack>);
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionLogWorkEfficiencyId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string ConstructionLogWorkEfficiencyId
{
get
{
return this._ConstructionLogWorkEfficiencyId;
}
set
{
if ((this._ConstructionLogWorkEfficiencyId != value))
{
this.OnConstructionLogWorkEfficiencyIdChanging(value);
this.SendPropertyChanging();
this._ConstructionLogWorkEfficiencyId = value;
this.SendPropertyChanged("ConstructionLogWorkEfficiencyId");
this.OnConstructionLogWorkEfficiencyIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionLogId", DbType="NVarChar(50)")]
public string ConstructionLogId
{
get
{
return this._ConstructionLogId;
}
set
{
if ((this._ConstructionLogId != value))
{
this.OnConstructionLogIdChanging(value);
this.SendPropertyChanging();
this._ConstructionLogId = value;
this.SendPropertyChanged("ConstructionLogId");
this.OnConstructionLogIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractTrackId", DbType="VarChar(50)")]
public string ContractTrackId
{
get
{
return this._ContractTrackId;
}
set
{
if ((this._ContractTrackId != value))
{
if (this._PHTGL_ContractTrack.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnContractTrackIdChanging(value);
this.SendPropertyChanging();
this._ContractTrackId = value;
this.SendPropertyChanged("ContractTrackId");
this.OnContractTrackIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PhysicalCompletionQuantity", DbType="Decimal(18,2)")]
public System.Nullable<decimal> PhysicalCompletionQuantity
{
get
{
return this._PhysicalCompletionQuantity;
}
set
{
if ((this._PhysicalCompletionQuantity != value))
{
this.OnPhysicalCompletionQuantityChanging(value);
this.SendPropertyChanging();
this._PhysicalCompletionQuantity = value;
this.SendPropertyChanged("PhysicalCompletionQuantity");
this.OnPhysicalCompletionQuantityChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialConsumption", DbType="Decimal(18,2)")]
public System.Nullable<decimal> MaterialConsumption
{
get
{
return this._MaterialConsumption;
}
set
{
if ((this._MaterialConsumption != value))
{
this.OnMaterialConsumptionChanging(value);
this.SendPropertyChanging();
this._MaterialConsumption = value;
this.SendPropertyChanged("MaterialConsumption");
this.OnMaterialConsumptionChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(20)")]
public string Type
{
get
{
return this._Type;
}
set
{
if ((this._Type != value))
{
this.OnTypeChanging(value);
this.SendPropertyChanging();
this._Type = value;
this.SendPropertyChanged("Type");
this.OnTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeId", DbType="NVarChar(50)")]
public string TypeId
{
get
{
return this._TypeId;
}
set
{
if ((this._TypeId != value))
{
this.OnTypeIdChanging(value);
this.SendPropertyChanging();
this._TypeId = value;
this.SendPropertyChanged("TypeId");
this.OnTypeIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConsumeHours", DbType="Decimal(18,2)")]
public System.Nullable<decimal> ConsumeHours
{
get
{
return this._ConsumeHours;
}
set
{
if ((this._ConsumeHours != value))
{
this.OnConsumeHoursChanging(value);
this.SendPropertyChanging();
this._ConsumeHours = value;
this.SendPropertyChanged("ConsumeHours");
this.OnConsumeHoursChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ZHGL_ConstructionLogWorkEfficiency_PHTGL_ContractTrack", Storage="_PHTGL_ContractTrack", ThisKey="ContractTrackId", OtherKey="Id", IsForeignKey=true)]
public PHTGL_ContractTrack PHTGL_ContractTrack
{
get
{
return this._PHTGL_ContractTrack.Entity;
}
set
{
PHTGL_ContractTrack previousValue = this._PHTGL_ContractTrack.Entity;
if (((previousValue != value)
|| (this._PHTGL_ContractTrack.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._PHTGL_ContractTrack.Entity = null;
previousValue.ZHGL_ConstructionLogWorkEfficiency.Remove(this);
}
this._PHTGL_ContractTrack.Entity = value;
if ((value != null))
{
value.ZHGL_ConstructionLogWorkEfficiency.Add(this);
this._ContractTrackId = value.Id;
}
else
{
this._ContractTrackId = default(string);
}
this.SendPropertyChanged("PHTGL_ContractTrack");
}
}
}
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_ConstructionMonthReport")]
public partial class ZHGL_ConstructionMonthReport : INotifyPropertyChanging, INotifyPropertyChanged
{