修改安全实施计划导出及进度功能

This commit is contained in:
2023-07-25 14:08:48 +08:00
parent df904cd642
commit b8dae5be20
14 changed files with 1512 additions and 174 deletions
+437
View File
@@ -6696,6 +6696,14 @@ namespace Model
}
}
public System.Data.Linq.Table<View_WBS> View_WBS
{
get
{
return this.GetTable<View_WBS>();
}
}
public System.Data.Linq.Table<View_WBS_ControlItemAndCycle> View_WBS_ControlItemAndCycle
{
get
@@ -287728,6 +287736,123 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_WBS")]
public partial class View_WBS
{
private string _Id;
private string _SupId;
private string _Code;
private string _Name;
private string _WBSType;
private string _ProjectId;
public View_WBS()
{
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string Id
{
get
{
return this._Id;
}
set
{
if ((this._Id != value))
{
this._Id = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupId", DbType="NVarChar(50)")]
public string SupId
{
get
{
return this._SupId;
}
set
{
if ((this._SupId != value))
{
this._SupId = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(30)")]
public string Code
{
get
{
return this._Code;
}
set
{
if ((this._Code != value))
{
this._Code = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(50)")]
public string Name
{
get
{
return this._Name;
}
set
{
if ((this._Name != value))
{
this._Name = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WBSType", DbType="VarChar(11) NOT NULL", CanBeNull=false)]
public string WBSType
{
get
{
return this._WBSType;
}
set
{
if ((this._WBSType != value))
{
this._WBSType = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
get
{
return this._ProjectId;
}
set
{
if ((this._ProjectId != value))
{
this._ProjectId = value;
}
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_WBS_ControlItemAndCycle")]
public partial class View_WBS_ControlItemAndCycle
{
@@ -291336,6 +291461,14 @@ namespace Model
private string _MainItemAndDesignProfessionalIds;
private System.Nullable<System.DateTime> _PlanStartDate;
private System.Nullable<System.DateTime> _PlanEndDate;
private System.Nullable<System.DateTime> _RealStartDate;
private System.Nullable<System.DateTime> _RealEndDate;
private EntitySet<Accident_AccidentPersonRecord> _Accident_AccidentPersonRecord;
private EntitySet<Accident_AccidentReport> _Accident_AccidentReport;
@@ -291414,6 +291547,14 @@ namespace Model
partial void OnCostsChanged();
partial void OnMainItemAndDesignProfessionalIdsChanging(string value);
partial void OnMainItemAndDesignProfessionalIdsChanged();
partial void OnPlanStartDateChanging(System.Nullable<System.DateTime> value);
partial void OnPlanStartDateChanged();
partial void OnPlanEndDateChanging(System.Nullable<System.DateTime> value);
partial void OnPlanEndDateChanged();
partial void OnRealStartDateChanging(System.Nullable<System.DateTime> value);
partial void OnRealStartDateChanged();
partial void OnRealEndDateChanging(System.Nullable<System.DateTime> value);
partial void OnRealEndDateChanged();
#endregion
public WBS_UnitWork()
@@ -291717,6 +291858,86 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanStartDate", DbType="DateTime")]
public System.Nullable<System.DateTime> PlanStartDate
{
get
{
return this._PlanStartDate;
}
set
{
if ((this._PlanStartDate != value))
{
this.OnPlanStartDateChanging(value);
this.SendPropertyChanging();
this._PlanStartDate = value;
this.SendPropertyChanged("PlanStartDate");
this.OnPlanStartDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanEndDate", DbType="DateTime")]
public System.Nullable<System.DateTime> PlanEndDate
{
get
{
return this._PlanEndDate;
}
set
{
if ((this._PlanEndDate != value))
{
this.OnPlanEndDateChanging(value);
this.SendPropertyChanging();
this._PlanEndDate = value;
this.SendPropertyChanged("PlanEndDate");
this.OnPlanEndDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealStartDate", DbType="DateTime")]
public System.Nullable<System.DateTime> RealStartDate
{
get
{
return this._RealStartDate;
}
set
{
if ((this._RealStartDate != value))
{
this.OnRealStartDateChanging(value);
this.SendPropertyChanging();
this._RealStartDate = value;
this.SendPropertyChanged("RealStartDate");
this.OnRealStartDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealEndDate", DbType="DateTime")]
public System.Nullable<System.DateTime> RealEndDate
{
get
{
return this._RealEndDate;
}
set
{
if ((this._RealEndDate != value))
{
this.OnRealEndDateChanging(value);
this.SendPropertyChanging();
this._RealEndDate = value;
this.SendPropertyChanged("RealEndDate");
this.OnRealEndDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Accident_AccidentPersonRecord_ProjectData_WorkArea", Storage="_Accident_AccidentPersonRecord", ThisKey="UnitWorkId", OtherKey="WorkAreaId", DeleteRule="NO ACTION")]
public EntitySet<Accident_AccidentPersonRecord> Accident_AccidentPersonRecord
{
@@ -292407,6 +292628,24 @@ namespace Model
private string _SubItemType;
private string _PreJobId;
private System.Nullable<decimal> _PlanProjectQuantity;
private System.Nullable<decimal> _RealProjectQuantity;
private System.Nullable<System.DateTime> _PlanStartDate;
private System.Nullable<System.DateTime> _PlanEndDate;
private System.Nullable<System.DateTime> _RealStartDate;
private System.Nullable<System.DateTime> _RealEndDate;
private string _Unit;
private System.Nullable<bool> _IsMileStone;
private EntitySet<WBS_ControlItemAndCycle> _WBS_ControlItemAndCycle;
private EntityRef<WBS_UnitWork> _WBS_UnitWork;
@@ -292451,6 +292690,24 @@ namespace Model
partial void OnCostsChanged();
partial void OnSubItemTypeChanging(string value);
partial void OnSubItemTypeChanged();
partial void OnPreJobIdChanging(string value);
partial void OnPreJobIdChanged();
partial void OnPlanProjectQuantityChanging(System.Nullable<decimal> value);
partial void OnPlanProjectQuantityChanged();
partial void OnRealProjectQuantityChanging(System.Nullable<decimal> value);
partial void OnRealProjectQuantityChanged();
partial void OnPlanStartDateChanging(System.Nullable<System.DateTime> value);
partial void OnPlanStartDateChanged();
partial void OnPlanEndDateChanging(System.Nullable<System.DateTime> value);
partial void OnPlanEndDateChanged();
partial void OnRealStartDateChanging(System.Nullable<System.DateTime> value);
partial void OnRealStartDateChanged();
partial void OnRealEndDateChanging(System.Nullable<System.DateTime> value);
partial void OnRealEndDateChanged();
partial void OnUnitChanging(string value);
partial void OnUnitChanged();
partial void OnIsMileStoneChanging(System.Nullable<bool> value);
partial void OnIsMileStoneChanged();
#endregion
public WBS_WorkPackage()
@@ -292824,6 +293081,186 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreJobId", DbType="NVarChar(50)")]
public string PreJobId
{
get
{
return this._PreJobId;
}
set
{
if ((this._PreJobId != value))
{
this.OnPreJobIdChanging(value);
this.SendPropertyChanging();
this._PreJobId = value;
this.SendPropertyChanged("PreJobId");
this.OnPreJobIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanProjectQuantity", DbType="Decimal(18,2)")]
public System.Nullable<decimal> PlanProjectQuantity
{
get
{
return this._PlanProjectQuantity;
}
set
{
if ((this._PlanProjectQuantity != value))
{
this.OnPlanProjectQuantityChanging(value);
this.SendPropertyChanging();
this._PlanProjectQuantity = value;
this.SendPropertyChanged("PlanProjectQuantity");
this.OnPlanProjectQuantityChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealProjectQuantity", DbType="Decimal(18,2)")]
public System.Nullable<decimal> RealProjectQuantity
{
get
{
return this._RealProjectQuantity;
}
set
{
if ((this._RealProjectQuantity != value))
{
this.OnRealProjectQuantityChanging(value);
this.SendPropertyChanging();
this._RealProjectQuantity = value;
this.SendPropertyChanged("RealProjectQuantity");
this.OnRealProjectQuantityChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanStartDate", DbType="DateTime")]
public System.Nullable<System.DateTime> PlanStartDate
{
get
{
return this._PlanStartDate;
}
set
{
if ((this._PlanStartDate != value))
{
this.OnPlanStartDateChanging(value);
this.SendPropertyChanging();
this._PlanStartDate = value;
this.SendPropertyChanged("PlanStartDate");
this.OnPlanStartDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanEndDate", DbType="DateTime")]
public System.Nullable<System.DateTime> PlanEndDate
{
get
{
return this._PlanEndDate;
}
set
{
if ((this._PlanEndDate != value))
{
this.OnPlanEndDateChanging(value);
this.SendPropertyChanging();
this._PlanEndDate = value;
this.SendPropertyChanged("PlanEndDate");
this.OnPlanEndDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealStartDate", DbType="DateTime")]
public System.Nullable<System.DateTime> RealStartDate
{
get
{
return this._RealStartDate;
}
set
{
if ((this._RealStartDate != value))
{
this.OnRealStartDateChanging(value);
this.SendPropertyChanging();
this._RealStartDate = value;
this.SendPropertyChanged("RealStartDate");
this.OnRealStartDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RealEndDate", DbType="DateTime")]
public System.Nullable<System.DateTime> RealEndDate
{
get
{
return this._RealEndDate;
}
set
{
if ((this._RealEndDate != value))
{
this.OnRealEndDateChanging(value);
this.SendPropertyChanging();
this._RealEndDate = value;
this.SendPropertyChanged("RealEndDate");
this.OnRealEndDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Unit", DbType="NVarChar(50)")]
public string Unit
{
get
{
return this._Unit;
}
set
{
if ((this._Unit != value))
{
this.OnUnitChanging(value);
this.SendPropertyChanging();
this._Unit = value;
this.SendPropertyChanged("Unit");
this.OnUnitChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsMileStone", DbType="Bit")]
public System.Nullable<bool> IsMileStone
{
get
{
return this._IsMileStone;
}
set
{
if ((this._IsMileStone != value))
{
this.OnIsMileStoneChanging(value);
this.SendPropertyChanging();
this._IsMileStone = value;
this.SendPropertyChanged("IsMileStone");
this.OnIsMileStoneChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_ControlItemAndCycle_WBS_ControlItemAndCycle", Storage="_WBS_ControlItemAndCycle", ThisKey="WorkPackageId", OtherKey="WorkPackageId", DeleteRule="NO ACTION")]
public EntitySet<WBS_ControlItemAndCycle> WBS_ControlItemAndCycle
{