
DELETE FROM t_fa_pc_lock_config_n WHERE FID = 1281704413546759168;
DELETE FROM t_fa_hold_pclock_bill_n WHERE FENTRYID = 1281706637878472704;
DELETE FROM t_fa_base_status_ctr_n WHERE FDETAILID = 1281744287310131200;
DELETE FROM t_fa_base_status_ctr_n WHERE FDETAILID = 1281744419497788416;
DELETE FROM t_fa_hold_cclock_bill_n WHERE FENTRYID = 1281706637878445056;
DELETE FROM t_fa_hold_cclock_bill_n WHERE FENTRYID = 1281706637878445057;

INSERT INTO t_fa_pc_lock_config_n(FID,FBIZFINALSTATUS,FAUDITORID,FSTATUSCODE,FUSEPURPOSE,FSTATUSCOMENT,FBILLSTATUS,FAUDITDATE,FLOCKEDENTITYCODE,FBILLNO,FCREATETIME,FMODIFIERID,FMODIFYTIME,FCREATORID,FBIZNORMALSTATUS) VALUES (1281704413546759168,'B',1152812465562695680,' ','default','A:正常;B:已终止;C:变更','C',{ts'2018-08-08  18:18:18'},'fa_lease_contract','FA_LEASE_CHANGE_CONFIG_01',{ts'2018-08-08  18:18:18'},1152812465562695680,{ts'2018-08-08  18:18:18'},1152812465562695680,'A'); 

INSERT INTO t_fa_hold_pclock_bill_n(FID,FPARENTBILLENTITYCODE,FENTRYID,FPRELBASETYPE,FSEQ,FPHEADBASECODE,FPENTRYCODE,FPENTRYBASECODE) VALUES (1281704413546759168,'fa_lease_change_bill',1281706637878472704,'HEAD',1,'leasecontract',' ',' '); 

INSERT INTO t_fa_base_status_ctr_n(FOPERATIONS,FDETAILID,FFROMBIZSTATUS,FENTRYID,FTOBIZSTATUS,FSEQ,FCOMMENT) VALUES (',delete,audit,',1281744419497788416,'C',1281706637878472704,'A',2,'A:正常;B:已终止;C:变更'); 

INSERT INTO t_fa_base_status_ctr_n(FOPERATIONS,FDETAILID,FFROMBIZSTATUS,FENTRYID,FTOBIZSTATUS,FSEQ,FCOMMENT) VALUES (',save,submit,unaudit,',1281744287310131200,'A',1281706637878472704,'C',1,'A:正常;B:已终止;C:变更'); 

INSERT INTO t_fa_hold_cclock_bill_n(FID,FCHILDBILLENTITYCODE,FCHEADBASECODE,FENTRYID,FSEQ,FCENTRYBASECODE,FCRELBASETYPE,FCENTRYCODE) VALUES (1281704413546759168,'fa_lease_rent_settle','leasecontract',1281706637878445056,1,' ','HEAD',' '); 

INSERT INTO t_fa_hold_cclock_bill_n(FID,FCHILDBILLENTITYCODE,FCHEADBASECODE,FENTRYID,FSEQ,FCENTRYBASECODE,FCRELBASETYPE,FCENTRYCODE) VALUES (1281704413546759168,'fa_lease_pay_plan','lease',1281706637878445057,2,' ','HEAD',' '); 