


DELETE FROM t_bd_biztype WHERE FID = 966651870204521472;
INSERT INTO t_bd_biztype(FID,FDISABLEDATE,FISPURCHASE,FISSALE,FDESCRIPTION,FMASTERID,FSTATUS,FISINVENTORY,FNUMBER,FNAME,FDOMAIN,FCREATETIME,FENABLE,FMODIFIERID,FISPRESET,FMODIFYTIME,FBIZCATEGORY,FCREATORID,FDISABLERID) VALUES (966651870204521472,NULL,'0','0','普通委外',966651870204521472,'C','0','4011','普通委外','1',{ts'2020-09-03  11:07:47'},'1',1,'1',{ts'2020-09-03  11:07:47'},'BZ',1,0); 

-- 分录单据

DELETE FROM t_sbd_biztypebillentity WHERE FENTRYID = 966651870212910080;
INSERT INTO t_sbd_biztypebillentity(FID,FENTRYID,FSEQ,FBILLFORM) VALUES (966651870204521472,966651870212910080,1,'pm_om_purorderbill'); 
DELETE FROM t_sbd_biztypebillentity WHERE FENTRYID = 1031989288147167232;
INSERT INTO t_sbd_biztypebillentity(FID,FENTRYID,FSEQ,FBILLFORM) VALUES (966651870204521472,1031989288147167232,2,'im_mdc_omproorder'); 
DELETE FROM t_sbd_biztypebillentity WHERE FENTRYID = 1031989288147167233;
INSERT INTO t_sbd_biztypebillentity(FID,FENTRYID,FSEQ,FBILLFORM) VALUES (966651870204521472,1031989288147167233,3,'im_mdc_omfeedorder'); 
DELETE FROM t_sbd_biztypebillentity WHERE FENTRYID = 1068760284262563840;
INSERT INTO t_sbd_biztypebillentity(FID,FENTRYID,FSEQ,FBILLFORM) VALUES (966651870204521472,1068760284262563840,4,'im_mdc_ominbill'); 


