修改总包合同

This commit is contained in:
2023-09-05 15:17:21 +08:00
parent 390865d563
commit b53e552cfa
10 changed files with 48 additions and 213 deletions
@@ -48,4 +48,18 @@ delete from Sys_Menu where MenuId='0B17549C-2749-4255-BFF4-574902E878FA'
GO
alter table WBS_ControlItemAndCycle add PlanCost decimal(9,2) null
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