-- 增加供应组织字段

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_mds_fcdataentry' AND KSQL_COL_NAME ='fprodorgg') 
 ALTER TABLE t_mds_fcdataentry ADD (fprodorgg BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_mds_fcdatadtlent' AND KSQL_COL_NAME ='fprodorg') 
 ALTER TABLE t_mds_fcdatadtlent ADD (fprodorg BIGINT DEFAULT 0 NOT NULL );