1
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
|
||||
|
||||
--历史预立项数据处理
|
||||
insert into DataGovernance_PreProjectApply
|
||||
select newid(),bp.UnitId,bu.UnitName,ProjectName,'预立项','C4A62EC0-E5D3-4EBF-A5FA-E56AA89633C0','JT','历史预立项数据处理',GETDATE(),'C4A62EC0-E5D3-4EBF-A5FA-E56AA89633C0','JT','历史预立项数据处理',GETDATE(),1
|
||||
from base_project as bp left join Base_Unit as bu on bu.UnitId=bp.UnitId
|
||||
where MasterSysId is null and isnull(isDelete,0)=0 and ProjectName not in (select ProjectName from DataGovernance_PreProjectApply)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user