20231110优化安全巡检、作业票列表速度优化
This commit is contained in:
+515
-48
@@ -6409,6 +6409,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<View_Hazard_HazardRegisterList> View_Hazard_HazardRegisterList
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<View_Hazard_HazardRegisterList>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<View_HJGL_Batch_PointBatch> View_HJGL_Batch_PointBatch
|
||||
{
|
||||
get
|
||||
@@ -39519,10 +39527,10 @@ namespace Model
|
||||
|
||||
private string _SaveHandleMan;
|
||||
|
||||
private string _WorkPackageId;
|
||||
|
||||
private string _WorkPackageName;
|
||||
|
||||
private string _WorkPackageId;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntityRef<Person_Persons> _Person_Persons;
|
||||
@@ -39579,10 +39587,10 @@ namespace Model
|
||||
partial void OnProposeUnitIdChanged();
|
||||
partial void OnSaveHandleManChanging(string value);
|
||||
partial void OnSaveHandleManChanged();
|
||||
partial void OnWorkPackageIdChanging(string value);
|
||||
partial void OnWorkPackageIdChanged();
|
||||
partial void OnWorkPackageNameChanging(string value);
|
||||
partial void OnWorkPackageNameChanged();
|
||||
partial void OnWorkPackageIdChanging(string value);
|
||||
partial void OnWorkPackageIdChanged();
|
||||
#endregion
|
||||
|
||||
public Check_CheckControl()
|
||||
@@ -40061,26 +40069,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageId", DbType="NVarChar(2000)")]
|
||||
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="_WorkPackageName", DbType="NVarChar(2000)")]
|
||||
public string WorkPackageName
|
||||
{
|
||||
@@ -40101,6 +40089,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageId", DbType="NVarChar(2000)")]
|
||||
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.AssociationAttribute(Name="FK_Check_CheckControl_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
|
||||
public Base_Project Base_Project
|
||||
{
|
||||
@@ -100751,10 +100759,10 @@ namespace Model
|
||||
|
||||
private string _HazardValue;
|
||||
|
||||
private string _WorkPackageId;
|
||||
|
||||
private string _WorkPackageName;
|
||||
|
||||
private string _WorkPackageId;
|
||||
|
||||
private EntityRef<Base_Unit> _Base_Unit;
|
||||
|
||||
private EntityRef<HSSE_Hazard_HazardRegisterTypes> _HSSE_Hazard_HazardRegisterTypes;
|
||||
@@ -100855,10 +100863,10 @@ namespace Model
|
||||
partial void OnRegisterTypes4IdChanged();
|
||||
partial void OnHazardValueChanging(string value);
|
||||
partial void OnHazardValueChanged();
|
||||
partial void OnWorkPackageIdChanging(string value);
|
||||
partial void OnWorkPackageIdChanged();
|
||||
partial void OnWorkPackageNameChanging(string value);
|
||||
partial void OnWorkPackageNameChanged();
|
||||
partial void OnWorkPackageIdChanging(string value);
|
||||
partial void OnWorkPackageIdChanged();
|
||||
#endregion
|
||||
|
||||
public HSSE_Hazard_HazardRegister()
|
||||
@@ -101796,26 +101804,6 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageId", DbType="NVarChar(2000)")]
|
||||
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="_WorkPackageName", DbType="NVarChar(2000)")]
|
||||
public string WorkPackageName
|
||||
{
|
||||
@@ -101836,6 +101824,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageId", DbType="NVarChar(2000)")]
|
||||
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.AssociationAttribute(Name="FK_HSSE_Hazard_HazardRegister_Base_Unit", Storage="_Base_Unit", ThisKey="ResponsibleUnit", OtherKey="UnitId", IsForeignKey=true)]
|
||||
public Base_Unit Base_Unit
|
||||
{
|
||||
@@ -268078,6 +268086,465 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Hazard_HazardRegisterList")]
|
||||
public partial class View_Hazard_HazardRegisterList
|
||||
{
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _HazardRegisterId;
|
||||
|
||||
private string _ResponsibleUnit;
|
||||
|
||||
private System.Nullable<System.DateTime> _CheckTime;
|
||||
|
||||
private string _ProblemTypes;
|
||||
|
||||
private string _CheckManName;
|
||||
|
||||
private string _RegisterTypesName;
|
||||
|
||||
private string _WorkAreaName;
|
||||
|
||||
private string _ResponsibilityUnitName;
|
||||
|
||||
private System.Nullable<System.DateTime> _RectificationTime;
|
||||
|
||||
private string _States;
|
||||
|
||||
private string _RegisterDef;
|
||||
|
||||
private string _HazardValue;
|
||||
|
||||
private string _RegisterTypes2Id;
|
||||
|
||||
private string _RegisterTypes2Name;
|
||||
|
||||
private string _RegisterTypes3Id;
|
||||
|
||||
private string _RegisterTypes3Name;
|
||||
|
||||
private string _RegisterTypes4Id;
|
||||
|
||||
private string _RegisterTypes4Name;
|
||||
|
||||
private string _ResponsibilityManName;
|
||||
|
||||
private string _SendUnitId;
|
||||
|
||||
private string _Rectification;
|
||||
|
||||
private System.Nullable<System.DateTime> _RectificationPeriod;
|
||||
|
||||
private System.Nullable<System.DateTime> _RegisterDate;
|
||||
|
||||
private string _StatesStr;
|
||||
|
||||
public View_Hazard_HazardRegisterList()
|
||||
{
|
||||
}
|
||||
|
||||
[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.ColumnAttribute(Storage="_HazardRegisterId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
|
||||
public string HazardRegisterId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._HazardRegisterId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._HazardRegisterId != value))
|
||||
{
|
||||
this._HazardRegisterId = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibleUnit", DbType="NVarChar(50)")]
|
||||
public string ResponsibleUnit
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ResponsibleUnit;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ResponsibleUnit != value))
|
||||
{
|
||||
this._ResponsibleUnit = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckTime", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> CheckTime
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CheckTime;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CheckTime != value))
|
||||
{
|
||||
this._CheckTime = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProblemTypes", DbType="Char(1)")]
|
||||
public string ProblemTypes
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProblemTypes;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProblemTypes != value))
|
||||
{
|
||||
this._ProblemTypes = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckManName", DbType="NVarChar(200)")]
|
||||
public string CheckManName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CheckManName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CheckManName != value))
|
||||
{
|
||||
this._CheckManName = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RegisterTypesName", DbType="NVarChar(200)")]
|
||||
public string RegisterTypesName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RegisterTypesName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RegisterTypesName != value))
|
||||
{
|
||||
this._RegisterTypesName = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(30) NOT NULL", CanBeNull=false)]
|
||||
public string WorkAreaName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WorkAreaName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WorkAreaName != value))
|
||||
{
|
||||
this._WorkAreaName = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityUnitName", DbType="NVarChar(200)")]
|
||||
public string ResponsibilityUnitName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ResponsibilityUnitName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ResponsibilityUnitName != value))
|
||||
{
|
||||
this._ResponsibilityUnitName = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RectificationTime", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> RectificationTime
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RectificationTime;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RectificationTime != value))
|
||||
{
|
||||
this._RectificationTime = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="states", Storage="_States", DbType="Char(1)")]
|
||||
public string States
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._States;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._States != value))
|
||||
{
|
||||
this._States = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RegisterDef", DbType="NVarChar(500)")]
|
||||
public string RegisterDef
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RegisterDef;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RegisterDef != value))
|
||||
{
|
||||
this._RegisterDef = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HazardValue", DbType="NVarChar(50)")]
|
||||
public string HazardValue
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._HazardValue;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._HazardValue != value))
|
||||
{
|
||||
this._HazardValue = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RegisterTypes2Id", DbType="NVarChar(50)")]
|
||||
public string RegisterTypes2Id
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RegisterTypes2Id;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RegisterTypes2Id != value))
|
||||
{
|
||||
this._RegisterTypes2Id = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RegisterTypes2Name", DbType="NVarChar(200)")]
|
||||
public string RegisterTypes2Name
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RegisterTypes2Name;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RegisterTypes2Name != value))
|
||||
{
|
||||
this._RegisterTypes2Name = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RegisterTypes3Id", DbType="NVarChar(50)")]
|
||||
public string RegisterTypes3Id
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RegisterTypes3Id;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RegisterTypes3Id != value))
|
||||
{
|
||||
this._RegisterTypes3Id = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RegisterTypes3Name", DbType="NVarChar(200)")]
|
||||
public string RegisterTypes3Name
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RegisterTypes3Name;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RegisterTypes3Name != value))
|
||||
{
|
||||
this._RegisterTypes3Name = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RegisterTypes4Id", DbType="NVarChar(50)")]
|
||||
public string RegisterTypes4Id
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RegisterTypes4Id;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RegisterTypes4Id != value))
|
||||
{
|
||||
this._RegisterTypes4Id = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RegisterTypes4Name", DbType="NVarChar(200)")]
|
||||
public string RegisterTypes4Name
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RegisterTypes4Name;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RegisterTypes4Name != value))
|
||||
{
|
||||
this._RegisterTypes4Name = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityManName", DbType="NVarChar(200)")]
|
||||
public string ResponsibilityManName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ResponsibilityManName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ResponsibilityManName != value))
|
||||
{
|
||||
this._ResponsibilityManName = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SendUnitId", DbType="NVarChar(50)")]
|
||||
public string SendUnitId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SendUnitId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SendUnitId != value))
|
||||
{
|
||||
this._SendUnitId = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Rectification", DbType="NVarChar(500)")]
|
||||
public string Rectification
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Rectification;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Rectification != value))
|
||||
{
|
||||
this._Rectification = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RectificationPeriod", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> RectificationPeriod
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RectificationPeriod;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RectificationPeriod != value))
|
||||
{
|
||||
this._RectificationPeriod = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RegisterDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> RegisterDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._RegisterDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._RegisterDate != value))
|
||||
{
|
||||
this._RegisterDate = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StatesStr", DbType="VarChar(6) NOT NULL", CanBeNull=false)]
|
||||
public string StatesStr
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._StatesStr;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._StatesStr != value))
|
||||
{
|
||||
this._StatesStr = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_HJGL_Batch_PointBatch")]
|
||||
public partial class View_HJGL_Batch_PointBatch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user