-- DAP配置预置
-- 409227959933656064	fa_change_dept
UPDATE t_ai_dapconfig SET fisdap = 1 WHERE FID = 409227959933656064;
--处置单
IF NOT EXISTS (SELECT 1 FROM t_ai_dapconfig WHERE fBillEntity = 'fa_disposal')
INSERT INTO t_ai_dapconfig(FID,FWRITEBACKPLUGIN,FISDAP,FBILLENTITY) VALUES (1407298182366395392,'kd.fi.fa.formplugin.dap.FaBillWriteBackVoucher','1','fa_disposal');
--摊销与计息
--DAP配置表更新摊销与计息生成凭证反写插件
update t_ai_dapconfig set fwritebackplugin = 'kd.fi.fa.formplugin.dap.FaBillWriteBackVoucher' where fBillEntity = 'fa_lease_rent_settle';
--重启单
IF NOT EXISTS (SELECT 1 FROM t_ai_dapconfig WHERE fBillEntity = 'fa_restartrealbill')
INSERT INTO t_ai_dapconfig(FID,FWRITEBACKPLUGIN,FISDAP,FBILLENTITY) VALUES (1927004742731934720,'kd.fi.fa.formplugin.dap.FaBillWriteBackVoucher','1','fa_restartrealbill');


