2024-05-11 15:22:08 +08:00
|
|
|
|
use HJGLDB_ZJBSF
|
|
|
|
|
go
|
|
|
|
|
create table PMI_Delegation
|
2024-05-10 16:45:39 +08:00
|
|
|
|
(
|
|
|
|
|
Id nvarchar(50) not null primary key,
|
|
|
|
|
DelegationNo nvarchar(50) not null,
|
|
|
|
|
DelegationDate datetime,
|
|
|
|
|
InstallationId nvarchar(50),
|
|
|
|
|
UnitId nvarchar(50),
|
|
|
|
|
DetectionStandard nvarchar(50),
|
|
|
|
|
Remark nvarchar(255),
|
|
|
|
|
CreatedTime datetime default getdate()
|
|
|
|
|
)
|
|
|
|
|
go
|
2024-05-11 15:22:08 +08:00
|
|
|
|
create table PMI_DelegationDetails
|
2024-05-10 16:45:39 +08:00
|
|
|
|
(
|
|
|
|
|
Id nvarchar(50) not null primary key,
|
|
|
|
|
PMIId nvarchar(50) not null,
|
|
|
|
|
JointId nvarchar(50) not null,
|
|
|
|
|
QualityNo nvarchar(255),
|
|
|
|
|
Acceptance nvarchar(255),
|
|
|
|
|
CreatedTime datetime default getdate()
|
|
|
|
|
)
|
|
|
|
|
go
|
|
|
|
|
|
2024-05-11 15:22:08 +08:00
|
|
|
|
-- <20><><EFBFBD>ߺ<EFBFBD><DFBA><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD> PMI<4D><49><EFBFBD><EFBFBD>
|
|
|
|
|
alter table Pipeline_WeldJoint add isPMI bit null
|
|
|
|
|
update Pipeline_WeldJoint set isPMI=0
|
|
|
|
|
-- <20><><EFBFBD><EFBFBD>PMIί<49>в˵<D0B2>
|
2024-05-10 16:45:39 +08:00
|
|
|
|
insert into Sys_Menu values('A6FB44C3-0920-4F77-862F-D814FD5E5D23','PMI<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','PMI detection management','',21,0,3,NUll,1)
|
|
|
|
|
insert into Sys_Menu values(NEWID(),'PMIί<EFBFBD><EFBFBD>','PMI delegation','/WeldingProcess/PMI/PMIDelegation.aspx',0,'A6FB44C3-0920-4F77-862F-D814FD5E5D23',3,NULL,1)
|
|
|
|
|
insert into Sys_Menu values(NEWID(),'PMI<EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD>','PMI detection entry','/WeldingProcess/PMI/PMIDetectionEntry.aspx',0,'A6FB44C3-0920-4F77-862F-D814FD5E5D23',3,NULL,1)
|