20211130 与材料系统对接接口打通

This commit is contained in:
2021-11-30 10:17:46 +08:00
parent 7e0564dde6
commit 8932645f54
63 changed files with 20961 additions and 8 deletions
+292 -6
View File
@@ -1271,6 +1271,9 @@ namespace Model
partial void InsertPerson_DutyTemplate(Person_DutyTemplate instance);
partial void UpdatePerson_DutyTemplate(Person_DutyTemplate instance);
partial void DeletePerson_DutyTemplate(Person_DutyTemplate instance);
partial void InsertPerson_Meeting(Person_Meeting instance);
partial void UpdatePerson_Meeting(Person_Meeting instance);
partial void DeletePerson_Meeting(Person_Meeting instance);
partial void InsertPerson_PersonPlan(Person_PersonPlan instance);
partial void UpdatePerson_PersonPlan(Person_PersonPlan instance);
partial void DeletePerson_PersonPlan(Person_PersonPlan instance);
@@ -5364,6 +5367,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Person_Meeting> Person_Meeting
{
get
{
return this.GetTable<Person_Meeting>();
}
}
public System.Data.Linq.Table<Person_PersonPlan> Person_PersonPlan
{
get
@@ -71204,7 +71215,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualifiedProjectCode", DbType="NVarChar(500)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualifiedProjectCode", DbType="NVarChar(50)")]
public string QualifiedProjectCode
{
get
@@ -201937,6 +201948,253 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Person_Meeting")]
public partial class Person_Meeting : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _MeetingId;
private string _CompileManId;
private System.Nullable<System.DateTime> _MeetingDate;
private string _MeetingTitle;
private string _AttendeeManIds;
private string _ConferenceLink;
private string _Remark;
private EntityRef<Sys_User> _Sys_User;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnMeetingIdChanging(string value);
partial void OnMeetingIdChanged();
partial void OnCompileManIdChanging(string value);
partial void OnCompileManIdChanged();
partial void OnMeetingDateChanging(System.Nullable<System.DateTime> value);
partial void OnMeetingDateChanged();
partial void OnMeetingTitleChanging(string value);
partial void OnMeetingTitleChanged();
partial void OnAttendeeManIdsChanging(string value);
partial void OnAttendeeManIdsChanged();
partial void OnConferenceLinkChanging(string value);
partial void OnConferenceLinkChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
#endregion
public Person_Meeting()
{
this._Sys_User = default(EntityRef<Sys_User>);
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MeetingId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string MeetingId
{
get
{
return this._MeetingId;
}
set
{
if ((this._MeetingId != value))
{
this.OnMeetingIdChanging(value);
this.SendPropertyChanging();
this._MeetingId = value;
this.SendPropertyChanged("MeetingId");
this.OnMeetingIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileManId", DbType="NVarChar(50)")]
public string CompileManId
{
get
{
return this._CompileManId;
}
set
{
if ((this._CompileManId != value))
{
if (this._Sys_User.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnCompileManIdChanging(value);
this.SendPropertyChanging();
this._CompileManId = value;
this.SendPropertyChanged("CompileManId");
this.OnCompileManIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MeetingDate", DbType="DateTime")]
public System.Nullable<System.DateTime> MeetingDate
{
get
{
return this._MeetingDate;
}
set
{
if ((this._MeetingDate != value))
{
this.OnMeetingDateChanging(value);
this.SendPropertyChanging();
this._MeetingDate = value;
this.SendPropertyChanged("MeetingDate");
this.OnMeetingDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MeetingTitle", DbType="NVarChar(500)")]
public string MeetingTitle
{
get
{
return this._MeetingTitle;
}
set
{
if ((this._MeetingTitle != value))
{
this.OnMeetingTitleChanging(value);
this.SendPropertyChanging();
this._MeetingTitle = value;
this.SendPropertyChanged("MeetingTitle");
this.OnMeetingTitleChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttendeeManIds", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string AttendeeManIds
{
get
{
return this._AttendeeManIds;
}
set
{
if ((this._AttendeeManIds != value))
{
this.OnAttendeeManIdsChanging(value);
this.SendPropertyChanging();
this._AttendeeManIds = value;
this.SendPropertyChanged("AttendeeManIds");
this.OnAttendeeManIdsChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConferenceLink", DbType="NVarChar(2000)")]
public string ConferenceLink
{
get
{
return this._ConferenceLink;
}
set
{
if ((this._ConferenceLink != value))
{
this.OnConferenceLinkChanging(value);
this.SendPropertyChanging();
this._ConferenceLink = value;
this.SendPropertyChanged("ConferenceLink");
this.OnConferenceLinkChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string Remark
{
get
{
return this._Remark;
}
set
{
if ((this._Remark != value))
{
this.OnRemarkChanging(value);
this.SendPropertyChanging();
this._Remark = value;
this.SendPropertyChanged("Remark");
this.OnRemarkChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Person_Meeting_Sys_User", Storage="_Sys_User", ThisKey="CompileManId", OtherKey="UserId", IsForeignKey=true)]
public Sys_User Sys_User
{
get
{
return this._Sys_User.Entity;
}
set
{
Sys_User previousValue = this._Sys_User.Entity;
if (((previousValue != value)
|| (this._Sys_User.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Sys_User.Entity = null;
previousValue.Person_Meeting.Remove(this);
}
this._Sys_User.Entity = value;
if ((value != null))
{
value.Person_Meeting.Add(this);
this._CompileManId = value.UserId;
}
else
{
this._CompileManId = default(string);
}
this.SendPropertyChanged("Sys_User");
}
}
}
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.Person_PersonPlan")]
public partial class Person_PersonPlan : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -245489,7 +245747,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(200)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(2000)")]
public string Address
{
get
@@ -245553,7 +245811,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(200)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string WorkAreaName
{
get
@@ -264495,6 +264753,8 @@ namespace Model
private EntitySet<Person_Duty> _Person_Duty_Sys_User2;
private EntitySet<Person_Meeting> _Person_Meeting;
private EntitySet<Person_PersonPlan> _Person_PersonPlan;
private EntitySet<Person_QuarterCheck> _Person_QuarterCheck;
@@ -265018,6 +265278,7 @@ namespace Model
this._Person_Duty = new EntitySet<Person_Duty>(new Action<Person_Duty>(this.attach_Person_Duty), new Action<Person_Duty>(this.detach_Person_Duty));
this._Person_Duty_Sys_User1 = new EntitySet<Person_Duty>(new Action<Person_Duty>(this.attach_Person_Duty_Sys_User1), new Action<Person_Duty>(this.detach_Person_Duty_Sys_User1));
this._Person_Duty_Sys_User2 = new EntitySet<Person_Duty>(new Action<Person_Duty>(this.attach_Person_Duty_Sys_User2), new Action<Person_Duty>(this.detach_Person_Duty_Sys_User2));
this._Person_Meeting = new EntitySet<Person_Meeting>(new Action<Person_Meeting>(this.attach_Person_Meeting), new Action<Person_Meeting>(this.detach_Person_Meeting));
this._Person_PersonPlan = new EntitySet<Person_PersonPlan>(new Action<Person_PersonPlan>(this.attach_Person_PersonPlan), new Action<Person_PersonPlan>(this.detach_Person_PersonPlan));
this._Person_QuarterCheck = new EntitySet<Person_QuarterCheck>(new Action<Person_QuarterCheck>(this.attach_Person_QuarterCheck), new Action<Person_QuarterCheck>(this.detach_Person_QuarterCheck));
this._Person_QuarterCheckApprove = new EntitySet<Person_QuarterCheckApprove>(new Action<Person_QuarterCheckApprove>(this.attach_Person_QuarterCheckApprove), new Action<Person_QuarterCheckApprove>(this.detach_Person_QuarterCheckApprove));
@@ -269013,6 +269274,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Person_Meeting_Sys_User", Storage="_Person_Meeting", ThisKey="UserId", OtherKey="CompileManId", DeleteRule="NO ACTION")]
public EntitySet<Person_Meeting> Person_Meeting
{
get
{
return this._Person_Meeting;
}
set
{
this._Person_Meeting.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Person_PersonPlan_Sys_User", Storage="_Person_PersonPlan", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")]
public EntitySet<Person_PersonPlan> Person_PersonPlan
{
@@ -273054,6 +273328,18 @@ namespace Model
entity.ApprovePerson = null;
}
private void attach_Person_Meeting(Person_Meeting entity)
{
this.SendPropertyChanging();
entity.Sys_User = this;
}
private void detach_Person_Meeting(Person_Meeting entity)
{
this.SendPropertyChanging();
entity.Sys_User = null;
}
private void attach_Person_PersonPlan(Person_PersonPlan entity)
{
this.SendPropertyChanging();
@@ -327152,7 +327438,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(200)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(2000)")]
public string Address
{
get
@@ -327168,7 +327454,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(200)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string WorkAreaName
{
get
@@ -334640,7 +334926,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(102)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(100)")]
public string Name
{
get