-- 1.事件定义
DELETE FROM t_evt_event WHERE FID = 1503622746427491328;
INSERT INTO t_evt_event(FID,FMODIFYDATE,FTYPE,FISPREINSDATA,FSCENE,FOPERATION,FCREATEDATE,FENTITY,FOPERNUMBER,FSTATUS,FNUMBER,FMODIFIER,FSOURCE,FNUMBERVIEW,FISMODIFIED,FCREATER) VALUES (1503622746427491328,{ts'2022-09-06  00:00:00'},'cosmic','0','operate','下推单据',{ts'2022-09-06  00:00:00'},'srm_sceneexam','pushbill','1','srm_sceneexam.pushbill',1203655802485822464,'XV1IC150UR4','srm_sceneexam.pushbill','1',1203655802485822464); 
DELETE FROM t_evt_event WHERE FID = 1503499630804329472;
INSERT INTO t_evt_event(FID,FMODIFYDATE,FTYPE,FISPREINSDATA,FSCENE,FOPERATION,FCREATEDATE,FENTITY,FOPERNUMBER,FSTATUS,FNUMBER,FMODIFIER,FSOURCE,FNUMBERVIEW,FISMODIFIED,FCREATER) VALUES (1503499630804329472,{ts'2022-09-06  00:00:00'},'cosmic','0','operate','下推单据',{ts'2022-09-06  00:00:00'},'srm_aptitudeexam','pushbill','1','srm_aptitudeexam.pushbill',1203655802485822464,'XV1IC150UR4','srm_aptitudeexam.pushbill','1',1203655802485822464); 
DELETE FROM t_evt_event WHERE FID = 1503620567796941824;
INSERT INTO t_evt_event(FID,FMODIFYDATE,FTYPE,FISPREINSDATA,FSCENE,FOPERATION,FCREATEDATE,FENTITY,FOPERNUMBER,FSTATUS,FNUMBER,FMODIFIER,FSOURCE,FNUMBERVIEW,FISMODIFIED,FCREATER) VALUES (1503620567796941824,{ts'2022-09-06  00:00:00'},'cosmic','0','operate','下推单据',{ts'2022-09-06  00:00:00'},'srm_materialexam','pushbill','1','srm_materialexam.pushbill',1203655802485822464,'XV1IC150UR4','srm_materialexam.pushbill','1',1203655802485822464); 
DELETE FROM t_evt_event WHERE FID = 1503621852369650688;
INSERT INTO t_evt_event(FID,FMODIFYDATE,FTYPE,FISPREINSDATA,FSCENE,FOPERATION,FCREATEDATE,FENTITY,FOPERNUMBER,FSTATUS,FNUMBER,FMODIFIER,FSOURCE,FNUMBERVIEW,FISMODIFIED,FCREATER) VALUES (1503621852369650688,{ts'2022-09-06  00:00:00'},'cosmic','0','operate','下推单据',{ts'2022-09-06  00:00:00'},'srm_sampleexam','pushbill','1','srm_sampleexam.pushbill',1203655802485822464,'XV1IC150UR4','srm_sampleexam.pushbill','1',1203655802485822464); 

DELETE FROM t_evt_event_l WHERE FID = 1503499630804329472 AND FLOCALEID='zh_CN';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1503499630804329472,'2PO3F2=4PJWO','zh_CN',' ','资质审查.下推单据'); 
DELETE FROM t_evt_event_l WHERE FID = 1503620567796941824 AND FLOCALEID='zh_CN';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1503620567796941824,'2POP0BNEQPWT','zh_CN',' ','物料试用.下推单据'); 
DELETE FROM t_evt_event_l WHERE FID = 1503621852369650688 AND FLOCALEID='zh_CN';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1503621852369650688,'2POP9PQ+OWWJ','zh_CN',' ','样品确认.下推单据'); 
DELETE FROM t_evt_event_l WHERE FID = 1503622746427491328 AND FLOCALEID='zh_CN';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1503622746427491328,'2POPF7T=0G1Z','zh_CN',' ','现场评审.下推单据'); 

