-- 匹配明细添加净需求基本数量
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_BALINV_DETAILENTRY' AND KSQL_COL_NAME ='FNETDEMANDBASEQTY')
 ALTER TABLE T_IM_BALINV_DETAILENTRY ADD (FNETDEMANDBASEQTY DECIMAL(23,10) DEFAULT 0 NOT NULL);
