98 lines
2.5 KiB
Transact-SQL
98 lines
2.5 KiB
Transact-SQL
|
|
INSERT INTO dbo.Sys_ButtonToMenu (ButtonToMenuId, MenuId, ButtonName, SortIndex) VALUES (N'FD1ED6C2-93BD-412F-A0B6-661F44339CA8', N'BCCA4D81-410C-4746-B1E4-F882BC3A25F4', N'修改', 4);
|
|
go
|
|
alter table dbo.Tw_InOutPlanMaster
|
|
add AuditMan nvarchar(50)
|
|
go
|
|
|
|
exec sp_addextendedproperty 'MS_Description', N'审核人', 'SCHEMA', 'dbo', 'TABLE', 'Tw_InOutPlanMaster', 'COLUMN',
|
|
'AuditMan'
|
|
go
|
|
|
|
alter table dbo.Tw_InOutPlanMaster
|
|
add AuditDate datetime
|
|
go
|
|
|
|
exec sp_addextendedproperty 'MS_Description', N'审核时间', 'SCHEMA', 'dbo', 'TABLE', 'Tw_InOutPlanMaster', 'COLUMN',
|
|
'AuditDate'
|
|
go
|
|
alter table dbo.Tw_InputMaster
|
|
add AuditMan nvarchar(50)
|
|
go
|
|
|
|
exec sp_addextendedproperty 'MS_Description', N'审核人', 'SCHEMA', 'dbo', 'TABLE', 'Tw_InputMaster', 'COLUMN',
|
|
'AuditMan'
|
|
go
|
|
|
|
alter table dbo.Tw_InputMaster
|
|
add AuditDate datetime
|
|
go
|
|
|
|
exec sp_addextendedproperty 'MS_Description', N'审核时间', 'SCHEMA', 'dbo', 'TABLE', 'Tw_InputMaster', 'COLUMN',
|
|
'AuditDate'
|
|
go
|
|
alter table dbo.Tw_OutputMaster
|
|
add AuditMan nvarchar(50)
|
|
go
|
|
|
|
exec sp_addextendedproperty 'MS_Description', N'审核人', 'SCHEMA', 'dbo', 'TABLE', 'Tw_OutputMaster', 'COLUMN',
|
|
'AuditMan'
|
|
go
|
|
|
|
alter table dbo.Tw_OutputMaster
|
|
add AuditDate datetime
|
|
go
|
|
|
|
exec sp_addextendedproperty 'MS_Description', N'审核时间', 'SCHEMA', 'dbo', 'TABLE', 'Tw_OutputMaster', 'COLUMN',
|
|
'AuditDate'
|
|
go
|
|
alter table dbo.Tw_InOutPlanMaster
|
|
add Remark nvarchar(200)
|
|
go
|
|
alter table dbo.Tw_InputMaster
|
|
add Remark nvarchar(200)
|
|
go
|
|
alter table dbo.Tw_InOutPlanMaster
|
|
add AuditMan2 nvarchar(50)
|
|
go
|
|
|
|
exec sp_addextendedproperty 'MS_Description', N'专工审核人', 'SCHEMA', 'dbo', 'TABLE', 'Tw_InOutPlanMaster', 'COLUMN',
|
|
'AuditMan2'
|
|
go
|
|
|
|
alter table dbo.Tw_InOutPlanMaster
|
|
add AuditDate2 datetime
|
|
go
|
|
|
|
exec sp_addextendedproperty 'MS_Description', N'专工审核时间', 'SCHEMA', 'dbo', 'TABLE', 'Tw_InOutPlanMaster', 'COLUMN',
|
|
'AuditDate2'
|
|
go
|
|
|
|
|
|
|
|
alter table dbo.HJGL_PipeLineMat
|
|
add IsLooseParts BIT
|
|
go
|
|
|
|
exec sp_addextendedproperty 'MS_Description', N'是否散件', 'SCHEMA', 'dbo', 'TABLE', 'HJGL_PipeLineMat', 'COLUMN',
|
|
'IsLooseParts'
|
|
go
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- auto-generated definition
|
|
create table dbo.Tw_InOutPlanDetail_Relation
|
|
(
|
|
Id nvarchar(50) not null
|
|
constraint Tw_InOutPlanDetail_Relation_pk
|
|
primary key,
|
|
PipelineId nvarchar(50),
|
|
InOutPlanMasterId nvarchar(50),
|
|
MaterialCode nvarchar(50),
|
|
PrefabricatedComponents nvarchar(100),
|
|
Number decimal(9, 2),
|
|
)
|
|
go |