督查人员代码合并

This commit is contained in:
2025-01-14 09:40:45 +08:00
parent 766b96b2ec
commit 330402c752
11 changed files with 320 additions and 455 deletions
+50 -364
View File
@@ -1367,9 +1367,6 @@ 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_WeekPlan(JDGL_WeekPlan instance);
partial void UpdateJDGL_WeekPlan(JDGL_WeekPlan instance);
partial void DeleteJDGL_WeekPlan(JDGL_WeekPlan instance);
@@ -6349,14 +6346,6 @@ namespace Model
}
}
public System.Data.Linq.Table<JDGL_WBS> JDGL_WBS
{
get
{
return this.GetTable<JDGL_WBS>();
}
}
public System.Data.Linq.Table<JDGL_WeekPlan> JDGL_WeekPlan
{
get
@@ -96634,7 +96623,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CertificateNumber", DbType="NVarChar(500)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CertificateNumber", DbType="NVarChar(50)")]
public string CertificateNumber
{
get
@@ -219230,333 +219219,6 @@ 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 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();
#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.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_WeekPlan")]
public partial class JDGL_WeekPlan : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -260763,10 +260425,10 @@ namespace Model
private string _MeetingHostManOther;
private string _ProjectId;
private string _UnitId;
private string _ProjectId;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -260801,10 +260463,10 @@ namespace Model
partial void OnAttentPersonIdsChanged();
partial void OnMeetingHostManOtherChanging(string value);
partial void OnMeetingHostManOtherChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnUnitIdChanging(string value);
partial void OnUnitIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
#endregion
public Meeting_CompanySafetyMeeting()
@@ -261112,26 +260774,6 @@ namespace Model
}
}
[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="_UnitId", DbType="NVarChar(50)")]
public string UnitId
{
@@ -261152,6 +260794,26 @@ namespace Model
}
}
[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();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -280766,7 +280428,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="VarChar(50)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="VarChar(100)")]
public string ProjectName
{
get
@@ -359785,6 +359447,8 @@ namespace Model
private string _CompanyProjectId;
private System.Nullable<bool> _IsInspectionBrigade;
private EntitySet<Comprehensive_NCRManagement> _Comprehensive_NCRManagement;
private EntitySet<Comprehensive_PressurePipe> _Comprehensive_PressurePipe;
@@ -360599,6 +360263,8 @@ namespace Model
partial void OnHomePageTypeChanged();
partial void OnCompanyProjectIdChanging(string value);
partial void OnCompanyProjectIdChanged();
partial void OnIsInspectionBrigadeChanging(System.Nullable<bool> value);
partial void OnIsInspectionBrigadeChanged();
#endregion
public Sys_User()
@@ -362015,6 +361681,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsInspectionBrigade", DbType="Bit")]
public System.Nullable<bool> IsInspectionBrigade
{
get
{
return this._IsInspectionBrigade;
}
set
{
if ((this._IsInspectionBrigade != value))
{
this.OnIsInspectionBrigadeChanging(value);
this.SendPropertyChanging();
this._IsInspectionBrigade = value;
this.SendPropertyChanged("IsInspectionBrigade");
this.OnIsInspectionBrigadeChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Comprehensive_NCRManagement_Sys_User", Storage="_Comprehensive_NCRManagement", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
public EntitySet<Comprehensive_NCRManagement> Comprehensive_NCRManagement
{