-- 资产移交单分录增加使用部门
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_ASSETTRANSFER_ENTRY' AND KSQL_COL_NAME ='FUSEDEPTID') 
 ALTER TABLE T_FA_ASSETTRANSFER_ENTRY ADD (FUSEDEPTID BIGINT DEFAULT 0 NOT NULL );