--增加业务分类字段 借款单、预付单
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PREPAYBILL' AND KSQL_COL_NAME ='FPROJECTTYPE')
ALTER TABLE T_ER_PREPAYBILL ADD (FPROJECTTYPE BIGINT DEFAULT 0 NOT NULL);


IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_DAILYLOANBILL' AND KSQL_COL_NAME ='FPROJECTTYPE')
ALTER TABLE T_ER_DAILYLOANBILL ADD (FPROJECTTYPE BIGINT DEFAULT 0 NOT NULL);


