-- 资源注册配置新增数据源过滤器
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_RSREGISTER' AND KSQL_COL_NAME ='FDATARESOLVERID') 
 ALTER TABLE T_MRP_RSREGISTER ADD ( FDATARESOLVERID BIGINT DEFAULT 0 NOT NULL);
 
-- 资源注册配置新增引擎平衡过滤器
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_RSREGISTER' AND KSQL_COL_NAME ='FMATCHRESOLVERID') 
 ALTER TABLE T_MRP_RSREGISTER ADD ( FMATCHRESOLVERID BIGINT DEFAULT 0 NOT NULL);

