五环大屏;进度管理;等
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
|
||||
|
||||
--月进度补充完成状态
|
||||
IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'JDGL_MonthPlan' AND COLUMN_NAME = 'IsOK')
|
||||
BEGIN
|
||||
ALTER TABLE JDGL_MonthPlan ADD IsOK bit;
|
||||
END
|
||||
GO
|
||||
|
||||
update JDGL_MonthPlan set IsOK =1 where RealDate is not null
|
||||
update JDGL_MonthPlan set IsOK =0 where RealDate is null
|
||||
GO
|
||||
|
||||
Reference in New Issue
Block a user