20241118 承包商质量事件调查

This commit is contained in:
2024-11-18 14:29:07 +08:00
parent 6bee3ffa04
commit 584319b655
10 changed files with 3296 additions and 84 deletions
+754 -83
View File
@@ -818,6 +818,14 @@ namespace Model
}
}
public System.Data.Linq.Table<View_EMC_PunishmentNew> View_EMC_PunishmentNew
{
get
{
return this.GetTable<View_EMC_PunishmentNew>();
}
}
public System.Data.Linq.Table<View_EMC_Que_Punishment> View_EMC_Que_Punishment
{
get
@@ -9754,12 +9762,20 @@ namespace Model
private System.Nullable<System.DateTime> _CreateDate;
private System.Nullable<bool> _IsEvaluated;
private System.Nullable<bool> _IsUserEvaluated;
private System.Nullable<bool> _IsDepEvaluated;
private string _Contractor;
private string _Discipline;
private string _ViolationClauseId;
private string _ItemNo;
private System.Nullable<bool> _IsFrame;
private string _ViolationPerson;
@@ -9768,26 +9784,32 @@ namespace Model
private string _Requisitioner;
private string _Contractor;
private string _Discipline;
private System.Nullable<bool> _IsAudit;
private string _AuditMan;
private System.Nullable<bool> _AuditEmailIsSend;
private System.Nullable<bool> _IsPass;
private string _AuditResult;
private string _ItemNo;
private System.Nullable<bool> _AuditEmailIsSend;
private string _AttachUrl;
private System.Nullable<bool> _RelatedSesMailIsSend2;
private string _States;
private string _ContractAdmin;
private string _ContractRequester;
private string _ContractRequesterDep;
private string _IndividualPerson;
private string _UserDep;
private EntityRef<Base_Depart> _Base_Depart;
private EntityRef<Sys_User> _Sys_User;
@@ -9836,12 +9858,20 @@ namespace Model
partial void OnRelatedSesMailIsSendChanged();
partial void OnCreateDateChanging(System.Nullable<System.DateTime> value);
partial void OnCreateDateChanged();
partial void OnIsEvaluatedChanging(System.Nullable<bool> value);
partial void OnIsEvaluatedChanged();
partial void OnIsUserEvaluatedChanging(System.Nullable<bool> value);
partial void OnIsUserEvaluatedChanged();
partial void OnIsDepEvaluatedChanging(System.Nullable<bool> value);
partial void OnIsDepEvaluatedChanged();
partial void OnContractorChanging(string value);
partial void OnContractorChanged();
partial void OnDisciplineChanging(string value);
partial void OnDisciplineChanged();
partial void OnViolationClauseIdChanging(string value);
partial void OnViolationClauseIdChanged();
partial void OnItemNoChanging(string value);
partial void OnItemNoChanged();
partial void OnIsFrameChanging(System.Nullable<bool> value);
partial void OnIsFrameChanged();
partial void OnViolationPersonChanging(string value);
@@ -9850,26 +9880,32 @@ namespace Model
partial void OnBYC_PersonChanged();
partial void OnRequisitionerChanging(string value);
partial void OnRequisitionerChanged();
partial void OnContractorChanging(string value);
partial void OnContractorChanged();
partial void OnDisciplineChanging(string value);
partial void OnDisciplineChanged();
partial void OnIsAuditChanging(System.Nullable<bool> value);
partial void OnIsAuditChanged();
partial void OnAuditManChanging(string value);
partial void OnAuditManChanged();
partial void OnAuditEmailIsSendChanging(System.Nullable<bool> value);
partial void OnAuditEmailIsSendChanged();
partial void OnIsPassChanging(System.Nullable<bool> value);
partial void OnIsPassChanged();
partial void OnAuditResultChanging(string value);
partial void OnAuditResultChanged();
partial void OnItemNoChanging(string value);
partial void OnItemNoChanged();
partial void OnAuditEmailIsSendChanging(System.Nullable<bool> value);
partial void OnAuditEmailIsSendChanged();
partial void OnAttachUrlChanging(string value);
partial void OnAttachUrlChanged();
partial void OnRelatedSesMailIsSend2Changing(System.Nullable<bool> value);
partial void OnRelatedSesMailIsSend2Changed();
partial void OnStatesChanging(string value);
partial void OnStatesChanged();
partial void OnContractAdminChanging(string value);
partial void OnContractAdminChanged();
partial void OnContractRequesterChanging(string value);
partial void OnContractRequesterChanged();
partial void OnContractRequesterDepChanging(string value);
partial void OnContractRequesterDepChanged();
partial void OnIndividualPersonChanging(string value);
partial void OnIndividualPersonChanged();
partial void OnUserDepChanging(string value);
partial void OnUserDepChanged();
#endregion
public EMC_Punishment()
@@ -10287,6 +10323,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsEvaluated", DbType="Bit")]
public System.Nullable<bool> IsEvaluated
{
get
{
return this._IsEvaluated;
}
set
{
if ((this._IsEvaluated != value))
{
this.OnIsEvaluatedChanging(value);
this.SendPropertyChanging();
this._IsEvaluated = value;
this.SendPropertyChanged("IsEvaluated");
this.OnIsEvaluatedChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsUserEvaluated", DbType="Bit")]
public System.Nullable<bool> IsUserEvaluated
{
@@ -10327,6 +10383,46 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Contractor", DbType="NVarChar(150)")]
public string Contractor
{
get
{
return this._Contractor;
}
set
{
if ((this._Contractor != value))
{
this.OnContractorChanging(value);
this.SendPropertyChanging();
this._Contractor = value;
this.SendPropertyChanged("Contractor");
this.OnContractorChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Discipline", DbType="NVarChar(150)")]
public string Discipline
{
get
{
return this._Discipline;
}
set
{
if ((this._Discipline != value))
{
this.OnDisciplineChanging(value);
this.SendPropertyChanging();
this._Discipline = value;
this.SendPropertyChanged("Discipline");
this.OnDisciplineChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ViolationClauseId", DbType="NVarChar(50)")]
public string ViolationClauseId
{
@@ -10347,6 +10443,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ItemNo", DbType="NVarChar(10)")]
public string ItemNo
{
get
{
return this._ItemNo;
}
set
{
if ((this._ItemNo != value))
{
this.OnItemNoChanging(value);
this.SendPropertyChanging();
this._ItemNo = value;
this.SendPropertyChanged("ItemNo");
this.OnItemNoChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsFrame", DbType="Bit")]
public System.Nullable<bool> IsFrame
{
@@ -10427,46 +10543,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Contractor", DbType="NVarChar(150)")]
public string Contractor
{
get
{
return this._Contractor;
}
set
{
if ((this._Contractor != value))
{
this.OnContractorChanging(value);
this.SendPropertyChanging();
this._Contractor = value;
this.SendPropertyChanged("Contractor");
this.OnContractorChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Discipline", DbType="NVarChar(150)")]
public string Discipline
{
get
{
return this._Discipline;
}
set
{
if ((this._Discipline != value))
{
this.OnDisciplineChanging(value);
this.SendPropertyChanging();
this._Discipline = value;
this.SendPropertyChanged("Discipline");
this.OnDisciplineChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAudit", DbType="Bit")]
public System.Nullable<bool> IsAudit
{
@@ -10507,26 +10583,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditEmailIsSend", DbType="Bit")]
public System.Nullable<bool> AuditEmailIsSend
{
get
{
return this._AuditEmailIsSend;
}
set
{
if ((this._AuditEmailIsSend != value))
{
this.OnAuditEmailIsSendChanging(value);
this.SendPropertyChanging();
this._AuditEmailIsSend = value;
this.SendPropertyChanged("AuditEmailIsSend");
this.OnAuditEmailIsSendChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPass", DbType="Bit")]
public System.Nullable<bool> IsPass
{
@@ -10567,22 +10623,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ItemNo", DbType="NVarChar(10)")]
public string ItemNo
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditEmailIsSend", DbType="Bit")]
public System.Nullable<bool> AuditEmailIsSend
{
get
{
return this._ItemNo;
return this._AuditEmailIsSend;
}
set
{
if ((this._ItemNo != value))
if ((this._AuditEmailIsSend != value))
{
this.OnItemNoChanging(value);
this.OnAuditEmailIsSendChanging(value);
this.SendPropertyChanging();
this._ItemNo = value;
this.SendPropertyChanged("ItemNo");
this.OnItemNoChanged();
this._AuditEmailIsSend = value;
this.SendPropertyChanged("AuditEmailIsSend");
this.OnAuditEmailIsSendChanged();
}
}
}
@@ -10627,6 +10683,126 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_States", DbType="Char(1)")]
public string States
{
get
{
return this._States;
}
set
{
if ((this._States != value))
{
this.OnStatesChanging(value);
this.SendPropertyChanging();
this._States = value;
this.SendPropertyChanged("States");
this.OnStatesChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractAdmin", DbType="NVarChar(50)")]
public string ContractAdmin
{
get
{
return this._ContractAdmin;
}
set
{
if ((this._ContractAdmin != value))
{
this.OnContractAdminChanging(value);
this.SendPropertyChanging();
this._ContractAdmin = value;
this.SendPropertyChanged("ContractAdmin");
this.OnContractAdminChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractRequester", DbType="NVarChar(50)")]
public string ContractRequester
{
get
{
return this._ContractRequester;
}
set
{
if ((this._ContractRequester != value))
{
this.OnContractRequesterChanging(value);
this.SendPropertyChanging();
this._ContractRequester = value;
this.SendPropertyChanged("ContractRequester");
this.OnContractRequesterChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractRequesterDep", DbType="NVarChar(50)")]
public string ContractRequesterDep
{
get
{
return this._ContractRequesterDep;
}
set
{
if ((this._ContractRequesterDep != value))
{
this.OnContractRequesterDepChanging(value);
this.SendPropertyChanging();
this._ContractRequesterDep = value;
this.SendPropertyChanged("ContractRequesterDep");
this.OnContractRequesterDepChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IndividualPerson", DbType="NVarChar(50)")]
public string IndividualPerson
{
get
{
return this._IndividualPerson;
}
set
{
if ((this._IndividualPerson != value))
{
this.OnIndividualPersonChanging(value);
this.SendPropertyChanging();
this._IndividualPerson = value;
this.SendPropertyChanged("IndividualPerson");
this.OnIndividualPersonChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserDep", DbType="NVarChar(50)")]
public string UserDep
{
get
{
return this._UserDep;
}
set
{
if ((this._UserDep != value))
{
this.OnUserDepChanging(value);
this.SendPropertyChanging();
this._UserDep = value;
this.SendPropertyChanged("UserDep");
this.OnUserDepChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_EMC_Punishment_Base_Depart", Storage="_Base_Depart", ThisKey="BYC_RU", OtherKey="DepartId", IsForeignKey=true)]
public Base_Depart Base_Depart
{
@@ -29392,6 +29568,501 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_EMC_PunishmentNew")]
public partial class View_EMC_PunishmentNew
{
private string _PunishmentId;
private System.Nullable<System.DateTime> _PunishDate;
private string _Location;
private string _Description;
private string _Contractor;
private string _FO_NO;
private string _Main_Coordinator;
private string _MainCoordinatorName;
private string _MCDepName;
private string _ContractRequester;
private string _ContractRequesterName;
private string _ContractRequesterDep;
private string _UserRepresentativeName;
private string _ContractAdminName;
private string _ItemNo;
private string _ViolationClauseId;
private string _ClauseDef;
private string _ViolationDegree;
private System.Nullable<decimal> _Company;
private string _IndividualPerson;
private System.Nullable<decimal> _Individual;
private string _UserDepName;
private string _ViolationRelatedSes;
private string _SES_No;
private System.Nullable<System.DateTime> _CompletionDate;
private System.Nullable<bool> _IsFrame;
private string _IsFrameName;
public View_EMC_PunishmentNew()
{
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PunishmentId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string PunishmentId
{
get
{
return this._PunishmentId;
}
set
{
if ((this._PunishmentId != value))
{
this._PunishmentId = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PunishDate", DbType="DateTime")]
public System.Nullable<System.DateTime> PunishDate
{
get
{
return this._PunishDate;
}
set
{
if ((this._PunishDate != value))
{
this._PunishDate = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Location", DbType="NVarChar(100)")]
public string Location
{
get
{
return this._Location;
}
set
{
if ((this._Location != value))
{
this._Location = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="NVarChar(500)")]
public string Description
{
get
{
return this._Description;
}
set
{
if ((this._Description != value))
{
this._Description = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Contractor", DbType="NVarChar(150)")]
public string Contractor
{
get
{
return this._Contractor;
}
set
{
if ((this._Contractor != value))
{
this._Contractor = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FO_NO", DbType="NVarChar(50)")]
public string FO_NO
{
get
{
return this._FO_NO;
}
set
{
if ((this._FO_NO != value))
{
this._FO_NO = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Main_Coordinator", DbType="NVarChar(50)")]
public string Main_Coordinator
{
get
{
return this._Main_Coordinator;
}
set
{
if ((this._Main_Coordinator != value))
{
this._Main_Coordinator = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainCoordinatorName", DbType="NVarChar(50)")]
public string MainCoordinatorName
{
get
{
return this._MainCoordinatorName;
}
set
{
if ((this._MainCoordinatorName != value))
{
this._MainCoordinatorName = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MCDepName", DbType="NVarChar(50)")]
public string MCDepName
{
get
{
return this._MCDepName;
}
set
{
if ((this._MCDepName != value))
{
this._MCDepName = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractRequester", DbType="NVarChar(50)")]
public string ContractRequester
{
get
{
return this._ContractRequester;
}
set
{
if ((this._ContractRequester != value))
{
this._ContractRequester = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractRequesterName", DbType="NVarChar(50)")]
public string ContractRequesterName
{
get
{
return this._ContractRequesterName;
}
set
{
if ((this._ContractRequesterName != value))
{
this._ContractRequesterName = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractRequesterDep", DbType="NVarChar(50)")]
public string ContractRequesterDep
{
get
{
return this._ContractRequesterDep;
}
set
{
if ((this._ContractRequesterDep != value))
{
this._ContractRequesterDep = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserRepresentativeName", DbType="NVarChar(50)")]
public string UserRepresentativeName
{
get
{
return this._UserRepresentativeName;
}
set
{
if ((this._UserRepresentativeName != value))
{
this._UserRepresentativeName = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractAdminName", DbType="NVarChar(50)")]
public string ContractAdminName
{
get
{
return this._ContractAdminName;
}
set
{
if ((this._ContractAdminName != value))
{
this._ContractAdminName = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ItemNo", DbType="NVarChar(10)")]
public string ItemNo
{
get
{
return this._ItemNo;
}
set
{
if ((this._ItemNo != value))
{
this._ItemNo = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ViolationClauseId", DbType="NVarChar(50)")]
public string ViolationClauseId
{
get
{
return this._ViolationClauseId;
}
set
{
if ((this._ViolationClauseId != value))
{
this._ViolationClauseId = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClauseDef", DbType="NVarChar(500)")]
public string ClauseDef
{
get
{
return this._ClauseDef;
}
set
{
if ((this._ClauseDef != value))
{
this._ClauseDef = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ViolationDegree", DbType="VarChar(10)")]
public string ViolationDegree
{
get
{
return this._ViolationDegree;
}
set
{
if ((this._ViolationDegree != value))
{
this._ViolationDegree = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Company", DbType="Money")]
public System.Nullable<decimal> Company
{
get
{
return this._Company;
}
set
{
if ((this._Company != value))
{
this._Company = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IndividualPerson", DbType="NVarChar(50)")]
public string IndividualPerson
{
get
{
return this._IndividualPerson;
}
set
{
if ((this._IndividualPerson != value))
{
this._IndividualPerson = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Individual", DbType="Money")]
public System.Nullable<decimal> Individual
{
get
{
return this._Individual;
}
set
{
if ((this._Individual != value))
{
this._Individual = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserDepName", DbType="NVarChar(50)")]
public string UserDepName
{
get
{
return this._UserDepName;
}
set
{
if ((this._UserDepName != value))
{
this._UserDepName = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ViolationRelatedSes", DbType="NVarChar(50)")]
public string ViolationRelatedSes
{
get
{
return this._ViolationRelatedSes;
}
set
{
if ((this._ViolationRelatedSes != value))
{
this._ViolationRelatedSes = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SES_No", DbType="NVarChar(20)")]
public string SES_No
{
get
{
return this._SES_No;
}
set
{
if ((this._SES_No != value))
{
this._SES_No = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompletionDate", DbType="DateTime")]
public System.Nullable<System.DateTime> CompletionDate
{
get
{
return this._CompletionDate;
}
set
{
if ((this._CompletionDate != value))
{
this._CompletionDate = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsFrame", DbType="Bit")]
public System.Nullable<bool> IsFrame
{
get
{
return this._IsFrame;
}
set
{
if ((this._IsFrame != value))
{
this._IsFrame = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsFrameName", DbType="VarChar(2) NOT NULL", CanBeNull=false)]
public string IsFrameName
{
get
{
return this._IsFrameName;
}
set
{
if ((this._IsFrameName != value))
{
this._IsFrameName = value;
}
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_EMC_Que_Punishment")]
public partial class View_EMC_Que_Punishment
{