-- 平衡利库匹配明细 添加库存类别字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_BALINV_DETAILENTRY' AND KSQL_COL_NAME ='FINVSTOCKTYPE')
 ALTER TABLE T_IM_BALINV_DETAILENTRY ADD (FINVSTOCKTYPE CHAR(1) DEFAULT 'A' NOT NULL );
