修改总包合同
This commit is contained in:
parent
390865d563
commit
b53e552cfa
|
|
@ -49,3 +49,17 @@ GO
|
||||||
|
|
||||||
alter table WBS_ControlItemAndCycle add PlanCost decimal(9,2) null
|
alter table WBS_ControlItemAndCycle add PlanCost decimal(9,2) null
|
||||||
GO
|
GO
|
||||||
|
|
||||||
|
|
||||||
|
alter table dbo.ActionPlan_MainContract drop constraint FK_ActionPlan_MainContract_Base_Project
|
||||||
|
alter table dbo.ActionPlan_MainContract drop constraint FK_ActionPlan_MainContract_Person_Persons_CompileMan
|
||||||
|
GO
|
||||||
|
|
||||||
|
alter table dbo.ActionPlan_MainContract alter column ProjectId nvarchar(500) null
|
||||||
|
GO
|
||||||
|
|
||||||
|
update dbo.ActionPlan_MainContract set ProjectId=b.ProjectName from ActionPlan_MainContract a, Base_Project b
|
||||||
|
where a.ProjectId=b.ProjectId
|
||||||
|
update dbo.ActionPlan_MainContract set CompileMan=b.PersonName from ActionPlan_MainContract a, Person_Persons b
|
||||||
|
where a.CompileMan=b.PersonId
|
||||||
|
GO
|
||||||
|
|
@ -61,8 +61,8 @@
|
||||||
SortField="MainContractName" FieldType="String" HeaderText="名称" HeaderTextAlign="Center"
|
SortField="MainContractName" FieldType="String" HeaderText="名称" HeaderTextAlign="Center"
|
||||||
TextAlign="Left">
|
TextAlign="Left">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField Width="200px" ColumnID="ProjectName" DataField="ProjectName" ExpandUnusedSpace="True"
|
<f:RenderField Width="200px" ColumnID="ProjectId" DataField="ProjectId" ExpandUnusedSpace="True"
|
||||||
SortField="ProjectName" FieldType="String" HeaderText="项目名称" HeaderTextAlign="Center"
|
SortField="ProjectId" FieldType="String" HeaderText="项目名称" HeaderTextAlign="Center"
|
||||||
TextAlign="Left">
|
TextAlign="Left">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField Width="100px" ColumnID="VersionNo" DataField="VersionNo" SortField="VersionNo"
|
<f:RenderField Width="100px" ColumnID="VersionNo" DataField="VersionNo" SortField="VersionNo"
|
||||||
|
|
|
||||||
|
|
@ -36,12 +36,10 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void BindGrid()
|
private void BindGrid()
|
||||||
{
|
{
|
||||||
string strSql = "SELECT MainContract.MainContractId,MainContract.ProjectId,Project.ProjectName,MainContractCode,MainContract.MainContractName,MainContract.VersionNo,(CASE MainContract.ProjectType WHEN '1' THEN 'EPC' WHEN '2' THEN 'EPCM' WHEN '3' THEN 'C' WHEN '4' THEN '其他' END ) AS ProjectType,MainContract.MainContractContents,MainContract.CompileMan,Users.PersonName AS CompileManName, MainContract.CompileDate,MainContract.States"
|
string strSql = "SELECT MainContract.MainContractId,MainContract.ProjectId,MainContractCode,MainContract.MainContractName,MainContract.VersionNo,(CASE MainContract.ProjectType WHEN '1' THEN 'EPC' WHEN '2' THEN 'EPCM' WHEN '3' THEN 'C' WHEN '4' THEN '其他' END ) AS ProjectType,MainContract.MainContractContents,MainContract.CompileMan, MainContract.CompileDate,MainContract.States"
|
||||||
+ @" FROM ActionPlan_MainContract AS MainContract "
|
+ @" FROM ActionPlan_MainContract AS MainContract "
|
||||||
+ @" LEFT JOIN Base_Project AS Project ON MainContract.ProjectId=Project.ProjectId "
|
|
||||||
+ @" LEFT JOIN Sys_FlowOperate AS FlowOperate ON MainContract.MainContractId=FlowOperate.DataId AND FlowOperate.IsClosed <> 1"
|
+ @" LEFT JOIN Sys_FlowOperate AS FlowOperate ON MainContract.MainContractId=FlowOperate.DataId AND FlowOperate.IsClosed <> 1"
|
||||||
+ @" LEFT JOIN Person_Persons AS OperateUser ON FlowOperate.OperaterId=OperateUser.PersonId "
|
+ @" LEFT JOIN Person_Persons AS OperateUser ON FlowOperate.OperaterId=OperateUser.PersonId "
|
||||||
+ @" LEFT JOIN Person_Persons AS Users ON Users.PersonId = MainContract.CompileMan "
|
|
||||||
+ @" WHERE 1=1 ";
|
+ @" WHERE 1=1 ";
|
||||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
if (this.drpProject.SelectedValue != BLL.Const._Null)
|
if (this.drpProject.SelectedValue != BLL.Const._Null)
|
||||||
|
|
@ -344,7 +342,7 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
Model.ActionPlan_MainContract MainContract = MainContractService.GetMainContractById(id);
|
Model.ActionPlan_MainContract MainContract = MainContractService.GetMainContractById(id);
|
||||||
if (MainContract != null)
|
if (MainContract != null)
|
||||||
{
|
{
|
||||||
string projectName = BLL.ProjectService.GetProjectNameByProjectId(MainContract.ProjectId);
|
string projectName = MainContract.ProjectId;
|
||||||
newUrl = uploadfilepath.Replace(".xlsx", MainContract.MainContractCode + "(" + MainContract.MainContractName + ")" + ".xlsx");
|
newUrl = uploadfilepath.Replace(".xlsx", MainContract.MainContractCode + "(" + MainContract.MainContractName + ")" + ".xlsx");
|
||||||
File.Copy(uploadfilepath, newUrl);
|
File.Copy(uploadfilepath, newUrl);
|
||||||
// 第一步:读取文件流
|
// 第一步:读取文件流
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,9 @@
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:DropDownList runat="server" ID="drpProject" EnableEdit="true" LabelWidth="140px" Label="项目名称"
|
<f:TextBox ID="txtProjectId" runat="server" Label="项目名称" Required="true"
|
||||||
LabelAlign="Right" >
|
ShowRedStar="true" LabelAlign="Right" LabelWidth="140px">
|
||||||
</f:DropDownList>
|
</f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
|
|
@ -46,9 +46,9 @@
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:DropDownList ID="drpCompileMan" runat="server" Label="编制人" LabelAlign="Right" EnableEdit="true"
|
<f:TextBox ID="txtCompileMan" runat="server" Label="编制人" Required="true"
|
||||||
LabelWidth="140px">
|
ShowRedStar="true" LabelAlign="Right" LabelWidth="140px">
|
||||||
</f:DropDownList>
|
</f:TextBox>
|
||||||
<f:DatePicker ID="txtCompileDate" runat="server" Label="编制日期" LabelAlign="Right"
|
<f:DatePicker ID="txtCompileDate" runat="server" Label="编制日期" LabelAlign="Right"
|
||||||
EnableEdit="true" LabelWidth="120px">
|
EnableEdit="true" LabelWidth="120px">
|
||||||
</f:DatePicker>
|
</f:DatePicker>
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,6 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||||
this.MainContractId = Request.Params["MainContractId"];
|
this.MainContractId = Request.Params["MainContractId"];
|
||||||
ProjectService.InitAllProjectDropDownList(this.drpProject, true);
|
|
||||||
var q = (from x in Funs.DB.Person_Persons where x.UnitId == Const.UnitId_SEDIN && x.DepartId == Const.Depart_constructionId && x.RoleIds != null && x.RoleIds != Const.NoOfficeRole && x.RoleIds != string.Empty && (!x.IsPost.HasValue || x.IsPost == true) orderby x.PersonName select x).ToList();
|
var q = (from x in Funs.DB.Person_Persons where x.UnitId == Const.UnitId_SEDIN && x.DepartId == Const.Depart_constructionId && x.RoleIds != null && x.RoleIds != Const.NoOfficeRole && x.RoleIds != string.Empty && (!x.IsPost.HasValue || x.IsPost == true) orderby x.PersonName select x).ToList();
|
||||||
Model.ActionPlan_MainContract MainContract = BLL.MainContractService.GetMainContractById(this.MainContractId);
|
Model.ActionPlan_MainContract MainContract = BLL.MainContractService.GetMainContractById(this.MainContractId);
|
||||||
if (MainContract != null)
|
if (MainContract != null)
|
||||||
|
|
@ -79,11 +78,6 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
q.Add(compileMan);
|
q.Add(compileMan);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.drpCompileMan.DataTextField = "PersonName";
|
|
||||||
this.drpCompileMan.DataValueField = "PersonId";
|
|
||||||
this.drpCompileMan.DataSource = q;
|
|
||||||
this.drpCompileMan.DataBind();
|
|
||||||
Funs.FineUIPleaseSelect(this.drpCompileMan);
|
|
||||||
this.drpPerson.DataTextField = "PersonName";
|
this.drpPerson.DataTextField = "PersonName";
|
||||||
this.drpPerson.DataValueField = "PersonId";
|
this.drpPerson.DataValueField = "PersonId";
|
||||||
this.drpPerson.DataSource = q;
|
this.drpPerson.DataSource = q;
|
||||||
|
|
@ -100,7 +94,7 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
{
|
{
|
||||||
txtEdition.Text = MainContract.Edition.ToString();
|
txtEdition.Text = MainContract.Edition.ToString();
|
||||||
}
|
}
|
||||||
this.drpProject.SelectedValue = MainContract.ProjectId;
|
this.txtProjectId.Text = MainContract.ProjectId;
|
||||||
///读取编号
|
///读取编号
|
||||||
this.txtMainContractCode.Text = MainContract.MainContractCode;
|
this.txtMainContractCode.Text = MainContract.MainContractCode;
|
||||||
this.txtMainContractName.Text = MainContract.MainContractName;
|
this.txtMainContractName.Text = MainContract.MainContractName;
|
||||||
|
|
@ -113,10 +107,7 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
{
|
{
|
||||||
this.drpProjectType.Hidden = true;
|
this.drpProjectType.Hidden = true;
|
||||||
}
|
}
|
||||||
if (!string.IsNullOrEmpty(MainContract.CompileMan))
|
this.txtCompileMan.Text = MainContract.CompileMan;
|
||||||
{
|
|
||||||
this.drpCompileMan.SelectedValue = MainContract.CompileMan;
|
|
||||||
}
|
|
||||||
if (MainContract.CompileDate != null)
|
if (MainContract.CompileDate != null)
|
||||||
{
|
{
|
||||||
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", MainContract.CompileDate);
|
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", MainContract.CompileDate);
|
||||||
|
|
@ -137,8 +128,8 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
txtMainContractName.Readonly = true;
|
txtMainContractName.Readonly = true;
|
||||||
txtVersionNo.Readonly = true;
|
txtVersionNo.Readonly = true;
|
||||||
drpProjectType.Readonly = true;
|
drpProjectType.Readonly = true;
|
||||||
drpProject.Readonly = true;
|
txtProjectId.Readonly = true;
|
||||||
drpCompileMan.Readonly = true;
|
txtCompileMan.Readonly = true;
|
||||||
txtCompileDate.Readonly = true;
|
txtCompileDate.Readonly = true;
|
||||||
drpPerson.Readonly = true;
|
drpPerson.Readonly = true;
|
||||||
ContactImg = -1;
|
ContactImg = -1;
|
||||||
|
|
@ -148,7 +139,7 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.drpCompileMan.SelectedValue = this.CurrUser.PersonId;
|
this.txtCompileMan.Text = this.CurrUser.PersonName;
|
||||||
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
||||||
this.trAtt.Hidden = true;
|
this.trAtt.Hidden = true;
|
||||||
txtEdition.Text = "0";
|
txtEdition.Text = "0";
|
||||||
|
|
@ -181,11 +172,6 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
/// <param name="e"></param>
|
/// <param name="e"></param>
|
||||||
protected void btnSave_Click(object sender, EventArgs e)
|
protected void btnSave_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (this.drpCompileMan.SelectedValue == BLL.Const._Null)
|
|
||||||
{
|
|
||||||
Alert.ShowInTop("请选择编制人!", MessageBoxIcon.Warning);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.SaveData(BLL.Const.BtnSave);
|
this.SaveData(BLL.Const.BtnSave);
|
||||||
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
|
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
|
||||||
}
|
}
|
||||||
|
|
@ -197,16 +183,6 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
/// <param name="e"></param>
|
/// <param name="e"></param>
|
||||||
protected void btnSubmit_Click(object sender, EventArgs e)
|
protected void btnSubmit_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (this.drpProject.SelectedValue == BLL.Const._Null)
|
|
||||||
{
|
|
||||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (this.drpCompileMan.SelectedValue == BLL.Const._Null)
|
|
||||||
{
|
|
||||||
Alert.ShowInTop("请选择编制人!", MessageBoxIcon.Warning);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (string.IsNullOrEmpty(HFMainContractId.Text))
|
if (string.IsNullOrEmpty(HFMainContractId.Text))
|
||||||
{
|
{
|
||||||
Alert.ShowInTop("请上传附件!", MessageBoxIcon.Warning);
|
Alert.ShowInTop("请上传附件!", MessageBoxIcon.Warning);
|
||||||
|
|
@ -234,14 +210,8 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
VersionNo = this.txtVersionNo.Text.Trim(),
|
VersionNo = this.txtVersionNo.Text.Trim(),
|
||||||
ProjectType = this.drpProjectType.SelectedValue,
|
ProjectType = this.drpProjectType.SelectedValue,
|
||||||
};
|
};
|
||||||
if (this.drpProject.SelectedValue != BLL.Const._Null)
|
MainContract.ProjectId = this.txtProjectId.Text;
|
||||||
{
|
MainContract.CompileMan = this.txtCompileMan.Text;
|
||||||
MainContract.ProjectId = this.drpProject.SelectedValue;
|
|
||||||
}
|
|
||||||
if (this.drpCompileMan.SelectedValue != BLL.Const._Null)
|
|
||||||
{
|
|
||||||
MainContract.CompileMan = this.drpCompileMan.SelectedValue;
|
|
||||||
}
|
|
||||||
if (!string.IsNullOrEmpty(this.txtCompileDate.Text.Trim()))
|
if (!string.IsNullOrEmpty(this.txtCompileDate.Text.Trim()))
|
||||||
{
|
{
|
||||||
MainContract.CompileDate = Convert.ToDateTime(this.txtCompileDate.Text.Trim());
|
MainContract.CompileDate = Convert.ToDateTime(this.txtCompileDate.Text.Trim());
|
||||||
|
|
|
||||||
|
|
@ -58,13 +58,13 @@ namespace FineUIPro.Web.ZHGL.Plan {
|
||||||
protected global::FineUIPro.TextBox txtMainContractName;
|
protected global::FineUIPro.TextBox txtMainContractName;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// drpProject 控件。
|
/// txtProjectId 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// 自动生成的字段。
|
/// 自动生成的字段。
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DropDownList drpProject;
|
protected global::FineUIPro.TextBox txtProjectId;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtVersionNo 控件。
|
/// txtVersionNo 控件。
|
||||||
|
|
@ -85,13 +85,13 @@ namespace FineUIPro.Web.ZHGL.Plan {
|
||||||
protected global::FineUIPro.DropDownList drpProjectType;
|
protected global::FineUIPro.DropDownList drpProjectType;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// drpCompileMan 控件。
|
/// txtCompileMan 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// 自动生成的字段。
|
/// 自动生成的字段。
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DropDownList drpCompileMan;
|
protected global::FineUIPro.TextBox txtCompileMan;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtCompileDate 控件。
|
/// txtCompileDate 控件。
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,9 @@
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:DropDownList runat="server" ID="drpProject" EnableEdit="true" LabelWidth="140px" Label="项目名称" Readonly="true"
|
<f:TextBox ID="txtProjectId" runat="server" Label="项目名称" Readonly="true"
|
||||||
LabelAlign="Right" >
|
LabelAlign="Right" LabelWidth="140px">
|
||||||
</f:DropDownList>
|
</f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
|
|
@ -46,9 +46,9 @@
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:DropDownList ID="drpCompileMan" runat="server" Label="编制人" LabelAlign="Right" Readonly="true"
|
<f:TextBox ID="txtCompileMan" runat="server" Label="编制人" Readonly="true"
|
||||||
LabelWidth="140px">
|
LabelAlign="Right" LabelWidth="140px">
|
||||||
</f:DropDownList>
|
</f:TextBox>
|
||||||
<f:DatePicker ID="txtCompileDate" runat="server" Label="编制日期" LabelAlign="Right" Readonly="true"
|
<f:DatePicker ID="txtCompileDate" runat="server" Label="编制日期" LabelAlign="Right" Readonly="true"
|
||||||
EnableEdit="true" LabelWidth="120px">
|
EnableEdit="true" LabelWidth="120px">
|
||||||
</f:DatePicker>
|
</f:DatePicker>
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,6 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||||
this.MainContractId = Request.Params["MainContractId"];
|
this.MainContractId = Request.Params["MainContractId"];
|
||||||
ProjectService.InitAllProjectDropDownList(this.drpProject, true);
|
|
||||||
var q = (from x in Funs.DB.Person_Persons where x.UnitId == Const.UnitId_SEDIN && x.DepartId == Const.Depart_constructionId && x.RoleIds != null && x.RoleIds != Const.NoOfficeRole && x.RoleIds != string.Empty && (!x.IsPost.HasValue || x.IsPost == true) orderby x.PersonName select x).ToList();
|
var q = (from x in Funs.DB.Person_Persons where x.UnitId == Const.UnitId_SEDIN && x.DepartId == Const.Depart_constructionId && x.RoleIds != null && x.RoleIds != Const.NoOfficeRole && x.RoleIds != string.Empty && (!x.IsPost.HasValue || x.IsPost == true) orderby x.PersonName select x).ToList();
|
||||||
Model.ActionPlan_MainContract MainContract = BLL.MainContractService.GetMainContractById(this.MainContractId);
|
Model.ActionPlan_MainContract MainContract = BLL.MainContractService.GetMainContractById(this.MainContractId);
|
||||||
if (MainContract != null)
|
if (MainContract != null)
|
||||||
|
|
@ -67,11 +66,6 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
q.Add(compileMan);
|
q.Add(compileMan);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.drpCompileMan.DataTextField = "PersonName";
|
|
||||||
this.drpCompileMan.DataValueField = "PersonId";
|
|
||||||
this.drpCompileMan.DataSource = q;
|
|
||||||
this.drpCompileMan.DataBind();
|
|
||||||
Funs.FineUIPleaseSelect(this.drpCompileMan);
|
|
||||||
this.drpPerson.DataTextField = "PersonName";
|
this.drpPerson.DataTextField = "PersonName";
|
||||||
this.drpPerson.DataValueField = "PersonId";
|
this.drpPerson.DataValueField = "PersonId";
|
||||||
this.drpPerson.DataSource = q;
|
this.drpPerson.DataSource = q;
|
||||||
|
|
@ -90,7 +84,7 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
///读取编号
|
///读取编号
|
||||||
this.txtMainContractCode.Text = MainContract.MainContractCode;
|
this.txtMainContractCode.Text = MainContract.MainContractCode;
|
||||||
this.txtMainContractName.Text = MainContract.MainContractName;
|
this.txtMainContractName.Text = MainContract.MainContractName;
|
||||||
this.drpProject.SelectedValue = MainContract.ProjectId;
|
this.txtProjectId.Text = MainContract.ProjectId;
|
||||||
this.txtVersionNo.Text = MainContract.VersionNo;
|
this.txtVersionNo.Text = MainContract.VersionNo;
|
||||||
if (!string.IsNullOrEmpty(MainContract.ProjectType))
|
if (!string.IsNullOrEmpty(MainContract.ProjectType))
|
||||||
{
|
{
|
||||||
|
|
@ -100,10 +94,7 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
{
|
{
|
||||||
this.drpProjectType.Hidden = true;
|
this.drpProjectType.Hidden = true;
|
||||||
}
|
}
|
||||||
if (!string.IsNullOrEmpty(MainContract.CompileMan))
|
this.txtCompileMan.Text = MainContract.CompileMan;
|
||||||
{
|
|
||||||
this.drpCompileMan.SelectedValue = MainContract.CompileMan;
|
|
||||||
}
|
|
||||||
if (MainContract.CompileDate != null)
|
if (MainContract.CompileDate != null)
|
||||||
{
|
{
|
||||||
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", MainContract.CompileDate);
|
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", MainContract.CompileDate);
|
||||||
|
|
@ -119,7 +110,7 @@ namespace FineUIPro.Web.ZHGL.Plan
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.drpCompileMan.SelectedValue = this.CurrUser.PersonId;
|
this.txtCompileMan.Text = this.CurrUser.PersonName;
|
||||||
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
||||||
this.trAtt.Hidden = true;
|
this.trAtt.Hidden = true;
|
||||||
txtEdition.Text = "0";
|
txtEdition.Text = "0";
|
||||||
|
|
|
||||||
|
|
@ -58,13 +58,13 @@ namespace FineUIPro.Web.ZHGL.Plan {
|
||||||
protected global::FineUIPro.TextBox txtMainContractName;
|
protected global::FineUIPro.TextBox txtMainContractName;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// drpProject 控件。
|
/// txtProjectId 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// 自动生成的字段。
|
/// 自动生成的字段。
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DropDownList drpProject;
|
protected global::FineUIPro.TextBox txtProjectId;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtVersionNo 控件。
|
/// txtVersionNo 控件。
|
||||||
|
|
@ -85,13 +85,13 @@ namespace FineUIPro.Web.ZHGL.Plan {
|
||||||
protected global::FineUIPro.DropDownList drpProjectType;
|
protected global::FineUIPro.DropDownList drpProjectType;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// drpCompileMan 控件。
|
/// txtCompileMan 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// 自动生成的字段。
|
/// 自动生成的字段。
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.DropDownList drpCompileMan;
|
protected global::FineUIPro.TextBox txtCompileMan;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// txtCompileDate 控件。
|
/// txtCompileDate 控件。
|
||||||
|
|
|
||||||
|
|
@ -12320,10 +12320,6 @@ namespace Model
|
||||||
|
|
||||||
private System.Nullable<bool> _IsCompanyReview;
|
private System.Nullable<bool> _IsCompanyReview;
|
||||||
|
|
||||||
private EntityRef<Base_Project> _Base_Project;
|
|
||||||
|
|
||||||
private EntityRef<Person_Persons> _Person_Persons;
|
|
||||||
|
|
||||||
private EntitySet<ActionPlan_MainContractApprove> _ActionPlan_MainContractApprove;
|
private EntitySet<ActionPlan_MainContractApprove> _ActionPlan_MainContractApprove;
|
||||||
|
|
||||||
private EntitySet<ActionPlan_MainContractOpinion> _ActionPlan_MainContractOpinion;
|
private EntitySet<ActionPlan_MainContractOpinion> _ActionPlan_MainContractOpinion;
|
||||||
|
|
@ -12364,8 +12360,6 @@ namespace Model
|
||||||
|
|
||||||
public ActionPlan_MainContract()
|
public ActionPlan_MainContract()
|
||||||
{
|
{
|
||||||
this._Base_Project = default(EntityRef<Base_Project>);
|
|
||||||
this._Person_Persons = default(EntityRef<Person_Persons>);
|
|
||||||
this._ActionPlan_MainContractApprove = new EntitySet<ActionPlan_MainContractApprove>(new Action<ActionPlan_MainContractApprove>(this.attach_ActionPlan_MainContractApprove), new Action<ActionPlan_MainContractApprove>(this.detach_ActionPlan_MainContractApprove));
|
this._ActionPlan_MainContractApprove = new EntitySet<ActionPlan_MainContractApprove>(new Action<ActionPlan_MainContractApprove>(this.attach_ActionPlan_MainContractApprove), new Action<ActionPlan_MainContractApprove>(this.detach_ActionPlan_MainContractApprove));
|
||||||
this._ActionPlan_MainContractOpinion = new EntitySet<ActionPlan_MainContractOpinion>(new Action<ActionPlan_MainContractOpinion>(this.attach_ActionPlan_MainContractOpinion), new Action<ActionPlan_MainContractOpinion>(this.detach_ActionPlan_MainContractOpinion));
|
this._ActionPlan_MainContractOpinion = new EntitySet<ActionPlan_MainContractOpinion>(new Action<ActionPlan_MainContractOpinion>(this.attach_ActionPlan_MainContractOpinion), new Action<ActionPlan_MainContractOpinion>(this.detach_ActionPlan_MainContractOpinion));
|
||||||
OnCreated();
|
OnCreated();
|
||||||
|
|
@ -12402,10 +12396,6 @@ namespace Model
|
||||||
{
|
{
|
||||||
if ((this._ProjectId != value))
|
if ((this._ProjectId != value))
|
||||||
{
|
{
|
||||||
if (this._Base_Project.HasLoadedOrAssignedValue)
|
|
||||||
{
|
|
||||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
|
||||||
}
|
|
||||||
this.OnProjectIdChanging(value);
|
this.OnProjectIdChanging(value);
|
||||||
this.SendPropertyChanging();
|
this.SendPropertyChanging();
|
||||||
this._ProjectId = value;
|
this._ProjectId = value;
|
||||||
|
|
@ -12526,10 +12516,6 @@ namespace Model
|
||||||
{
|
{
|
||||||
if ((this._CompileMan != value))
|
if ((this._CompileMan != value))
|
||||||
{
|
{
|
||||||
if (this._Person_Persons.HasLoadedOrAssignedValue)
|
|
||||||
{
|
|
||||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
|
||||||
}
|
|
||||||
this.OnCompileManChanging(value);
|
this.OnCompileManChanging(value);
|
||||||
this.SendPropertyChanging();
|
this.SendPropertyChanging();
|
||||||
this._CompileMan = value;
|
this._CompileMan = value;
|
||||||
|
|
@ -12659,74 +12645,6 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_MainContract_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.ActionPlan_MainContract.Remove(this);
|
|
||||||
}
|
|
||||||
this._Base_Project.Entity = value;
|
|
||||||
if ((value != null))
|
|
||||||
{
|
|
||||||
value.ActionPlan_MainContract.Add(this);
|
|
||||||
this._ProjectId = value.ProjectId;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
this._ProjectId = default(string);
|
|
||||||
}
|
|
||||||
this.SendPropertyChanged("Base_Project");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_MainContract_Person_Persons_CompileMan", Storage="_Person_Persons", ThisKey="CompileMan", OtherKey="PersonId", IsForeignKey=true)]
|
|
||||||
public Person_Persons Person_Persons
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return this._Person_Persons.Entity;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
Person_Persons previousValue = this._Person_Persons.Entity;
|
|
||||||
if (((previousValue != value)
|
|
||||||
|| (this._Person_Persons.HasLoadedOrAssignedValue == false)))
|
|
||||||
{
|
|
||||||
this.SendPropertyChanging();
|
|
||||||
if ((previousValue != null))
|
|
||||||
{
|
|
||||||
this._Person_Persons.Entity = null;
|
|
||||||
previousValue.ActionPlan_MainContract.Remove(this);
|
|
||||||
}
|
|
||||||
this._Person_Persons.Entity = value;
|
|
||||||
if ((value != null))
|
|
||||||
{
|
|
||||||
value.ActionPlan_MainContract.Add(this);
|
|
||||||
this._CompileMan = value.PersonId;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
this._CompileMan = default(string);
|
|
||||||
}
|
|
||||||
this.SendPropertyChanged("Person_Persons");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_MainContractApprove_ActionPlan_MainContract", Storage="_ActionPlan_MainContractApprove", ThisKey="MainContractId", OtherKey="MainContractId", DeleteRule="NO ACTION")]
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_MainContractApprove_ActionPlan_MainContract", Storage="_ActionPlan_MainContractApprove", ThisKey="MainContractId", OtherKey="MainContractId", DeleteRule="NO ACTION")]
|
||||||
public EntitySet<ActionPlan_MainContractApprove> ActionPlan_MainContractApprove
|
public EntitySet<ActionPlan_MainContractApprove> ActionPlan_MainContractApprove
|
||||||
{
|
{
|
||||||
|
|
@ -23728,8 +23646,6 @@ namespace Model
|
||||||
|
|
||||||
private EntitySet<ActionPlan_CompanyManagerRule> _ActionPlan_CompanyManagerRule;
|
private EntitySet<ActionPlan_CompanyManagerRule> _ActionPlan_CompanyManagerRule;
|
||||||
|
|
||||||
private EntitySet<ActionPlan_MainContract> _ActionPlan_MainContract;
|
|
||||||
|
|
||||||
private EntitySet<ActionPlan_ManagerRule> _ActionPlan_ManagerRule;
|
private EntitySet<ActionPlan_ManagerRule> _ActionPlan_ManagerRule;
|
||||||
|
|
||||||
private EntitySet<ActionPlan_ProjectManagerRule> _ActionPlan_ProjectManagerRule;
|
private EntitySet<ActionPlan_ProjectManagerRule> _ActionPlan_ProjectManagerRule;
|
||||||
|
|
@ -24135,7 +24051,6 @@ namespace Model
|
||||||
this._Accident_NoFourLetoff = new EntitySet<Accident_NoFourLetoff>(new Action<Accident_NoFourLetoff>(this.attach_Accident_NoFourLetoff), new Action<Accident_NoFourLetoff>(this.detach_Accident_NoFourLetoff));
|
this._Accident_NoFourLetoff = new EntitySet<Accident_NoFourLetoff>(new Action<Accident_NoFourLetoff>(this.attach_Accident_NoFourLetoff), new Action<Accident_NoFourLetoff>(this.detach_Accident_NoFourLetoff));
|
||||||
this._ActionPlan_ActionPlanList = new EntitySet<ActionPlan_ActionPlanList>(new Action<ActionPlan_ActionPlanList>(this.attach_ActionPlan_ActionPlanList), new Action<ActionPlan_ActionPlanList>(this.detach_ActionPlan_ActionPlanList));
|
this._ActionPlan_ActionPlanList = new EntitySet<ActionPlan_ActionPlanList>(new Action<ActionPlan_ActionPlanList>(this.attach_ActionPlan_ActionPlanList), new Action<ActionPlan_ActionPlanList>(this.detach_ActionPlan_ActionPlanList));
|
||||||
this._ActionPlan_CompanyManagerRule = new EntitySet<ActionPlan_CompanyManagerRule>(new Action<ActionPlan_CompanyManagerRule>(this.attach_ActionPlan_CompanyManagerRule), new Action<ActionPlan_CompanyManagerRule>(this.detach_ActionPlan_CompanyManagerRule));
|
this._ActionPlan_CompanyManagerRule = new EntitySet<ActionPlan_CompanyManagerRule>(new Action<ActionPlan_CompanyManagerRule>(this.attach_ActionPlan_CompanyManagerRule), new Action<ActionPlan_CompanyManagerRule>(this.detach_ActionPlan_CompanyManagerRule));
|
||||||
this._ActionPlan_MainContract = new EntitySet<ActionPlan_MainContract>(new Action<ActionPlan_MainContract>(this.attach_ActionPlan_MainContract), new Action<ActionPlan_MainContract>(this.detach_ActionPlan_MainContract));
|
|
||||||
this._ActionPlan_ManagerRule = new EntitySet<ActionPlan_ManagerRule>(new Action<ActionPlan_ManagerRule>(this.attach_ActionPlan_ManagerRule), new Action<ActionPlan_ManagerRule>(this.detach_ActionPlan_ManagerRule));
|
this._ActionPlan_ManagerRule = new EntitySet<ActionPlan_ManagerRule>(new Action<ActionPlan_ManagerRule>(this.attach_ActionPlan_ManagerRule), new Action<ActionPlan_ManagerRule>(this.detach_ActionPlan_ManagerRule));
|
||||||
this._ActionPlan_ProjectManagerRule = new EntitySet<ActionPlan_ProjectManagerRule>(new Action<ActionPlan_ProjectManagerRule>(this.attach_ActionPlan_ProjectManagerRule), new Action<ActionPlan_ProjectManagerRule>(this.detach_ActionPlan_ProjectManagerRule));
|
this._ActionPlan_ProjectManagerRule = new EntitySet<ActionPlan_ProjectManagerRule>(new Action<ActionPlan_ProjectManagerRule>(this.attach_ActionPlan_ProjectManagerRule), new Action<ActionPlan_ProjectManagerRule>(this.detach_ActionPlan_ProjectManagerRule));
|
||||||
this._ActionPlan_ProjectPlan = new EntitySet<ActionPlan_ProjectPlan>(new Action<ActionPlan_ProjectPlan>(this.attach_ActionPlan_ProjectPlan), new Action<ActionPlan_ProjectPlan>(this.detach_ActionPlan_ProjectPlan));
|
this._ActionPlan_ProjectPlan = new EntitySet<ActionPlan_ProjectPlan>(new Action<ActionPlan_ProjectPlan>(this.attach_ActionPlan_ProjectPlan), new Action<ActionPlan_ProjectPlan>(this.detach_ActionPlan_ProjectPlan));
|
||||||
|
|
@ -24965,19 +24880,6 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_MainContract_Base_Project", Storage="_ActionPlan_MainContract", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
|
||||||
public EntitySet<ActionPlan_MainContract> ActionPlan_MainContract
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return this._ActionPlan_MainContract;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
this._ActionPlan_MainContract.Assign(value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_ManagerRule_Base_Project", Storage="_ActionPlan_ManagerRule", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_ManagerRule_Base_Project", Storage="_ActionPlan_ManagerRule", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
|
||||||
public EntitySet<ActionPlan_ManagerRule> ActionPlan_ManagerRule
|
public EntitySet<ActionPlan_ManagerRule> ActionPlan_ManagerRule
|
||||||
{
|
{
|
||||||
|
|
@ -27295,18 +27197,6 @@ namespace Model
|
||||||
entity.Base_Project = null;
|
entity.Base_Project = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void attach_ActionPlan_MainContract(ActionPlan_MainContract entity)
|
|
||||||
{
|
|
||||||
this.SendPropertyChanging();
|
|
||||||
entity.Base_Project = this;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void detach_ActionPlan_MainContract(ActionPlan_MainContract entity)
|
|
||||||
{
|
|
||||||
this.SendPropertyChanging();
|
|
||||||
entity.Base_Project = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void attach_ActionPlan_ManagerRule(ActionPlan_ManagerRule entity)
|
private void attach_ActionPlan_ManagerRule(ActionPlan_ManagerRule entity)
|
||||||
{
|
{
|
||||||
this.SendPropertyChanging();
|
this.SendPropertyChanging();
|
||||||
|
|
@ -154753,8 +154643,6 @@ namespace Model
|
||||||
|
|
||||||
private EntitySet<ActionPlan_CompanyManagerRule> _ActionPlan_CompanyManagerRule;
|
private EntitySet<ActionPlan_CompanyManagerRule> _ActionPlan_CompanyManagerRule;
|
||||||
|
|
||||||
private EntitySet<ActionPlan_MainContract> _ActionPlan_MainContract;
|
|
||||||
|
|
||||||
private EntitySet<ActionPlan_MainContractApprove> _ActionPlan_MainContractApprove;
|
private EntitySet<ActionPlan_MainContractApprove> _ActionPlan_MainContractApprove;
|
||||||
|
|
||||||
private EntitySet<ActionPlan_ManagerRule> _ActionPlan_ManagerRule;
|
private EntitySet<ActionPlan_ManagerRule> _ActionPlan_ManagerRule;
|
||||||
|
|
@ -155357,7 +155245,6 @@ namespace Model
|
||||||
this._ActionPlan_ActionPlanList = new EntitySet<ActionPlan_ActionPlanList>(new Action<ActionPlan_ActionPlanList>(this.attach_ActionPlan_ActionPlanList), new Action<ActionPlan_ActionPlanList>(this.detach_ActionPlan_ActionPlanList));
|
this._ActionPlan_ActionPlanList = new EntitySet<ActionPlan_ActionPlanList>(new Action<ActionPlan_ActionPlanList>(this.attach_ActionPlan_ActionPlanList), new Action<ActionPlan_ActionPlanList>(this.detach_ActionPlan_ActionPlanList));
|
||||||
this._ActionPlan_ActionPlanListApprove = new EntitySet<ActionPlan_ActionPlanListApprove>(new Action<ActionPlan_ActionPlanListApprove>(this.attach_ActionPlan_ActionPlanListApprove), new Action<ActionPlan_ActionPlanListApprove>(this.detach_ActionPlan_ActionPlanListApprove));
|
this._ActionPlan_ActionPlanListApprove = new EntitySet<ActionPlan_ActionPlanListApprove>(new Action<ActionPlan_ActionPlanListApprove>(this.attach_ActionPlan_ActionPlanListApprove), new Action<ActionPlan_ActionPlanListApprove>(this.detach_ActionPlan_ActionPlanListApprove));
|
||||||
this._ActionPlan_CompanyManagerRule = new EntitySet<ActionPlan_CompanyManagerRule>(new Action<ActionPlan_CompanyManagerRule>(this.attach_ActionPlan_CompanyManagerRule), new Action<ActionPlan_CompanyManagerRule>(this.detach_ActionPlan_CompanyManagerRule));
|
this._ActionPlan_CompanyManagerRule = new EntitySet<ActionPlan_CompanyManagerRule>(new Action<ActionPlan_CompanyManagerRule>(this.attach_ActionPlan_CompanyManagerRule), new Action<ActionPlan_CompanyManagerRule>(this.detach_ActionPlan_CompanyManagerRule));
|
||||||
this._ActionPlan_MainContract = new EntitySet<ActionPlan_MainContract>(new Action<ActionPlan_MainContract>(this.attach_ActionPlan_MainContract), new Action<ActionPlan_MainContract>(this.detach_ActionPlan_MainContract));
|
|
||||||
this._ActionPlan_MainContractApprove = new EntitySet<ActionPlan_MainContractApprove>(new Action<ActionPlan_MainContractApprove>(this.attach_ActionPlan_MainContractApprove), new Action<ActionPlan_MainContractApprove>(this.detach_ActionPlan_MainContractApprove));
|
this._ActionPlan_MainContractApprove = new EntitySet<ActionPlan_MainContractApprove>(new Action<ActionPlan_MainContractApprove>(this.attach_ActionPlan_MainContractApprove), new Action<ActionPlan_MainContractApprove>(this.detach_ActionPlan_MainContractApprove));
|
||||||
this._ActionPlan_ManagerRule = new EntitySet<ActionPlan_ManagerRule>(new Action<ActionPlan_ManagerRule>(this.attach_ActionPlan_ManagerRule), new Action<ActionPlan_ManagerRule>(this.detach_ActionPlan_ManagerRule));
|
this._ActionPlan_ManagerRule = new EntitySet<ActionPlan_ManagerRule>(new Action<ActionPlan_ManagerRule>(this.attach_ActionPlan_ManagerRule), new Action<ActionPlan_ManagerRule>(this.detach_ActionPlan_ManagerRule));
|
||||||
this._ActionPlan_ProjectManagerRule = new EntitySet<ActionPlan_ProjectManagerRule>(new Action<ActionPlan_ProjectManagerRule>(this.attach_ActionPlan_ProjectManagerRule), new Action<ActionPlan_ProjectManagerRule>(this.detach_ActionPlan_ProjectManagerRule));
|
this._ActionPlan_ProjectManagerRule = new EntitySet<ActionPlan_ProjectManagerRule>(new Action<ActionPlan_ProjectManagerRule>(this.attach_ActionPlan_ProjectManagerRule), new Action<ActionPlan_ProjectManagerRule>(this.detach_ActionPlan_ProjectManagerRule));
|
||||||
|
|
@ -156996,19 +156883,6 @@ namespace Model
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_MainContract_Person_Persons_CompileMan", Storage="_ActionPlan_MainContract", ThisKey="PersonId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
|
|
||||||
public EntitySet<ActionPlan_MainContract> ActionPlan_MainContract
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return this._ActionPlan_MainContract;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
this._ActionPlan_MainContract.Assign(value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_MainContractApprove_Person_Persons", Storage="_ActionPlan_MainContractApprove", ThisKey="PersonId", OtherKey="ApproveMan", DeleteRule="NO ACTION")]
|
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ActionPlan_MainContractApprove_Person_Persons", Storage="_ActionPlan_MainContractApprove", ThisKey="PersonId", OtherKey="ApproveMan", DeleteRule="NO ACTION")]
|
||||||
public EntitySet<ActionPlan_MainContractApprove> ActionPlan_MainContractApprove
|
public EntitySet<ActionPlan_MainContractApprove> ActionPlan_MainContractApprove
|
||||||
{
|
{
|
||||||
|
|
@ -160210,18 +160084,6 @@ namespace Model
|
||||||
entity.Person_Persons = null;
|
entity.Person_Persons = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void attach_ActionPlan_MainContract(ActionPlan_MainContract entity)
|
|
||||||
{
|
|
||||||
this.SendPropertyChanging();
|
|
||||||
entity.Person_Persons = this;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void detach_ActionPlan_MainContract(ActionPlan_MainContract entity)
|
|
||||||
{
|
|
||||||
this.SendPropertyChanging();
|
|
||||||
entity.Person_Persons = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void attach_ActionPlan_MainContractApprove(ActionPlan_MainContractApprove entity)
|
private void attach_ActionPlan_MainContractApprove(ActionPlan_MainContractApprove entity)
|
||||||
{
|
{
|
||||||
this.SendPropertyChanging();
|
this.SendPropertyChanging();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue