提交代码

This commit is contained in:
2025-02-11 09:19:08 +08:00
parent 4fa204ef20
commit 01cefacece
6 changed files with 894 additions and 419 deletions
+725 -26
View File
@@ -1385,6 +1385,12 @@ namespace Model
partial void InsertJDGL_UndergroundPipeCompletion(JDGL_UndergroundPipeCompletion instance);
partial void UpdateJDGL_UndergroundPipeCompletion(JDGL_UndergroundPipeCompletion instance);
partial void DeleteJDGL_UndergroundPipeCompletion(JDGL_UndergroundPipeCompletion instance);
partial void InsertJDGL_WBS(JDGL_WBS instance);
partial void UpdateJDGL_WBS(JDGL_WBS instance);
partial void DeleteJDGL_WBS(JDGL_WBS instance);
partial void InsertJDGL_WBSDetail(JDGL_WBSDetail instance);
partial void UpdateJDGL_WBSDetail(JDGL_WBSDetail instance);
partial void DeleteJDGL_WBSDetail(JDGL_WBSDetail instance);
partial void InsertJDGL_WeekPlan(JDGL_WeekPlan instance);
partial void UpdateJDGL_WeekPlan(JDGL_WeekPlan instance);
partial void DeleteJDGL_WeekPlan(JDGL_WeekPlan instance);
@@ -6412,6 +6418,22 @@ namespace Model
}
}
public System.Data.Linq.Table<JDGL_WBS> JDGL_WBS
{
get
{
return this.GetTable<JDGL_WBS>();
}
}
public System.Data.Linq.Table<JDGL_WBSDetail> JDGL_WBSDetail
{
get
{
return this.GetTable<JDGL_WBSDetail>();
}
}
public System.Data.Linq.Table<JDGL_WeekPlan> JDGL_WeekPlan
{
get
@@ -96809,7 +96831,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CertificateNumber", DbType="NVarChar(50)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CertificateNumber", DbType="NVarChar(500)")]
public string CertificateNumber
{
get
@@ -221886,6 +221908,683 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JDGL_WBS")]
public partial class JDGL_WBS : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _ProjectId;
private string _ParentId;
private string _ItemName;
private string _ItemNum;
private System.Nullable<System.DateTime> _PlanStart;
private System.Nullable<System.DateTime> _PlanEnd;
private System.Nullable<System.DateTime> _RealityEnd;
private string _PathCode;
private System.Nullable<decimal> _PlanQuantities;
private System.Nullable<decimal> _RealityPrice;
private System.Nullable<decimal> _Total;
private System.Nullable<decimal> _Num;
private string _Cycle;
private System.Nullable<decimal> _PlanPrice;
private System.Nullable<int> _Leave;
private EntityRef<JDGL_WBS> _JDGL_WBS_JDGL_WBS;
private EntityRef<JDGL_WBS> _JDGL_WBS_JDGL_WBS1;
#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 OnParentIdChanging(string value);
partial void OnParentIdChanged();
partial void OnItemNameChanging(string value);
partial void OnItemNameChanged();
partial void OnItemNumChanging(string value);
partial void OnItemNumChanged();
partial void OnPlanStartChanging(System.Nullable<System.DateTime> value);
partial void OnPlanStartChanged();
partial void OnPlanEndChanging(System.Nullable<System.DateTime> value);
partial void OnPlanEndChanged();
partial void OnRealityEndChanging(System.Nullable<System.DateTime> value);
partial void OnRealityEndChanged();
partial void OnPathCodeChanging(string value);
partial void OnPathCodeChanged();
partial void OnPlanQuantitiesChanging(System.Nullable<decimal> value);
partial void OnPlanQuantitiesChanged();
partial void OnRealityPriceChanging(System.Nullable<decimal> value);
partial void OnRealityPriceChanged();
partial void OnTotalChanging(System.Nullable<decimal> value);
partial void OnTotalChanged();
partial void OnNumChanging(System.Nullable<decimal> value);
partial void OnNumChanged();
partial void OnCycleChanging(string value);
partial void OnCycleChanged();
partial void OnPlanPriceChanging(System.Nullable<decimal> value);
partial void OnPlanPriceChanged();
partial void OnLeaveChanging(System.Nullable<int> value);
partial void OnLeaveChanged();
#endregion
public JDGL_WBS()
{
this._JDGL_WBS_JDGL_WBS = default(EntityRef<JDGL_WBS>);
this._JDGL_WBS_JDGL_WBS1 = default(EntityRef<JDGL_WBS>);
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))
{
if (this._JDGL_WBS_JDGL_WBS.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
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="_ParentId", DbType="NVarChar(50)")]
public string ParentId
{
get
{
return this._ParentId;
}
set
{
if ((this._ParentId != value))
{
this.OnParentIdChanging(value);
this.SendPropertyChanging();
this._ParentId = value;
this.SendPropertyChanged("ParentId");
this.OnParentIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ItemName", DbType="NVarChar(50)")]
public string ItemName
{
get
{
return this._ItemName;
}
set
{
if ((this._ItemName != value))
{
this.OnItemNameChanging(value);
this.SendPropertyChanging();
this._ItemName = value;
this.SendPropertyChanged("ItemName");
this.OnItemNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ItemNum", DbType="NVarChar(50)")]
public string ItemNum
{
get
{
return this._ItemNum;
}
set
{
if ((this._ItemNum != value))
{
this.OnItemNumChanging(value);
this.SendPropertyChanging();
this._ItemNum = value;
this.SendPropertyChanged("ItemNum");
this.OnItemNumChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanStart", DbType="DateTime")]
public System.Nullable<System.DateTime> PlanStart
{
get
{
return this._PlanStart;
}
set
{
if ((this._PlanStart != value))
{
this.OnPlanStartChanging(value);
this.SendPropertyChanging();
this._PlanStart = value;
this.SendPropertyChanged("PlanStart");
this.OnPlanStartChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanEnd", DbType="DateTime")]
public System.Nullable<System.DateTime> PlanEnd
{
get
{
return this._PlanEnd;
}
set
{
if ((this._PlanEnd != value))
{
this.OnPlanEndChanging(value);
this.SendPropertyChanging();
this._PlanEnd = value;
this.SendPropertyChanged("PlanEnd");
this.OnPlanEndChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealityEnd", DbType="DateTime")]
public System.Nullable<System.DateTime> RealityEnd
{
get
{
return this._RealityEnd;
}
set
{
if ((this._RealityEnd != value))
{
this.OnRealityEndChanging(value);
this.SendPropertyChanging();
this._RealityEnd = value;
this.SendPropertyChanged("RealityEnd");
this.OnRealityEndChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PathCode", DbType="NVarChar(50)")]
public string PathCode
{
get
{
return this._PathCode;
}
set
{
if ((this._PathCode != value))
{
this.OnPathCodeChanging(value);
this.SendPropertyChanging();
this._PathCode = value;
this.SendPropertyChanged("PathCode");
this.OnPathCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanQuantities", DbType="Decimal(18,2)")]
public System.Nullable<decimal> PlanQuantities
{
get
{
return this._PlanQuantities;
}
set
{
if ((this._PlanQuantities != value))
{
this.OnPlanQuantitiesChanging(value);
this.SendPropertyChanging();
this._PlanQuantities = value;
this.SendPropertyChanged("PlanQuantities");
this.OnPlanQuantitiesChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealityPrice", DbType="Decimal(18,2)")]
public System.Nullable<decimal> RealityPrice
{
get
{
return this._RealityPrice;
}
set
{
if ((this._RealityPrice != value))
{
this.OnRealityPriceChanging(value);
this.SendPropertyChanging();
this._RealityPrice = value;
this.SendPropertyChanged("RealityPrice");
this.OnRealityPriceChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Total", DbType="Decimal(18,2)")]
public System.Nullable<decimal> Total
{
get
{
return this._Total;
}
set
{
if ((this._Total != value))
{
this.OnTotalChanging(value);
this.SendPropertyChanging();
this._Total = value;
this.SendPropertyChanged("Total");
this.OnTotalChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Num", DbType="Decimal(18,2)")]
public System.Nullable<decimal> Num
{
get
{
return this._Num;
}
set
{
if ((this._Num != value))
{
this.OnNumChanging(value);
this.SendPropertyChanging();
this._Num = value;
this.SendPropertyChanged("Num");
this.OnNumChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cycle", DbType="NVarChar(50)")]
public string Cycle
{
get
{
return this._Cycle;
}
set
{
if ((this._Cycle != value))
{
this.OnCycleChanging(value);
this.SendPropertyChanging();
this._Cycle = value;
this.SendPropertyChanged("Cycle");
this.OnCycleChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanPrice", DbType="Decimal(18,2)")]
public System.Nullable<decimal> PlanPrice
{
get
{
return this._PlanPrice;
}
set
{
if ((this._PlanPrice != value))
{
this.OnPlanPriceChanging(value);
this.SendPropertyChanging();
this._PlanPrice = value;
this.SendPropertyChanged("PlanPrice");
this.OnPlanPriceChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Leave", DbType="Int")]
public System.Nullable<int> Leave
{
get
{
return this._Leave;
}
set
{
if ((this._Leave != value))
{
this.OnLeaveChanging(value);
this.SendPropertyChanging();
this._Leave = value;
this.SendPropertyChanged("Leave");
this.OnLeaveChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_WBS_JDGL_WBS", Storage="_JDGL_WBS_JDGL_WBS", ThisKey="Id", OtherKey="Id", IsForeignKey=true)]
public JDGL_WBS JDGL_WBS_JDGL_WBS
{
get
{
return this._JDGL_WBS_JDGL_WBS.Entity;
}
set
{
JDGL_WBS previousValue = this._JDGL_WBS_JDGL_WBS.Entity;
if (((previousValue != value)
|| (this._JDGL_WBS_JDGL_WBS.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._JDGL_WBS_JDGL_WBS.Entity = null;
previousValue.JDGL_WBS_JDGL_WBS1 = null;
}
this._JDGL_WBS_JDGL_WBS.Entity = value;
if ((value != null))
{
value.JDGL_WBS_JDGL_WBS1 = this;
this._Id = value.Id;
}
else
{
this._Id = default(string);
}
this.SendPropertyChanged("JDGL_WBS_JDGL_WBS");
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_WBS_JDGL_WBS", Storage="_JDGL_WBS_JDGL_WBS1", ThisKey="Id", OtherKey="Id", IsUnique=true, IsForeignKey=false, DeleteRule="NO ACTION")]
public JDGL_WBS JDGL_WBS_JDGL_WBS1
{
get
{
return this._JDGL_WBS_JDGL_WBS1.Entity;
}
set
{
JDGL_WBS previousValue = this._JDGL_WBS_JDGL_WBS1.Entity;
if (((previousValue != value)
|| (this._JDGL_WBS_JDGL_WBS1.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._JDGL_WBS_JDGL_WBS1.Entity = null;
previousValue.JDGL_WBS_JDGL_WBS = null;
}
this._JDGL_WBS_JDGL_WBS1.Entity = value;
if ((value != null))
{
value.JDGL_WBS_JDGL_WBS = this;
}
this.SendPropertyChanged("JDGL_WBS_JDGL_WBS1");
}
}
}
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.JDGL_WBSDetail")]
public partial class JDGL_WBSDetail : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _ProjectId;
private string _WorkPackageId;
private System.Nullable<System.DateTime> _CompletionTime;
private string _Name;
private System.Nullable<decimal> _RealityCompletePercent;
#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 OnWorkPackageIdChanging(string value);
partial void OnWorkPackageIdChanged();
partial void OnCompletionTimeChanging(System.Nullable<System.DateTime> value);
partial void OnCompletionTimeChanged();
partial void OnNameChanging(string value);
partial void OnNameChanged();
partial void OnRealityCompletePercentChanging(System.Nullable<decimal> value);
partial void OnRealityCompletePercentChanged();
#endregion
public JDGL_WBSDetail()
{
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="_WorkPackageId", DbType="NVarChar(50)")]
public string WorkPackageId
{
get
{
return this._WorkPackageId;
}
set
{
if ((this._WorkPackageId != value))
{
this.OnWorkPackageIdChanging(value);
this.SendPropertyChanging();
this._WorkPackageId = value;
this.SendPropertyChanged("WorkPackageId");
this.OnWorkPackageIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompletionTime", DbType="DateTime")]
public System.Nullable<System.DateTime> CompletionTime
{
get
{
return this._CompletionTime;
}
set
{
if ((this._CompletionTime != value))
{
this.OnCompletionTimeChanging(value);
this.SendPropertyChanging();
this._CompletionTime = value;
this.SendPropertyChanged("CompletionTime");
this.OnCompletionTimeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(100)")]
public string Name
{
get
{
return this._Name;
}
set
{
if ((this._Name != value))
{
this.OnNameChanging(value);
this.SendPropertyChanging();
this._Name = value;
this.SendPropertyChanged("Name");
this.OnNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealityCompletePercent", DbType="Decimal(9,2)")]
public System.Nullable<decimal> RealityCompletePercent
{
get
{
return this._RealityCompletePercent;
}
set
{
if ((this._RealityCompletePercent != value))
{
this.OnRealityCompletePercentChanging(value);
this.SendPropertyChanging();
this._RealityCompletePercent = value;
this.SendPropertyChanged("RealityCompletePercent");
this.OnRealityCompletePercentChanged();
}
}
}
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.JDGL_WeekPlan")]
public partial class JDGL_WeekPlan : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -263092,10 +263791,10 @@ namespace Model
private string _MeetingHostManOther;
private string _UnitId;
private string _ProjectId;
private string _UnitId;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -263130,10 +263829,10 @@ namespace Model
partial void OnAttentPersonIdsChanged();
partial void OnMeetingHostManOtherChanging(string value);
partial void OnMeetingHostManOtherChanged();
partial void OnUnitIdChanging(string value);
partial void OnUnitIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnUnitIdChanging(string value);
partial void OnUnitIdChanged();
#endregion
public Meeting_CompanySafetyMeeting()
@@ -263441,26 +264140,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")]
public string UnitId
{
get
{
return this._UnitId;
}
set
{
if ((this._UnitId != value))
{
this.OnUnitIdChanging(value);
this.SendPropertyChanging();
this._UnitId = value;
this.SendPropertyChanged("UnitId");
this.OnUnitIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
@@ -263481,6 +264160,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")]
public string UnitId
{
get
{
return this._UnitId;
}
set
{
if ((this._UnitId != value))
{
this.OnUnitIdChanging(value);
this.SendPropertyChanging();
this._UnitId = value;
this.SendPropertyChanged("UnitId");
this.OnUnitIdChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -283095,7 +283794,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="VarChar(100)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="VarChar(50)")]
public string ProjectName
{
get