/*还款单收款分录添加是否手动关联字段*/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_REPAYRECENTRY' AND KSQL_COL_NAME ='FISMANUALRELATED')
ALTER TABLE T_ER_REPAYRECENTRY ADD (FISMANUALRELATED CHAR(1) DEFAULT '0' NOT NULL);
