202305291、修改奖励通知单、奖惩通知单。

This commit is contained in:
2023-05-29 09:09:30 +08:00
parent cd3d51ae3f
commit 9c804196e7
43 changed files with 3070 additions and 3544 deletions
+418 -12
View File
@@ -92,6 +92,9 @@ namespace Model
partial void InsertBase_CostType(Base_CostType instance);
partial void UpdateBase_CostType(Base_CostType instance);
partial void DeleteBase_CostType(Base_CostType instance);
partial void InsertBase_CostTypeItem(Base_CostTypeItem instance);
partial void UpdateBase_CostTypeItem(Base_CostTypeItem instance);
partial void DeleteBase_CostTypeItem(Base_CostTypeItem instance);
partial void InsertBase_CQMSTrainObject(Base_CQMSTrainObject instance);
partial void UpdateBase_CQMSTrainObject(Base_CQMSTrainObject instance);
partial void DeleteBase_CQMSTrainObject(Base_CQMSTrainObject instance);
@@ -1840,6 +1843,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Base_CostTypeItem> Base_CostTypeItem
{
get
{
return this.GetTable<Base_CostTypeItem>();
}
}
public System.Data.Linq.Table<Base_CQMSTrainObject> Base_CQMSTrainObject
{
get
@@ -14356,19 +14367,21 @@ namespace Model
private string _CostTypeId;
private string _CostTypeCode;
private System.Nullable<int> _CostTypeCode;
private string _CostTypeName;
private string _Remark;
private EntitySet<Base_CostTypeItem> _Base_CostTypeItem;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnCostTypeIdChanging(string value);
partial void OnCostTypeIdChanged();
partial void OnCostTypeCodeChanging(string value);
partial void OnCostTypeCodeChanging(System.Nullable<int> value);
partial void OnCostTypeCodeChanged();
partial void OnCostTypeNameChanging(string value);
partial void OnCostTypeNameChanged();
@@ -14378,6 +14391,7 @@ namespace Model
public Base_CostType()
{
this._Base_CostTypeItem = new EntitySet<Base_CostTypeItem>(new Action<Base_CostTypeItem>(this.attach_Base_CostTypeItem), new Action<Base_CostTypeItem>(this.detach_Base_CostTypeItem));
OnCreated();
}
@@ -14401,8 +14415,8 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostTypeCode", DbType="NVarChar(50)")]
public string CostTypeCode
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostTypeCode", DbType="Int")]
public System.Nullable<int> CostTypeCode
{
get
{
@@ -14461,6 +14475,230 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_CostTypeItem_Base_CostType", Storage="_Base_CostTypeItem", ThisKey="CostTypeId", OtherKey="CostTypeId", DeleteRule="NO ACTION")]
public EntitySet<Base_CostTypeItem> Base_CostTypeItem
{
get
{
return this._Base_CostTypeItem;
}
set
{
this._Base_CostTypeItem.Assign(value);
}
}
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));
}
}
private void attach_Base_CostTypeItem(Base_CostTypeItem entity)
{
this.SendPropertyChanging();
entity.Base_CostType = this;
}
private void detach_Base_CostTypeItem(Base_CostTypeItem entity)
{
this.SendPropertyChanging();
entity.Base_CostType = null;
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_CostTypeItem")]
public partial class Base_CostTypeItem : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _CostTypeItemId;
private string _CostTypeId;
private System.Nullable<int> _SortIndex;
private string _CostTypeItemName;
private string _Remark;
private EntityRef<Base_CostType> _Base_CostType;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnCostTypeItemIdChanging(string value);
partial void OnCostTypeItemIdChanged();
partial void OnCostTypeIdChanging(string value);
partial void OnCostTypeIdChanged();
partial void OnSortIndexChanging(System.Nullable<int> value);
partial void OnSortIndexChanged();
partial void OnCostTypeItemNameChanging(string value);
partial void OnCostTypeItemNameChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
#endregion
public Base_CostTypeItem()
{
this._Base_CostType = default(EntityRef<Base_CostType>);
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostTypeItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string CostTypeItemId
{
get
{
return this._CostTypeItemId;
}
set
{
if ((this._CostTypeItemId != value))
{
this.OnCostTypeItemIdChanging(value);
this.SendPropertyChanging();
this._CostTypeItemId = value;
this.SendPropertyChanged("CostTypeItemId");
this.OnCostTypeItemIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostTypeId", DbType="NVarChar(50)")]
public string CostTypeId
{
get
{
return this._CostTypeId;
}
set
{
if ((this._CostTypeId != value))
{
if (this._Base_CostType.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnCostTypeIdChanging(value);
this.SendPropertyChanging();
this._CostTypeId = value;
this.SendPropertyChanged("CostTypeId");
this.OnCostTypeIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")]
public System.Nullable<int> SortIndex
{
get
{
return this._SortIndex;
}
set
{
if ((this._SortIndex != value))
{
this.OnSortIndexChanging(value);
this.SendPropertyChanging();
this._SortIndex = value;
this.SendPropertyChanged("SortIndex");
this.OnSortIndexChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostTypeItemName", DbType="NVarChar(50)")]
public string CostTypeItemName
{
get
{
return this._CostTypeItemName;
}
set
{
if ((this._CostTypeItemName != value))
{
this.OnCostTypeItemNameChanging(value);
this.SendPropertyChanging();
this._CostTypeItemName = value;
this.SendPropertyChanged("CostTypeItemName");
this.OnCostTypeItemNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")]
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_Base_CostTypeItem_Base_CostType", Storage="_Base_CostType", ThisKey="CostTypeId", OtherKey="CostTypeId", IsForeignKey=true)]
public Base_CostType Base_CostType
{
get
{
return this._Base_CostType.Entity;
}
set
{
Base_CostType previousValue = this._Base_CostType.Entity;
if (((previousValue != value)
|| (this._Base_CostType.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Base_CostType.Entity = null;
previousValue.Base_CostTypeItem.Remove(this);
}
this._Base_CostType.Entity = value;
if ((value != null))
{
value.Base_CostTypeItem.Add(this);
this._CostTypeId = value.CostTypeId;
}
else
{
this._CostTypeId = default(string);
}
this.SendPropertyChanged("Base_CostType");
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -57929,6 +58167,10 @@ namespace Model
private System.Nullable<System.DateTime> _ApproveDate;
private System.Nullable<int> _SortIndex;
private System.Nullable<int> _Year;
private EntityRef<Base_Project> _Base_Project;
private EntitySet<CostGoods_ExpenseDetail> _CostGoods_ExpenseDetail;
@@ -57971,6 +58213,10 @@ namespace Model
partial void OnApproveManChanged();
partial void OnApproveDateChanging(System.Nullable<System.DateTime> value);
partial void OnApproveDateChanged();
partial void OnSortIndexChanging(System.Nullable<int> value);
partial void OnSortIndexChanged();
partial void OnYearChanging(System.Nullable<int> value);
partial void OnYearChanged();
#endregion
public CostGoods_Expense()
@@ -58025,7 +58271,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExpenseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExpenseCode", DbType="NVarChar(50)")]
public string ExpenseCode
{
get
@@ -58189,7 +58435,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(20)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
public string CompileMan
{
get
@@ -58229,7 +58475,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckMan", DbType="NVarChar(20)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckMan", DbType="NVarChar(50)")]
public string CheckMan
{
get
@@ -58269,7 +58515,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveMan", DbType="NVarChar(20)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveMan", DbType="NVarChar(50)")]
public string ApproveMan
{
get
@@ -58309,6 +58555,46 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")]
public System.Nullable<int> SortIndex
{
get
{
return this._SortIndex;
}
set
{
if ((this._SortIndex != value))
{
this.OnSortIndexChanging(value);
this.SendPropertyChanging();
this._SortIndex = value;
this.SendPropertyChanged("SortIndex");
this.OnSortIndexChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Year", DbType="Int")]
public System.Nullable<int> Year
{
get
{
return this._Year;
}
set
{
if ((this._Year != value))
{
this.OnYearChanging(value);
this.SendPropertyChanging();
this._Year = value;
this.SendPropertyChanged("Year");
this.OnYearChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_CostGoods_Expense_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@@ -58439,6 +58725,16 @@ namespace Model
private string _CostDef;
private string _CostTypeName;
private string _SupCostTypeName;
private string _SupCostTypeId;
private System.Nullable<int> _SortIndex;
private System.Nullable<int> _SupSortIndex;
private EntityRef<CostGoods_Expense> _CostGoods_Expense;
#region
@@ -58455,6 +58751,16 @@ namespace Model
partial void OnCostMoneyChanged();
partial void OnCostDefChanging(string value);
partial void OnCostDefChanged();
partial void OnCostTypeNameChanging(string value);
partial void OnCostTypeNameChanged();
partial void OnSupCostTypeNameChanging(string value);
partial void OnSupCostTypeNameChanged();
partial void OnSupCostTypeIdChanging(string value);
partial void OnSupCostTypeIdChanged();
partial void OnSortIndexChanging(System.Nullable<int> value);
partial void OnSortIndexChanged();
partial void OnSupSortIndexChanging(System.Nullable<int> value);
partial void OnSupSortIndexChanged();
#endregion
public CostGoods_ExpenseDetail()
@@ -58527,7 +58833,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostMoney", DbType="Money")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostMoney", DbType="Decimal(18,2)")]
public System.Nullable<decimal> CostMoney
{
get
@@ -58567,6 +58873,106 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostTypeName", DbType="NVarChar(50)")]
public string CostTypeName
{
get
{
return this._CostTypeName;
}
set
{
if ((this._CostTypeName != value))
{
this.OnCostTypeNameChanging(value);
this.SendPropertyChanging();
this._CostTypeName = value;
this.SendPropertyChanged("CostTypeName");
this.OnCostTypeNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupCostTypeName", DbType="NVarChar(50)")]
public string SupCostTypeName
{
get
{
return this._SupCostTypeName;
}
set
{
if ((this._SupCostTypeName != value))
{
this.OnSupCostTypeNameChanging(value);
this.SendPropertyChanging();
this._SupCostTypeName = value;
this.SendPropertyChanged("SupCostTypeName");
this.OnSupCostTypeNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupCostTypeId", DbType="NVarChar(50)")]
public string SupCostTypeId
{
get
{
return this._SupCostTypeId;
}
set
{
if ((this._SupCostTypeId != value))
{
this.OnSupCostTypeIdChanging(value);
this.SendPropertyChanging();
this._SupCostTypeId = value;
this.SendPropertyChanged("SupCostTypeId");
this.OnSupCostTypeIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")]
public System.Nullable<int> SortIndex
{
get
{
return this._SortIndex;
}
set
{
if ((this._SortIndex != value))
{
this.OnSortIndexChanging(value);
this.SendPropertyChanging();
this._SortIndex = value;
this.SendPropertyChanged("SortIndex");
this.OnSortIndexChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupSortIndex", DbType="Int")]
public System.Nullable<int> SupSortIndex
{
get
{
return this._SupSortIndex;
}
set
{
if ((this._SupSortIndex != value))
{
this.OnSupSortIndexChanging(value);
this.SendPropertyChanging();
this._SupSortIndex = value;
this.SendPropertyChanged("SupSortIndex");
this.OnSupSortIndexChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_CostGoods_ExpenseDetail_CostGoods_Expense", Storage="_CostGoods_Expense", ThisKey="ExpenseId", OtherKey="ExpenseId", IsForeignKey=true)]
public CostGoods_Expense CostGoods_Expense
{
@@ -171589,7 +171995,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(2000)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string Remarks
{
get
@@ -172209,7 +172615,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PriceMethod", DbType="VarChar(50)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PriceMethod", DbType="NVarChar(500)")]
public string PriceMethod
{
get
@@ -172349,7 +172755,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Clause", DbType="NVarChar(2000)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Clause", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string Clause
{
get