  --委外领料
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_OMOUTBILL' AND KSQL_COL_NAME ='FISBACKFLUSH')
 ALTER TABLE T_IM_MDC_OMOUTBILL ADD (FISBACKFLUSH CHAR(1) DEFAULT '0' NOT NULL );

 --简单委外领料
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDCOM_MREQOUTBILL' AND KSQL_COL_NAME ='FISBACKFLUSH')
 ALTER TABLE T_IM_MDCOM_MREQOUTBILL ADD (FISBACKFLUSH CHAR(1) DEFAULT '0' NOT NULL );

 --生产领料
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_MREQOUTBILL' AND KSQL_COL_NAME ='FISBACKFLUSH')
 ALTER TABLE T_IM_MDC_MREQOUTBILL ADD (FISBACKFLUSH CHAR(1) DEFAULT '0' NOT NULL );