2023-06-06 09:54:46 +08:00
|
|
|
|
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
|
|
|
|
|
VALUES('F2BC1293-8639-4BD6-8759-648BCF6346E9','<EFBFBD>豸<EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD><EFBFBD><EFBFBD>','JDGL/WBS/EquipmentMaterialBigType.aspx',4,'0','Menu_JDGL',0,1,1)
|
|
|
|
|
GO
|
|
|
|
|
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
|
|
|
|
VALUES('A6A7CDD7-B223-4A80-9A0E-8E0F4B4E422A','F2BC1293-8639-4BD6-8759-648BCF6346E9','<EFBFBD><EFBFBD><EFBFBD><EFBFBD>',1)
|
|
|
|
|
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
|
|
|
|
VALUES('0D343597-D1FD-4CD5-9F23-43E6A68FE26B','F2BC1293-8639-4BD6-8759-648BCF6346E9','<EFBFBD><EFBFBD>',2)
|
|
|
|
|
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
|
|
|
|
VALUES('D003035F-CE86-4A71-AD3A-33CD4E260A00','F2BC1293-8639-4BD6-8759-648BCF6346E9','ɾ<EFBFBD><EFBFBD>',3)
|
|
|
|
|
INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
|
|
|
|
VALUES('6210DDB2-9196-4315-9308-009BD3A85E78','F2BC1293-8639-4BD6-8759-648BCF6346E9','<EFBFBD><EFBFBD><EFBFBD><EFBFBD>',4)
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
alter table WBS_EquipmentMaterialType add EquipmentMaterialBigTypeId nvarchar(50) null
|
|
|
|
|
GO
|
|
|
|
|
|
2023-06-08 19:30:16 +08:00
|
|
|
|
|
|
|
|
|
CREATE TABLE [dbo].[WBS_EquipmentMaterialBigType](
|
|
|
|
|
[EquipmentMaterialBigTypeId] [nvarchar](50) NOT NULL,
|
|
|
|
|
[EquipmentMaterialBigTypeCode] [nvarchar](50) NULL,
|
|
|
|
|
[EquipmentMaterialBigTypeName] [nvarchar](50) NULL,
|
|
|
|
|
[Remark] [nvarchar](100) NULL,
|
|
|
|
|
CONSTRAINT [PK_WBS_EquipmentMaterialBigType] PRIMARY KEY CLUSTERED
|
|
|
|
|
(
|
|
|
|
|
[EquipmentMaterialBigTypeId] ASC
|
|
|
|
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
|
|
|
|
) ON [PRIMARY]
|
|
|
|
|
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'WBS_EquipmentMaterialBigType', @level2type=N'COLUMN',@level2name=N'EquipmentMaterialBigTypeId'
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'WBS_EquipmentMaterialBigType', @level2type=N'COLUMN',@level2name=N'EquipmentMaterialBigTypeCode'
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'WBS_EquipmentMaterialBigType', @level2type=N'COLUMN',@level2name=N'EquipmentMaterialBigTypeName'
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>ע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'WBS_EquipmentMaterialBigType', @level2type=N'COLUMN',@level2name=N'Remark'
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD>豸<EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'WBS_EquipmentMaterialBigType'
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-06-06 09:54:46 +08:00
|
|
|
|
alter table WBS_EquipmentMaterialType add constraint FK_WBS_EquipmentMaterialType_WBS_EquipmentMaterialBigType
|
|
|
|
|
foreign key (EquipmentMaterialBigTypeId) references WBS_EquipmentMaterialBigType (EquipmentMaterialBigTypeId)
|
|
|
|
|
GO
|