2023-03-21 质量验收增加可编辑界面的资料验收
This commit is contained in:
+320
-10
@@ -299,6 +299,9 @@ namespace Model
|
||||
partial void InsertCheck_JointCheckDetail(Check_JointCheckDetail instance);
|
||||
partial void UpdateCheck_JointCheckDetail(Check_JointCheckDetail instance);
|
||||
partial void DeleteCheck_JointCheckDetail(Check_JointCheckDetail instance);
|
||||
partial void InsertCheck_MaterialAcceptance(Check_MaterialAcceptance instance);
|
||||
partial void UpdateCheck_MaterialAcceptance(Check_MaterialAcceptance instance);
|
||||
partial void DeleteCheck_MaterialAcceptance(Check_MaterialAcceptance instance);
|
||||
partial void InsertCheck_MonthDesign(Check_MonthDesign instance);
|
||||
partial void UpdateCheck_MonthDesign(Check_MonthDesign instance);
|
||||
partial void DeleteCheck_MonthDesign(Check_MonthDesign instance);
|
||||
@@ -2254,6 +2257,14 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Check_MaterialAcceptance> Check_MaterialAcceptance
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<Check_MaterialAcceptance>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<Check_MonthDesign> Check_MonthDesign
|
||||
{
|
||||
get
|
||||
@@ -19679,6 +19690,8 @@ namespace Model
|
||||
|
||||
private EntitySet<Check_JointCheck> _Check_JointCheck;
|
||||
|
||||
private EntitySet<Check_MaterialAcceptance> _Check_MaterialAcceptance;
|
||||
|
||||
private EntitySet<Check_PauseNotice> _Check_PauseNotice;
|
||||
|
||||
private EntitySet<Check_PunishNotice> _Check_PunishNotice;
|
||||
@@ -20019,6 +20032,7 @@ namespace Model
|
||||
this._Check_CheckEquipment = new EntitySet<Check_CheckEquipment>(new Action<Check_CheckEquipment>(this.attach_Check_CheckEquipment), new Action<Check_CheckEquipment>(this.detach_Check_CheckEquipment));
|
||||
this._Check_IncentiveNotice = new EntitySet<Check_IncentiveNotice>(new Action<Check_IncentiveNotice>(this.attach_Check_IncentiveNotice), new Action<Check_IncentiveNotice>(this.detach_Check_IncentiveNotice));
|
||||
this._Check_JointCheck = new EntitySet<Check_JointCheck>(new Action<Check_JointCheck>(this.attach_Check_JointCheck), new Action<Check_JointCheck>(this.detach_Check_JointCheck));
|
||||
this._Check_MaterialAcceptance = new EntitySet<Check_MaterialAcceptance>(new Action<Check_MaterialAcceptance>(this.attach_Check_MaterialAcceptance), new Action<Check_MaterialAcceptance>(this.detach_Check_MaterialAcceptance));
|
||||
this._Check_PauseNotice = new EntitySet<Check_PauseNotice>(new Action<Check_PauseNotice>(this.attach_Check_PauseNotice), new Action<Check_PauseNotice>(this.detach_Check_PauseNotice));
|
||||
this._Check_PunishNotice = new EntitySet<Check_PunishNotice>(new Action<Check_PunishNotice>(this.attach_Check_PunishNotice), new Action<Check_PunishNotice>(this.detach_Check_PunishNotice));
|
||||
this._Check_RectifyNotices = new EntitySet<Check_RectifyNotices>(new Action<Check_RectifyNotices>(this.attach_Check_RectifyNotices), new Action<Check_RectifyNotices>(this.detach_Check_RectifyNotices));
|
||||
@@ -21095,6 +21109,19 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_MaterialAcceptance_Base_Project", Storage="_Check_MaterialAcceptance", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Check_MaterialAcceptance> Check_MaterialAcceptance
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Check_MaterialAcceptance;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._Check_MaterialAcceptance.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_PauseNotice_Base_Project", Storage="_Check_PauseNotice", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<Check_PauseNotice> Check_PauseNotice
|
||||
{
|
||||
@@ -23028,6 +23055,18 @@ namespace Model
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_Check_MaterialAcceptance(Check_MaterialAcceptance entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = this;
|
||||
}
|
||||
|
||||
private void detach_Check_MaterialAcceptance(Check_MaterialAcceptance entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.Base_Project = null;
|
||||
}
|
||||
|
||||
private void attach_Check_PauseNotice(Check_PauseNotice entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
@@ -41902,6 +41941,277 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Check_MaterialAcceptance")]
|
||||
public partial class Check_MaterialAcceptance : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _MaterialAcceptanceId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private string _PlanCode;
|
||||
|
||||
private string _FileName;
|
||||
|
||||
private string _CompileMan;
|
||||
|
||||
private System.Nullable<System.DateTime> _CompileDate;
|
||||
|
||||
private string _State;
|
||||
|
||||
private string _FilePath;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnMaterialAcceptanceIdChanging(string value);
|
||||
partial void OnMaterialAcceptanceIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnPlanCodeChanging(string value);
|
||||
partial void OnPlanCodeChanged();
|
||||
partial void OnFileNameChanging(string value);
|
||||
partial void OnFileNameChanged();
|
||||
partial void OnCompileManChanging(string value);
|
||||
partial void OnCompileManChanged();
|
||||
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnCompileDateChanged();
|
||||
partial void OnStateChanging(string value);
|
||||
partial void OnStateChanged();
|
||||
partial void OnFilePathChanging(string value);
|
||||
partial void OnFilePathChanged();
|
||||
#endregion
|
||||
|
||||
public Check_MaterialAcceptance()
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialAcceptanceId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string MaterialAcceptanceId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MaterialAcceptanceId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MaterialAcceptanceId != value))
|
||||
{
|
||||
this.OnMaterialAcceptanceIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MaterialAcceptanceId = value;
|
||||
this.SendPropertyChanged("MaterialAcceptanceId");
|
||||
this.OnMaterialAcceptanceIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectId != value))
|
||||
{
|
||||
if (this._Base_Project.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnProjectIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectId = value;
|
||||
this.SendPropertyChanged("ProjectId");
|
||||
this.OnProjectIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanCode", DbType="NVarChar(50)")]
|
||||
public string PlanCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._PlanCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._PlanCode != value))
|
||||
{
|
||||
this.OnPlanCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._PlanCode = value;
|
||||
this.SendPropertyChanged("PlanCode");
|
||||
this.OnPlanCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileName", DbType="NVarChar(50)")]
|
||||
public string FileName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._FileName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._FileName != value))
|
||||
{
|
||||
this.OnFileNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._FileName = value;
|
||||
this.SendPropertyChanged("FileName");
|
||||
this.OnFileNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="Char(1)")]
|
||||
public string State
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._State;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._State != value))
|
||||
{
|
||||
this.OnStateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._State = value;
|
||||
this.SendPropertyChanged("State");
|
||||
this.OnStateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilePath", DbType="VarChar(200)")]
|
||||
public string FilePath
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._FilePath;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._FilePath != value))
|
||||
{
|
||||
this.OnFilePathChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._FilePath = value;
|
||||
this.SendPropertyChanged("FilePath");
|
||||
this.OnFilePathChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_MaterialAcceptance_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
|
||||
public Base_Project Base_Project
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Base_Project.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
Base_Project previousValue = this._Base_Project.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._Base_Project.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._Base_Project.Entity = null;
|
||||
previousValue.Check_MaterialAcceptance.Remove(this);
|
||||
}
|
||||
this._Base_Project.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.Check_MaterialAcceptance.Add(this);
|
||||
this._ProjectId = value.ProjectId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._ProjectId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("Base_Project");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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.Check_MonthDesign")]
|
||||
public partial class Check_MonthDesign : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -74047,7 +74357,7 @@ namespace Model
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(15) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string MaterialCode
|
||||
{
|
||||
get
|
||||
@@ -74151,7 +74461,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialDef", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialDef", DbType="NVarChar(3000)")]
|
||||
public string MaterialDef
|
||||
{
|
||||
get
|
||||
@@ -78741,7 +79051,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(15)")]
|
||||
public string MaterialCode
|
||||
{
|
||||
get
|
||||
@@ -83089,7 +83399,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderCode", DbType="NVarChar(1000)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderCode", DbType="NVarChar(200)")]
|
||||
public string CanWelderCode
|
||||
{
|
||||
get
|
||||
@@ -122458,7 +122768,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialName", DbType="NVarChar(100)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialName", DbType="NVarChar(50)")]
|
||||
public string MaterialName
|
||||
{
|
||||
get
|
||||
@@ -122478,7 +122788,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecificationAndModel", DbType="NVarChar(200)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecificationAndModel", DbType="NVarChar(50)")]
|
||||
public string SpecificationAndModel
|
||||
{
|
||||
get
|
||||
@@ -122498,7 +122808,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(100)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(50)")]
|
||||
public string MaterialCode
|
||||
{
|
||||
get
|
||||
@@ -122518,7 +122828,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Material", DbType="NVarChar(100)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Material", DbType="NVarChar(50)")]
|
||||
public string Material
|
||||
{
|
||||
get
|
||||
@@ -181663,7 +181973,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RewardAndPunishDecision", DbType="NVarChar(100)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RewardAndPunishDecision", DbType="NVarChar(200)")]
|
||||
public string RewardAndPunishDecision
|
||||
{
|
||||
get
|
||||
@@ -236164,7 +236474,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderCode", DbType="NVarChar(1000)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderCode", DbType="NVarChar(200)")]
|
||||
public string CanWelderCode
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user