--工单汇报迁移生产工单分录字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MFTREPORTSUMMARY' AND KSQL_COL_NAME ='FMFTENTRYID') 
 ALTER TABLE T_POM_MFTREPORTSUMMARY ADD (FMFTENTRYID VARCHAR(50) DEFAULT ' ' NOT NULL );
