--事件定义:库存单据删除
DELETE FROM t_evt_event WHERE FID = 1297789774068832256;
INSERT INTO t_evt_event(FID,FMODIFYDATE,FTYPE,FISPREINSDATA,FSCENE,FCREATEDATE,FOPERATION,FDESCRIPTION,FENTITY,FOPERNUMBER,FSTATUS,FNUMBER,FNAME,FMODIFIER,FSOURCE,FNUMBERVIEW,FISMODIFIED,FCREATER) VALUES (1297789774068832256,{ts'2021-11-26  00:00:00'},'custom','1','operate',{ts'2021-11-26  00:00:00'},' ',' ',' ',' ','1','InvBillDelete',' ',1155589857720938496,' ','InvBillDelete','1',1155589857720938496); 
DELETE FROM t_evt_event_l WHERE FPKID = '21DKEW2YYE0A';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FOPERATION,FDESCRIPTION,FNAME) VALUES (1297789774068832256,'21DKEW2YYE0A','zh_CN',' ',' ','库存单据删除'); 
DELETE FROM t_evt_event_l WHERE FPKID = '21DKEW2YYE0B';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FOPERATION,FDESCRIPTION,FNAME) VALUES (1297789774068832256,'21DKEW2YYE0B','zh_TW',' ',' ','庫存單據刪除'); 
DELETE FROM t_evt_eventconfig WHERE FENTRYID = 1297789774068832257;
INSERT INTO t_evt_eventconfig(FID,FCONFIGDESCRIPTION,FCONFIGTYPE,FISTRANSFER,FENTRYID,FSEQ,FCONFIGNUMBER,FISCUSTOM,FCONFIGNAME) VALUES (1297789774068832256,'返回结果类型为:字符串','{"description":"返回结果类型为:字符串","type":"String","ismulti":false}','1',1297789774068832257,1,'operate','1','操作类型'); 
DELETE FROM t_evt_eventconfig WHERE FENTRYID = 1297789774068832258;
INSERT INTO t_evt_eventconfig(FID,FCONFIGDESCRIPTION,FCONFIGTYPE,FISTRANSFER,FENTRYID,FSEQ,FCONFIGNUMBER,FISCUSTOM,FCONFIGNAME) VALUES (1297789774068832256,'返回结果类型为:字符串','{"description":"返回结果类型为:字符串","type":"String","ismulti":false}','1',1297789774068832258,2,'entity','1','业务对象'); 
DELETE FROM t_evt_eventconfig WHERE FENTRYID = 1297789774068832259;
INSERT INTO t_evt_eventconfig(FID,FCONFIGDESCRIPTION,FCONFIGTYPE,FISTRANSFER,FENTRYID,FSEQ,FCONFIGNUMBER,FISCUSTOM,FCONFIGNAME) VALUES (1297789774068832256,'返回结果类型为:字符串','{"description":"返回结果类型为:字符串","type":"String","ismulti":false}','1',1297789774068832259,3,'ids','1','单据id'); 
DELETE FROM t_evt_eventconfig WHERE FENTRYID = 1297789774068832260;
INSERT INTO t_evt_eventconfig(FID,FCONFIGDESCRIPTION,FCONFIGTYPE,FISTRANSFER,FENTRYID,FSEQ,FCONFIGNUMBER,FISCUSTOM,FCONFIGNAME) VALUES (1297789774068832256,'返回结果类型为:字符串','{"description":"返回结果类型为:字符串","type":"String","ismulti":false}','1',1297789774068832260,4,'numbers','1','单据编号'); 
DELETE FROM t_evt_eventconfig WHERE FENTRYID = 1297789774068832261;
INSERT INTO t_evt_eventconfig(FID,FCONFIGDESCRIPTION,FCONFIGTYPE,FISTRANSFER,FENTRYID,FSEQ,FCONFIGNUMBER,FISCUSTOM,FCONFIGNAME) VALUES (1297789774068832256,'返回结果类型为:字符串','{"description":"返回结果类型为:字符串","type":"String","ismulti":false}','1',1297789774068832261,5,'operateoption','1','操作参数'); 

--事件订阅:序列号服务插件-库存单据删除
DELETE FROM t_evt_subscription WHERE FID = 1297792072832660480;
INSERT INTO t_evt_subscription(FMODIFYDATE,FSERVICENUMBER,FSEQUENCE,FEXECUTORVALUE,FSERVICECONFIG,FEVENT,FERRORNOTIFY,FEVENTNUMBER,FISMODIFIED,FTIMINGSTRATEGY,FID,FISPREINSDATA,FCONDITION,FCREATEDATE,FISCONCURRENT,FSTATUS,FNOTIFYTEXT,FSERVICE,FNUMBER,FNAME,FEXPRESSION,FMODIFIER,FEXECUTOR,FERRORSTRATEGY,FCREATER) VALUES ({ts'2021-11-26  00:00:00'},'executePlugin',0,' ','{"scriptid":"","type":"class","value":"{\"appid\":\"im\",\"class\":\"kd.scmc.im.mservice.event.op.InvBillSerialNumberServiceEvent\"}"}',1297789774068832256,' ','InvBillDelete','1',' ',1297792072832660480,'1',' ',{ts'2021-11-26  00:00:00'},'1','1',' ',904236026388547584,'InvBillDelete.executeSerialNumPlugin','库存单据删除.执行序列号服务插件',' ',1155589857720938496,' ','retry',1155589857720938496); 
DELETE FROM t_evt_subscription_l WHERE FPKID = '21DKVMD=LSGO';
INSERT INTO t_evt_subscription_l(FID,FPKID,FLOCALEID,FNOTIFYTEXT,FNAME) VALUES (1297792072832660480,'21DKVMD=LSGO','zh_CN',' ','库存单据删除.执行序列号服务插件'); 
DELETE FROM t_evt_subscription_l WHERE FPKID = '21DKVMD=LSGP';
INSERT INTO t_evt_subscription_l(FID,FPKID,FLOCALEID,FNOTIFYTEXT,FNAME) VALUES (1297792072832660480,'21DKVMD=LSGP','zh_TW',' ','庫存單據刪除.執行序列號服務插件'); 
