CNCEC_SUBQHSE_WUHUAN/DataBase/版本日志/已更新脚本/SGGLDB_V2020-12-09-001[实名制]...

56 lines
3.1 KiB
MySQL
Raw Normal View History

2021-04-30 10:28:37 +08:00
--<EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>
ALTER TABLE Project_ProjectUnit ADD RealNamePushTime DATETIME NULL
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Project_ProjectUnit', @level2type=N'COLUMN',@level2name=N'RealNamePushTime'
GO
--<EFBFBD><EFBFBD>Ŀʩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>
ALTER TABLE ProjectData_TeamGroup ADD RealNamePushTime DATETIME NULL
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ProjectData_TeamGroup', @level2type=N'COLUMN',@level2name=N'RealNamePushTime'
GO
--<EFBFBD><EFBFBD>Ŀʩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID
ALTER TABLE ProjectData_TeamGroup ADD TeamId BIGINT NULL
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ProjectData_TeamGroup', @level2type=N'COLUMN',@level2name=N'TeamId'
GO
--<EFBFBD>ֳ<EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>
ALTER TABLE SitePerson_Person ADD RealNameAddTime DATETIME NULL
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SitePerson_Person', @level2type=N'COLUMN',@level2name=N'RealNameAddTime'
GO
ALTER TABLE SitePerson_Person ADD RealNameUpdateTime DATETIME NULL
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SitePerson_Person', @level2type=N'COLUMN',@level2name=N'RealNameUpdateTime'
GO
----<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>
--ALTER TABLE SitePerson_PersonInOut ADD RealNamePushTime DATETIME NULL
--GO
--EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SitePerson_PersonInOut', @level2type=N'COLUMN',@level2name=N'RealNamePushTime'
--GO
----<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD> /*<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD>*/
--ALTER TABLE t_d_facerecord ADD RealNamePushTime DATETIME NULL
--GO
--EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_facerecord', @level2type=N'COLUMN',@level2name=N'RealNamePushTime'
--GO
/*<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD>*/
INSERT INTO Sys_Const (ID,ConstValue,ConstText,SortIndex,GroupId,Remark)
VALUES('394972F2-913E-4C22-AB68-FA701719F4CD',0,'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0,'ProjectUnitType','QITA_CANJIAN')
GO
UPDATE Sys_Const SET Remark='ZONGCHENGBAO_CANJIAN' WHERE GroupId='ProjectUnitType' AND ConstValue=1
GO
UPDATE Sys_Const SET Remark='SHIGONG_FENBAO_CANJIAN' WHERE GroupId='ProjectUnitType' AND ConstValue=2
GO
UPDATE Sys_Const SET Remark='QITA_CANJIAN' WHERE GroupId='ProjectUnitType' AND ConstValue=3
GO
UPDATE Sys_Const SET Remark='QITA_CANJIAN' WHERE GroupId='ProjectUnitType' AND ConstValue=4
GO
UPDATE Sys_Const SET Remark='QITA_CANJIAN' WHERE GroupId='ProjectUnitType' AND ConstValue=5
GO
UPDATE Sys_Const SET Remark='QITA_CANJIAN' WHERE GroupId='ProjectUnitType' AND ConstValue=0
GO