From 07d1e5be3d95c2019e41329fec3056f7f3bfc6e5 Mon Sep 17 00:00:00 2001 From: tangw Date: Wed, 9 Sep 2026 11:19:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=AD=97=E5=85=B8=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/lis8.0/updatedb_lis8.0.sql | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sql/lis8.0/updatedb_lis8.0.sql b/sql/lis8.0/updatedb_lis8.0.sql index e7941f7..fad0fe5 100644 --- a/sql/lis8.0/updatedb_lis8.0.sql +++ b/sql/lis8.0/updatedb_lis8.0.sql @@ -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 [update_by]; 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 \ No newline at end of file