--升级历史数据
IF EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MANUSTOCKENTRY_A' AND KSQL_COL_NAME ='FISBACKFLUSHNEW' AND KSQL_COL_NAME ='FISBACKFLUSH') 
UPDATE T_POM_MANUSTOCKENTRY_A SET FISBACKFLUSHNEW='A' WHERE FISBACKFLUSH='0' AND FISBACKFLUSHNEW=' ';
--升级历史数据
IF EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MANUSTOCKENTRY_A' AND KSQL_COL_NAME ='FISBACKFLUSHNEW'AND KSQL_COL_NAME ='FISBACKFLUSH') 
UPDATE T_POM_MANUSTOCKENTRY_A SET FISBACKFLUSHNEW='B' WHERE FISBACKFLUSH='1' AND FISBACKFLUSHNEW=' ';