-- 合同付款规则增加支付起点
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_LEASE_PAY_RULE' AND KSQL_COL_NAME IN ('FPAYPOINT'))
ALTER TABLE T_FA_LEASE_PAY_RULE ADD (FPAYPOINT CHAR(1) DEFAULT 'A' NOT NULL );