20250509 新增质量事故报告报表

This commit is contained in:
2025-05-09 15:29:52 +08:00
parent 2245263c29
commit 1cda2d1914
11 changed files with 1608 additions and 14 deletions
+887
View File
@@ -878,6 +878,14 @@ namespace Model
}
}
public System.Data.Linq.Table<View_EMC_PunishmentReport> View_EMC_PunishmentReport
{
get
{
return this.GetTable<View_EMC_PunishmentReport>();
}
}
public System.Data.Linq.Table<View_EMC_Que_Punishment> View_EMC_Que_Punishment
{
get
@@ -9908,6 +9916,20 @@ namespace Model
private string _BuyerReson;
private System.Nullable<System.DateTime> _SSRStaratDate;
private System.Nullable<System.DateTime> _SSREndDate;
private System.Nullable<System.DateTime> _MainCoordinatorStartDate;
private System.Nullable<System.DateTime> _MainCoordinatorEndDate;
private System.Nullable<System.DateTime> _UserDepStartDate;
private System.Nullable<System.DateTime> _UserDepEndDate;
private string _SSRAdminId;
private EntityRef<Base_Depart> _Base_Depart;
private EntityRef<Sys_User> _Sys_User;
@@ -10020,6 +10042,20 @@ namespace Model
partial void OnSESReasonChanged();
partial void OnBuyerResonChanging(string value);
partial void OnBuyerResonChanged();
partial void OnSSRStaratDateChanging(System.Nullable<System.DateTime> value);
partial void OnSSRStaratDateChanged();
partial void OnSSREndDateChanging(System.Nullable<System.DateTime> value);
partial void OnSSREndDateChanged();
partial void OnMainCoordinatorStartDateChanging(System.Nullable<System.DateTime> value);
partial void OnMainCoordinatorStartDateChanged();
partial void OnMainCoordinatorEndDateChanging(System.Nullable<System.DateTime> value);
partial void OnMainCoordinatorEndDateChanged();
partial void OnUserDepStartDateChanging(System.Nullable<System.DateTime> value);
partial void OnUserDepStartDateChanged();
partial void OnUserDepEndDateChanging(System.Nullable<System.DateTime> value);
partial void OnUserDepEndDateChanged();
partial void OnSSRAdminIdChanging(string value);
partial void OnSSRAdminIdChanged();
#endregion
public EMC_Punishment()
@@ -11058,6 +11094,146 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SSRStaratDate", DbType="DateTime")]
public System.Nullable<System.DateTime> SSRStaratDate
{
get
{
return this._SSRStaratDate;
}
set
{
if ((this._SSRStaratDate != value))
{
this.OnSSRStaratDateChanging(value);
this.SendPropertyChanging();
this._SSRStaratDate = value;
this.SendPropertyChanged("SSRStaratDate");
this.OnSSRStaratDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SSREndDate", DbType="DateTime")]
public System.Nullable<System.DateTime> SSREndDate
{
get
{
return this._SSREndDate;
}
set
{
if ((this._SSREndDate != value))
{
this.OnSSREndDateChanging(value);
this.SendPropertyChanging();
this._SSREndDate = value;
this.SendPropertyChanged("SSREndDate");
this.OnSSREndDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainCoordinatorStartDate", DbType="DateTime")]
public System.Nullable<System.DateTime> MainCoordinatorStartDate
{
get
{
return this._MainCoordinatorStartDate;
}
set
{
if ((this._MainCoordinatorStartDate != value))
{
this.OnMainCoordinatorStartDateChanging(value);
this.SendPropertyChanging();
this._MainCoordinatorStartDate = value;
this.SendPropertyChanged("MainCoordinatorStartDate");
this.OnMainCoordinatorStartDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainCoordinatorEndDate", DbType="DateTime")]
public System.Nullable<System.DateTime> MainCoordinatorEndDate
{
get
{
return this._MainCoordinatorEndDate;
}
set
{
if ((this._MainCoordinatorEndDate != value))
{
this.OnMainCoordinatorEndDateChanging(value);
this.SendPropertyChanging();
this._MainCoordinatorEndDate = value;
this.SendPropertyChanged("MainCoordinatorEndDate");
this.OnMainCoordinatorEndDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserDepStartDate", DbType="DateTime")]
public System.Nullable<System.DateTime> UserDepStartDate
{
get
{
return this._UserDepStartDate;
}
set
{
if ((this._UserDepStartDate != value))
{
this.OnUserDepStartDateChanging(value);
this.SendPropertyChanging();
this._UserDepStartDate = value;
this.SendPropertyChanged("UserDepStartDate");
this.OnUserDepStartDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserDepEndDate", DbType="DateTime")]
public System.Nullable<System.DateTime> UserDepEndDate
{
get
{
return this._UserDepEndDate;
}
set
{
if ((this._UserDepEndDate != value))
{
this.OnUserDepEndDateChanging(value);
this.SendPropertyChanging();
this._UserDepEndDate = value;
this.SendPropertyChanged("UserDepEndDate");
this.OnUserDepEndDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SSRAdminId", DbType="NVarChar(50)")]
public string SSRAdminId
{
get
{
return this._SSRAdminId;
}
set
{
if ((this._SSRAdminId != value))
{
this.OnSSRAdminIdChanging(value);
this.SendPropertyChanging();
this._SSRAdminId = value;
this.SendPropertyChanged("SSRAdminId");
this.OnSSRAdminIdChanged();
}
}
}
[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
{
@@ -31739,6 +31915,717 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_EMC_PunishmentReport")]
public partial class View_EMC_PunishmentReport
{
private string _PunishmentId;
private System.Nullable<System.DateTime> _PunishDate;
private string _FO_NO;
private string _Original_WC;
private string _SeType;
private string _Contractor;
private string _Location;
private string _Description;
private string _ViolationDegree;
private string _IndividualPerson;
private System.Nullable<decimal> _Company;
private System.Nullable<decimal> _Individual;
private string _ContractAdmin;
private string _ContractAdminName;
private string _SSRAdminId;
private string _SSRAdminName;
private System.Nullable<System.DateTime> _SSRStaratDate;
private System.Nullable<System.DateTime> _SSREndDate;
private System.Nullable<int> _SSRStayDays;
private string _Main_Coordinator;
private string _Main_CoordinatorName;
private string _MCDpartment;
private System.Nullable<System.DateTime> _MainCoordinatorStartDate;
private System.Nullable<System.DateTime> _MainCoordinatorEndDate;
private System.Nullable<int> _MainCoordinatorStayDays;
private string _UserDep;
private string _UserDepName;
private string _DepartLeader;
private string _DepartLeaderName;
private System.Nullable<System.DateTime> _UserDepStartDate;
private System.Nullable<System.DateTime> _UserDepEndDate;
private System.Nullable<int> _UserDepStayDays;
private string _Violation_Inspector;
private string _Violation_InspectorName;
private string _Violation_InspectorDepart;
private string _ViolationRelatedSes;
private string _SES_No;
private System.Nullable<System.DateTime> _CompletionDate;
private string _States;
public View_EMC_PunishmentReport()
{
}
[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="_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="_Original_WC", DbType="NVarChar(50)")]
public string Original_WC
{
get
{
return this._Original_WC;
}
set
{
if ((this._Original_WC != value))
{
this._Original_WC = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SeType", DbType="VarChar(4)")]
public string SeType
{
get
{
return this._SeType;
}
set
{
if ((this._SeType != value))
{
this._SeType = 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="_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="_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="_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="_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="_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="_ContractAdmin", DbType="NVarChar(50)")]
public string ContractAdmin
{
get
{
return this._ContractAdmin;
}
set
{
if ((this._ContractAdmin != value))
{
this._ContractAdmin = 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="_SSRAdminId", DbType="NVarChar(50)")]
public string SSRAdminId
{
get
{
return this._SSRAdminId;
}
set
{
if ((this._SSRAdminId != value))
{
this._SSRAdminId = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SSRAdminName", DbType="NVarChar(50)")]
public string SSRAdminName
{
get
{
return this._SSRAdminName;
}
set
{
if ((this._SSRAdminName != value))
{
this._SSRAdminName = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SSRStaratDate", DbType="DateTime")]
public System.Nullable<System.DateTime> SSRStaratDate
{
get
{
return this._SSRStaratDate;
}
set
{
if ((this._SSRStaratDate != value))
{
this._SSRStaratDate = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SSREndDate", DbType="DateTime")]
public System.Nullable<System.DateTime> SSREndDate
{
get
{
return this._SSREndDate;
}
set
{
if ((this._SSREndDate != value))
{
this._SSREndDate = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SSRStayDays", DbType="Int")]
public System.Nullable<int> SSRStayDays
{
get
{
return this._SSRStayDays;
}
set
{
if ((this._SSRStayDays != value))
{
this._SSRStayDays = 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="_Main_CoordinatorName", DbType="NVarChar(50)")]
public string Main_CoordinatorName
{
get
{
return this._Main_CoordinatorName;
}
set
{
if ((this._Main_CoordinatorName != value))
{
this._Main_CoordinatorName = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MCDpartment", DbType="NVarChar(50)")]
public string MCDpartment
{
get
{
return this._MCDpartment;
}
set
{
if ((this._MCDpartment != value))
{
this._MCDpartment = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainCoordinatorStartDate", DbType="DateTime")]
public System.Nullable<System.DateTime> MainCoordinatorStartDate
{
get
{
return this._MainCoordinatorStartDate;
}
set
{
if ((this._MainCoordinatorStartDate != value))
{
this._MainCoordinatorStartDate = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainCoordinatorEndDate", DbType="DateTime")]
public System.Nullable<System.DateTime> MainCoordinatorEndDate
{
get
{
return this._MainCoordinatorEndDate;
}
set
{
if ((this._MainCoordinatorEndDate != value))
{
this._MainCoordinatorEndDate = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainCoordinatorStayDays", DbType="Int")]
public System.Nullable<int> MainCoordinatorStayDays
{
get
{
return this._MainCoordinatorStayDays;
}
set
{
if ((this._MainCoordinatorStayDays != value))
{
this._MainCoordinatorStayDays = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserDep", DbType="NVarChar(50)")]
public string UserDep
{
get
{
return this._UserDep;
}
set
{
if ((this._UserDep != value))
{
this._UserDep = 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="_DepartLeader", DbType="NVarChar(50)")]
public string DepartLeader
{
get
{
return this._DepartLeader;
}
set
{
if ((this._DepartLeader != value))
{
this._DepartLeader = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartLeaderName", DbType="NVarChar(50)")]
public string DepartLeaderName
{
get
{
return this._DepartLeaderName;
}
set
{
if ((this._DepartLeaderName != value))
{
this._DepartLeaderName = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserDepStartDate", DbType="DateTime")]
public System.Nullable<System.DateTime> UserDepStartDate
{
get
{
return this._UserDepStartDate;
}
set
{
if ((this._UserDepStartDate != value))
{
this._UserDepStartDate = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserDepEndDate", DbType="DateTime")]
public System.Nullable<System.DateTime> UserDepEndDate
{
get
{
return this._UserDepEndDate;
}
set
{
if ((this._UserDepEndDate != value))
{
this._UserDepEndDate = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserDepStayDays", DbType="Int")]
public System.Nullable<int> UserDepStayDays
{
get
{
return this._UserDepStayDays;
}
set
{
if ((this._UserDepStayDays != value))
{
this._UserDepStayDays = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Violation_Inspector", DbType="NVarChar(50)")]
public string Violation_Inspector
{
get
{
return this._Violation_Inspector;
}
set
{
if ((this._Violation_Inspector != value))
{
this._Violation_Inspector = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Violation_InspectorName", DbType="NVarChar(50)")]
public string Violation_InspectorName
{
get
{
return this._Violation_InspectorName;
}
set
{
if ((this._Violation_InspectorName != value))
{
this._Violation_InspectorName = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Violation_InspectorDepart", DbType="NVarChar(50)")]
public string Violation_InspectorDepart
{
get
{
return this._Violation_InspectorDepart;
}
set
{
if ((this._Violation_InspectorDepart != value))
{
this._Violation_InspectorDepart = 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="_States", DbType="VarChar(6) NOT NULL", CanBeNull=false)]
public string States
{
get
{
return this._States;
}
set
{
if ((this._States != value))
{
this._States = value;
}
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_EMC_Que_Punishment")]
public partial class View_EMC_Que_Punishment
{