-- 盘盈分摊方式字段更换（字段默认值为storage）
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_DIFFSHARE_SETDAT' AND KSQL_COL_NAME ='FALLOCWAY')
ALTER TABLE T_IM_MDC_DIFFSHARE_SETDAT ADD ( FALLOCWAY NVARCHAR(50) DEFAULT 'storage' NOT NULL );
-- 设置参数来源（该字段为systemparameter则为系统参数）
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_DIFFSHARE_SETDAT' AND KSQL_COL_NAME ='fsource')
ALTER TABLE T_IM_MDC_DIFFSHARE_SETDAT ADD ( fsource NVARCHAR(50) DEFAULT '' NOT NULL );