--2.事件订阅(默认禁用)
DELETE FROM t_evt_subscription WHERE FID = 1503509622626189312;
INSERT INTO t_evt_subscription(FID,FMODIFYDATE,FISPREINSDATA,FCONDITION,FSERVICENUMBER,FCREATEDATE,FSEQUENCE,FEXECUTORVALUE,FISCONCURRENT,FSTATUS,FNOTIFYTEXT,FSERVICE,FNUMBER,FSERVICECONFIG,FEXPRESSION,FMODIFIER,FEVENT,FERRORNOTIFY,FEVENTNUMBER,FISMODIFIED,FTIMINGSTRATEGY,FEXECUTOR,FERRORSTRATEGY,FCREATER) VALUES (1503509622626189312,{ts'2022-09-06  00:00:00'},'0',' ','executePlugin',{ts'2022-09-06  00:00:00'},0,' ','1','0',' ',904236026388547584,'srm_aptitudeexam.pushbill.executePlugin','{"scriptid":"","type":"class","value":"{\"appid\":\"srm\",\"class\":\"kd.scm.srm.opplugin.event.SrmNodeBotpEventPlugin\"}"}',' ',1203655802485822464,1503499630804329472,' ','srm_aptitudeexam.pushbill','1',' ',' ','retry',1203655802485822464); 
DELETE FROM t_evt_subscription WHERE FID = 1503621116839964672;
INSERT INTO t_evt_subscription(FID,FMODIFYDATE,FISPREINSDATA,FCONDITION,FSERVICENUMBER,FCREATEDATE,FSEQUENCE,FEXECUTORVALUE,FISCONCURRENT,FSTATUS,FNOTIFYTEXT,FSERVICE,FNUMBER,FSERVICECONFIG,FEXPRESSION,FMODIFIER,FEVENT,FERRORNOTIFY,FEVENTNUMBER,FISMODIFIED,FTIMINGSTRATEGY,FEXECUTOR,FERRORSTRATEGY,FCREATER) VALUES (1503621116839964672,{ts'2022-09-06  00:00:00'},'0',' ','executePlugin',{ts'2022-09-06  00:00:00'},0,' ','1','0',' ',904236026388547584,'srm_materialexam.pushbill.executePlugin','{"scriptid":"","type":"class","value":"{\"appid\":\"srm\",\"class\":\"kd.scm.srm.opplugin.event.SrmNodeBotpEventPlugin\"}"}',' ',1203655802485822464,1503620567796941824,' ','srm_materialexam.pushbill','1',' ',' ','retry',1203655802485822464); 
DELETE FROM t_evt_subscription WHERE FID = 1503622280616718336;
INSERT INTO t_evt_subscription(FID,FMODIFYDATE,FISPREINSDATA,FCONDITION,FSERVICENUMBER,FCREATEDATE,FSEQUENCE,FEXECUTORVALUE,FISCONCURRENT,FSTATUS,FNOTIFYTEXT,FSERVICE,FNUMBER,FSERVICECONFIG,FEXPRESSION,FMODIFIER,FEVENT,FERRORNOTIFY,FEVENTNUMBER,FISMODIFIED,FTIMINGSTRATEGY,FEXECUTOR,FERRORSTRATEGY,FCREATER) VALUES (1503622280616718336,{ts'2022-09-06  00:00:00'},'0',' ','executePlugin',{ts'2022-09-06  00:00:00'},0,' ','1','0',' ',904236026388547584,'srm_sampleexam.pushbill.executePlugin','{"scriptid":"","type":"class","value":"{\"appid\":\"srm\",\"class\":\"kd.scm.srm.opplugin.event.SrmNodeBotpEventPlugin\"}"}',' ',1203655802485822464,1503621852369650688,' ','srm_sampleexam.pushbill','1',' ',' ','retry',1203655802485822464); 
DELETE FROM t_evt_subscription WHERE FID = 1503623264122286080;
INSERT INTO t_evt_subscription(FID,FMODIFYDATE,FISPREINSDATA,FCONDITION,FSERVICENUMBER,FCREATEDATE,FSEQUENCE,FEXECUTORVALUE,FISCONCURRENT,FSTATUS,FNOTIFYTEXT,FSERVICE,FNUMBER,FSERVICECONFIG,FEXPRESSION,FMODIFIER,FEVENT,FERRORNOTIFY,FEVENTNUMBER,FISMODIFIED,FTIMINGSTRATEGY,FEXECUTOR,FERRORSTRATEGY,FCREATER) VALUES (1503623264122286080,{ts'2022-09-06  00:00:00'},'0',' ','executePlugin',{ts'2022-09-06  00:00:00'},0,' ','1','0',' ',904236026388547584,'srm_sceneexam.pushbill.executePlugin','{"scriptid":"","type":"class","value":"{\"appid\":\"srm\",\"class\":\"kd.scm.srm.opplugin.event.SrmNodeBotpEventPlugin\"}"}',' ',1203655802485822464,1503622746427491328,' ','srm_sceneexam.pushbill','1',' ',' ','retry',1203655802485822464); 

DELETE FROM t_evt_subscription_l WHERE FID = 1503509622626189312 AND FLOCALEID='zh_CN';
INSERT INTO t_evt_subscription_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1503509622626189312,'2PO5=WWI4V1F','zh_CN','资质审查.下推单据.执行插件'); 
DELETE FROM t_evt_subscription_l WHERE FID = 1503621116839964672 AND FLOCALEID='zh_CN';
INSERT INTO t_evt_subscription_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1503621116839964672,'2POP4BOQZMY5','zh_CN','物料试用.下推单据.执行插件'); 
DELETE FROM t_evt_subscription_l WHERE FID = 1503622280616718336 AND FLOCALEID='zh_CN';
INSERT INTO t_evt_subscription_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1503622280616718336,'2POPBUEG2+Z=','zh_CN','样品确认.下推单据.执行插件'); 
DELETE FROM t_evt_subscription_l WHERE FID = 1503623264122286080 AND FLOCALEID='zh_CN';
INSERT INTO t_evt_subscription_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1503623264122286080,'2POPJ+Y4ST7X','zh_CN','现场评审.下推单据.执行插件'); 


