/**   预付单 明细，预付明细分录添加单据状态字段  **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PREPAYBILLENTRY' AND KSQL_COL_NAME ='FEXPEBILLSTATUS')
 ALTER TABLE T_ER_PREPAYBILLENTRY ADD (FEXPEBILLSTATUS CHAR(1) DEFAULT ' ' NOT NULL );