关键事项、周进度、月度计划

This commit is contained in:
2025-03-24 14:21:16 +08:00
parent 4ee7d38c78
commit 477afee030
58 changed files with 4929 additions and 1732 deletions
+224 -145
View File
@@ -1397,6 +1397,9 @@ namespace Model
partial void InsertJDGL_WBSDetail(JDGL_WBSDetail instance);
partial void UpdateJDGL_WBSDetail(JDGL_WBSDetail instance);
partial void DeleteJDGL_WBSDetail(JDGL_WBSDetail instance);
partial void InsertJDGL_WeekItem(JDGL_WeekItem instance);
partial void UpdateJDGL_WeekItem(JDGL_WeekItem instance);
partial void DeleteJDGL_WeekItem(JDGL_WeekItem instance);
partial void InsertJDGL_WeekPlan(JDGL_WeekPlan instance);
partial void UpdateJDGL_WeekPlan(JDGL_WeekPlan instance);
partial void DeleteJDGL_WeekPlan(JDGL_WeekPlan instance);
@@ -6468,6 +6471,14 @@ namespace Model
}
}
public System.Data.Linq.Table<JDGL_WeekItem> JDGL_WeekItem
{
get
{
return this.GetTable<JDGL_WeekItem>();
}
}
public System.Data.Linq.Table<JDGL_WeekPlan> JDGL_WeekPlan
{
get
@@ -158547,7 +158558,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProgressStatus", DbType="Char(1)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProgressStatus", DbType="NVarChar(20)")]
public string ProgressStatus
{
get
@@ -219948,8 +219959,6 @@ namespace Model
private EntityRef<Sys_User> _Sys_User;
private EntityRef<Sys_User> _CompileManSys_User;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -219985,7 +219994,6 @@ namespace Model
this._Base_Project = default(EntityRef<Base_Project>);
this._Base_Unit = default(EntityRef<Base_Unit>);
this._Sys_User = default(EntityRef<Sys_User>);
this._CompileManSys_User = default(EntityRef<Sys_User>);
OnCreated();
}
@@ -220117,7 +220125,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DutyPerson", DbType="NVarChar(50)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DutyPerson", DbType="NVarChar(500)")]
public string DutyPerson
{
get
@@ -220128,10 +220136,6 @@ namespace Model
{
if ((this._DutyPerson != value))
{
if (this._Sys_User.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnDutyPersonChanging(value);
this.SendPropertyChanging();
this._DutyPerson = value;
@@ -220192,7 +220196,7 @@ namespace Model
{
if ((this._CompileMan != value))
{
if (this._CompileManSys_User.HasLoadedOrAssignedValue)
if (this._Sys_User.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
@@ -220313,7 +220317,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_MonthPlan_Sys_User", Storage="_Sys_User", ThisKey="DutyPerson", OtherKey="UserId", IsForeignKey=true)]
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_MonthPlan_Sys_User1", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
public Sys_User Sys_User
{
get
@@ -220336,47 +220340,13 @@ namespace Model
if ((value != null))
{
value.JDGL_MonthPlan.Add(this);
this._DutyPerson = value.UserId;
}
else
{
this._DutyPerson = default(string);
}
this.SendPropertyChanged("Sys_User");
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_MonthPlan_Sys_User1", Storage="_CompileManSys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
public Sys_User CompileManSys_User
{
get
{
return this._CompileManSys_User.Entity;
}
set
{
Sys_User previousValue = this._CompileManSys_User.Entity;
if (((previousValue != value)
|| (this._CompileManSys_User.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._CompileManSys_User.Entity = null;
previousValue.JDGL_MonthPlan_Sys_User1.Remove(this);
}
this._CompileManSys_User.Entity = value;
if ((value != null))
{
value.JDGL_MonthPlan_Sys_User1.Add(this);
this._CompileMan = value.UserId;
}
else
{
this._CompileMan = default(string);
}
this.SendPropertyChanged("CompileManSys_User");
this.SendPropertyChanged("Sys_User");
}
}
}
@@ -223263,6 +223233,212 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JDGL_WeekItem")]
public partial class JDGL_WeekItem : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _WeekId;
private string _ProjectId;
private int _WeekNo;
private System.DateTime _StartDate;
private System.DateTime _EndDate;
private string _CompileMan;
private System.Nullable<System.DateTime> _CompileDate;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnWeekIdChanging(string value);
partial void OnWeekIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnWeekNoChanging(int value);
partial void OnWeekNoChanged();
partial void OnStartDateChanging(System.DateTime value);
partial void OnStartDateChanged();
partial void OnEndDateChanging(System.DateTime value);
partial void OnEndDateChanged();
partial void OnCompileManChanging(string value);
partial void OnCompileManChanged();
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
partial void OnCompileDateChanged();
#endregion
public JDGL_WeekItem()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeekId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string WeekId
{
get
{
return this._WeekId;
}
set
{
if ((this._WeekId != value))
{
this.OnWeekIdChanging(value);
this.SendPropertyChanging();
this._WeekId = value;
this.SendPropertyChanged("WeekId");
this.OnWeekIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
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="_WeekNo", DbType="Int NOT NULL")]
public int WeekNo
{
get
{
return this._WeekNo;
}
set
{
if ((this._WeekNo != value))
{
this.OnWeekNoChanging(value);
this.SendPropertyChanging();
this._WeekNo = value;
this.SendPropertyChanged("WeekNo");
this.OnWeekNoChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartDate", DbType="DateTime NOT NULL")]
public 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 NOT NULL")]
public 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="_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();
}
}
}
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
{
@@ -223305,8 +223481,6 @@ namespace Model
private EntityRef<Base_Unit> _Base_Unit;
private EntityRef<Sys_User> _Sys_User;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -223349,7 +223523,6 @@ namespace Model
{
this._Base_Project = default(EntityRef<Base_Project>);
this._Base_Unit = default(EntityRef<Base_Unit>);
this._Sys_User = default(EntityRef<Sys_User>);
OnCreated();
}
@@ -223541,7 +223714,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DutyPerson", DbType="NVarChar(50)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DutyPerson", DbType="NVarChar(500)")]
public string DutyPerson
{
get
@@ -223552,10 +223725,6 @@ namespace Model
{
if ((this._DutyPerson != value))
{
if (this._Sys_User.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnDutyPersonChanging(value);
this.SendPropertyChanging();
this._DutyPerson = value;
@@ -223753,40 +223922,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_WeekPlan_Sys_User", Storage="_Sys_User", ThisKey="DutyPerson", OtherKey="UserId", IsForeignKey=true)]
public Sys_User Sys_User
{
get
{
return this._Sys_User.Entity;
}
set
{
Sys_User previousValue = this._Sys_User.Entity;
if (((previousValue != value)
|| (this._Sys_User.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Sys_User.Entity = null;
previousValue.JDGL_WeekPlan.Remove(this);
}
this._Sys_User.Entity = value;
if ((value != null))
{
value.JDGL_WeekPlan.Add(this);
this._DutyPerson = value.UserId;
}
else
{
this._DutyPerson = default(string);
}
this.SendPropertyChanged("Sys_User");
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -365299,8 +365434,6 @@ namespace Model
private EntitySet<JDGL_MonthPlan> _JDGL_MonthPlan;
private EntitySet<JDGL_MonthPlan> _JDGL_MonthPlan_Sys_User1;
private EntitySet<JDGL_PipelineCompletion> _JDGL_PipelineCompletion;
private EntitySet<JDGL_ProgressCompletion> _JDGL_ProgressCompletion;
@@ -365311,8 +365444,6 @@ namespace Model
private EntitySet<JDGL_UndergroundPipeCompletion> _JDGL_UndergroundPipeCompletion;
private EntitySet<JDGL_WeekPlan> _JDGL_WeekPlan;
private EntitySet<Law_HSSEStandardsList> _Law_HSSEStandardsList;
private EntitySet<Law_LawRegulationList> _Law_LawRegulationList;
@@ -365975,13 +366106,11 @@ namespace Model
this._JDGL_LowTankCompletion = new EntitySet<JDGL_LowTankCompletion>(new Action<JDGL_LowTankCompletion>(this.attach_JDGL_LowTankCompletion), new Action<JDGL_LowTankCompletion>(this.detach_JDGL_LowTankCompletion));
this._JDGL_MeterCompletion = new EntitySet<JDGL_MeterCompletion>(new Action<JDGL_MeterCompletion>(this.attach_JDGL_MeterCompletion), new Action<JDGL_MeterCompletion>(this.detach_JDGL_MeterCompletion));
this._JDGL_MonthPlan = new EntitySet<JDGL_MonthPlan>(new Action<JDGL_MonthPlan>(this.attach_JDGL_MonthPlan), new Action<JDGL_MonthPlan>(this.detach_JDGL_MonthPlan));
this._JDGL_MonthPlan_Sys_User1 = new EntitySet<JDGL_MonthPlan>(new Action<JDGL_MonthPlan>(this.attach_JDGL_MonthPlan_Sys_User1), new Action<JDGL_MonthPlan>(this.detach_JDGL_MonthPlan_Sys_User1));
this._JDGL_PipelineCompletion = new EntitySet<JDGL_PipelineCompletion>(new Action<JDGL_PipelineCompletion>(this.attach_JDGL_PipelineCompletion), new Action<JDGL_PipelineCompletion>(this.detach_JDGL_PipelineCompletion));
this._JDGL_ProgressCompletion = new EntitySet<JDGL_ProgressCompletion>(new Action<JDGL_ProgressCompletion>(this.attach_JDGL_ProgressCompletion), new Action<JDGL_ProgressCompletion>(this.detach_JDGL_ProgressCompletion));
this._JDGL_QuantityCompletion = new EntitySet<JDGL_QuantityCompletion>(new Action<JDGL_QuantityCompletion>(this.attach_JDGL_QuantityCompletion), new Action<JDGL_QuantityCompletion>(this.detach_JDGL_QuantityCompletion));
this._JDGL_SteelStructureCompletion = new EntitySet<JDGL_SteelStructureCompletion>(new Action<JDGL_SteelStructureCompletion>(this.attach_JDGL_SteelStructureCompletion), new Action<JDGL_SteelStructureCompletion>(this.detach_JDGL_SteelStructureCompletion));
this._JDGL_UndergroundPipeCompletion = new EntitySet<JDGL_UndergroundPipeCompletion>(new Action<JDGL_UndergroundPipeCompletion>(this.attach_JDGL_UndergroundPipeCompletion), new Action<JDGL_UndergroundPipeCompletion>(this.detach_JDGL_UndergroundPipeCompletion));
this._JDGL_WeekPlan = new EntitySet<JDGL_WeekPlan>(new Action<JDGL_WeekPlan>(this.attach_JDGL_WeekPlan), new Action<JDGL_WeekPlan>(this.detach_JDGL_WeekPlan));
this._Law_HSSEStandardsList = new EntitySet<Law_HSSEStandardsList>(new Action<Law_HSSEStandardsList>(this.attach_Law_HSSEStandardsList), new Action<Law_HSSEStandardsList>(this.detach_Law_HSSEStandardsList));
this._Law_LawRegulationList = new EntitySet<Law_LawRegulationList>(new Action<Law_LawRegulationList>(this.attach_Law_LawRegulationList), new Action<Law_LawRegulationList>(this.detach_Law_LawRegulationList));
this._Law_ManageRule = new EntitySet<Law_ManageRule>(new Action<Law_ManageRule>(this.attach_Law_ManageRule), new Action<Law_ManageRule>(this.detach_Law_ManageRule));
@@ -369197,7 +369326,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_MonthPlan_Sys_User", Storage="_JDGL_MonthPlan", ThisKey="UserId", OtherKey="DutyPerson", DeleteRule="NO ACTION")]
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_MonthPlan_Sys_User1", Storage="_JDGL_MonthPlan", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
public EntitySet<JDGL_MonthPlan> JDGL_MonthPlan
{
get
@@ -369210,19 +369339,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_MonthPlan_Sys_User1", Storage="_JDGL_MonthPlan_Sys_User1", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
public EntitySet<JDGL_MonthPlan> JDGL_MonthPlan_Sys_User1
{
get
{
return this._JDGL_MonthPlan_Sys_User1;
}
set
{
this._JDGL_MonthPlan_Sys_User1.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_PipelineCompletion_Sys_User", Storage="_JDGL_PipelineCompletion", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
public EntitySet<JDGL_PipelineCompletion> JDGL_PipelineCompletion
{
@@ -369288,19 +369404,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JDGL_WeekPlan_Sys_User", Storage="_JDGL_WeekPlan", ThisKey="UserId", OtherKey="DutyPerson", DeleteRule="NO ACTION")]
public EntitySet<JDGL_WeekPlan> JDGL_WeekPlan
{
get
{
return this._JDGL_WeekPlan;
}
set
{
this._JDGL_WeekPlan.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Law_HSSEStandardsList_Sys_User2", Storage="_Law_HSSEStandardsList", ThisKey="UserId", OtherKey="AuditMan", DeleteRule="NO ACTION")]
public EntitySet<Law_HSSEStandardsList> Law_HSSEStandardsList
{
@@ -373792,18 +373895,6 @@ namespace Model
entity.Sys_User = null;
}
private void attach_JDGL_MonthPlan_Sys_User1(JDGL_MonthPlan entity)
{
this.SendPropertyChanging();
entity.CompileManSys_User = this;
}
private void detach_JDGL_MonthPlan_Sys_User1(JDGL_MonthPlan entity)
{
this.SendPropertyChanging();
entity.CompileManSys_User = null;
}
private void attach_JDGL_PipelineCompletion(JDGL_PipelineCompletion entity)
{
this.SendPropertyChanging();
@@ -373864,18 +373955,6 @@ namespace Model
entity.Sys_User = null;
}
private void attach_JDGL_WeekPlan(JDGL_WeekPlan entity)
{
this.SendPropertyChanging();
entity.Sys_User = this;
}
private void detach_JDGL_WeekPlan(JDGL_WeekPlan entity)
{
this.SendPropertyChanging();
entity.Sys_User = null;
}
private void attach_Law_HSSEStandardsList(Law_HSSEStandardsList entity)
{
this.SendPropertyChanging();