diff --git a/DataBase/版本日志/SGGLDB_V2024-09-24.sql b/DataBase/版本日志/SGGLDB_V2024-09-24.sql new file mode 100644 index 00000000..c502077a --- /dev/null +++ b/DataBase/版本日志/SGGLDB_V2024-09-24.sql @@ -0,0 +1,98 @@ + +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 \ No newline at end of file