 --组件清单 增加返工标识
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MANUSTOCKENTRY' AND KSQL_COL_NAME ='FREWORK') 
 ALTER TABLE T_POM_MANUSTOCKENTRY   ADD (FREWORK CHAR(1) DEFAULT '0' NOT NULL);
 --组件清单变更单 增加返工标识
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_XMANUSTOCKENTRY' AND KSQL_COL_NAME ='FREWORK') 
 ALTER TABLE T_POM_XMANUSTOCKENTRY ADD (FREWORK  CHAR(1) DEFAULT '0' NOT NULL);
 

 