统计字典调整

This commit is contained in:
tangw 2026-09-09 11:19:48 +08:00
parent 1a2b3c19bf
commit 07d1e5be3d

View File

@ -508,4 +508,9 @@ CREATE TABLE [dbo].[com_stats_template](
ALTER TABLE [dbo].[com_stats_template] ADD DEFAULT ('') FOR [create_by]; ALTER TABLE [dbo].[com_stats_template] ADD DEFAULT ('') FOR [create_by];
ALTER TABLE [dbo].[com_stats_template] ADD DEFAULT ('') FOR [update_by]; ALTER TABLE [dbo].[com_stats_template] ADD DEFAULT ('') FOR [update_by];
ALTER TABLE [dbo].[com_stats_template] ADD DEFAULT (NULL) FOR [remark]; ALTER TABLE [dbo].[com_stats_template] ADD DEFAULT (NULL) FOR [remark];
end
if exists(SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'com_stats_parameter' AND COLUMN_NAME = 'param_zct')
begin
alter table com_stats_parameter add param_zct [varchar](64);
end end