--工单汇报单
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MFTREPORTSUMMARY' AND KSQL_COL_NAME ='FMATERIELMASTERID') 
ALTER TABLE T_POM_MFTREPORTSUMMARY ADD (FMATERIELMASTERID BIGINT DEFAULT 0 NOT NULL );