--项目单位与实名制推送时间 ALTER TABLE Project_ProjectUnit ADD RealNamePushTime DATETIME NULL GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'与实名制系统推送时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Project_ProjectUnit', @level2type=N'COLUMN',@level2name=N'RealNamePushTime' GO --项目施工队与实名制推送时间 ALTER TABLE ProjectData_TeamGroup ADD RealNamePushTime DATETIME NULL GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'与实名制系统推送时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ProjectData_TeamGroup', @level2type=N'COLUMN',@level2name=N'RealNamePushTime' GO --项目施工队实名制ID ALTER TABLE ProjectData_TeamGroup ADD TeamId BIGINT NULL GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'实名制ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ProjectData_TeamGroup', @level2type=N'COLUMN',@level2name=N'TeamId' GO --现场人员与实名制推送时间 ALTER TABLE SitePerson_Person ADD RealNameAddTime DATETIME NULL GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'与实名制系统推送时间' , @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'与实名制系统推送时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SitePerson_Person', @level2type=N'COLUMN',@level2name=N'RealNameUpdateTime' GO ----考勤与实名制推送时间 --ALTER TABLE SitePerson_PersonInOut ADD RealNamePushTime DATETIME NULL --GO --EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'与实名制系统推送时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SitePerson_PersonInOut', @level2type=N'COLUMN',@level2name=N'RealNamePushTime' --GO ----考勤与实名制推送时间 /*赛鼎不执行*/ --ALTER TABLE t_d_facerecord ADD RealNamePushTime DATETIME NULL --GO --EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'与实名制系统推送时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_d_facerecord', @level2type=N'COLUMN',@level2name=N'RealNamePushTime' --GO /*赛鼎不执行*/ INSERT INTO Sys_Const (ID,ConstValue,ConstText,SortIndex,GroupId,Remark) VALUES('394972F2-913E-4C22-AB68-FA701719F4CD',0,'其他',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