-- 批量兼职分录表新增FMID字段
/**Begin D:\pdm\PDM_UPGRADE1\PDM1\HDM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_HDM_PARTTIMEAPPLYBILL_B' AND KSQL_COL_NAME ='FMID')
 ALTER TABLE T_HDM_PARTTIMEAPPLYBILL_B ADD (FMID BIGINT DEFAULT 0 NOT NULL );

/**End D:\pdm\PDM_UPGRADE1\PDM1\HDM_table.sql **/