--检修工单完工、保留、取消、作废事件取消生产领料申请单
DELETE FROM t_evt_eventconfig WHERE FENTRYID = 1527540501476079616;
INSERT INTO t_evt_eventconfig(FID,FCONFIGDESCRIPTION,FCONFIGTYPE,FISTRANSFER,FENTRYID,FSEQ,FCONFIGNUMBER,FISCUSTOM,FCONFIGNAME) VALUES (1484112500357070848,'返回结果类型为:字符串','{"description":"返回结果类型为:字符串","type":"String","ismulti":false}','1',1527540501476079616,1,'billno','0','单据编号'); 
DELETE FROM t_evt_eventconfig WHERE FENTRYID = 1528123271218758656;
INSERT INTO t_evt_eventconfig(FID,FCONFIGDESCRIPTION,FCONFIGTYPE,FISTRANSFER,FENTRYID,FSEQ,FCONFIGNUMBER,FISCUSTOM,FCONFIGNAME) VALUES (1518201694775703552,'返回结果类型为:字符串','{"description":"返回结果类型为:字符串","type":"String","ismulti":false}','1',1528123271218758656,1,'billno','0','单据编号'); 
DELETE FROM t_evt_eventconfig WHERE FENTRYID = 1528123118915191808;
INSERT INTO t_evt_eventconfig(FID,FCONFIGDESCRIPTION,FCONFIGTYPE,FISTRANSFER,FENTRYID,FSEQ,FCONFIGNUMBER,FISCUSTOM,FCONFIGNAME) VALUES (1518201904407018496,'返回结果类型为:字符串','{"description":"返回结果类型为:字符串","type":"String","ismulti":false}','1',1528123118915191808,1,'billno','0','单据编号'); 
DELETE FROM t_evt_eventconfig WHERE FENTRYID = 1528125794419770368;
INSERT INTO t_evt_eventconfig(FID,FCONFIGDESCRIPTION,FCONFIGTYPE,FISTRANSFER,FENTRYID,FSEQ,FCONFIGNUMBER,FISCUSTOM,FCONFIGNAME) VALUES (1528125794411381760,'返回结果类型为:字符串','{"description":"返回结果类型为:字符串","type":"String","ismulti":false}','1',1528125794419770368,1,'billno','0','单据编号'); 

DELETE FROM t_evt_event WHERE FID = 1484112500357070848;
INSERT INTO t_evt_event(FID,FMODIFYDATE,FTYPE,FISPREINSDATA,FSCENE,FOPERATION,FCREATEDATE,FENTITY,FOPERNUMBER,FSTATUS,FNUMBER,FMODIFIER,FSOURCE,FNUMBERVIEW,FISMODIFIED,FCREATER) VALUES (1484112500357070848,{ts'2018-08-08  00:00:00'},'cosmic','1','operate','完工',{ts'2018-08-08  00:00:00'},'pom_mroorder','endwork','1','pom_mroorder.endwork',1403462928715258880,'064+TL0DU6T9','pom_mroorder.endwork','1',1404334569729074176); 
DELETE FROM t_evt_event WHERE FID = 1518201904407018496;
INSERT INTO t_evt_event(FID,FMODIFYDATE,FTYPE,FISPREINSDATA,FSCENE,FOPERATION,FCREATEDATE,FENTITY,FOPERNUMBER,FSTATUS,FNUMBER,FMODIFIER,FSOURCE,FNUMBERVIEW,FISMODIFIED,FCREATER) VALUES (1518201904407018496,{ts'2018-08-08  00:00:00'},'cosmic','1','operate','取消',{ts'2018-08-08  00:00:00'},'pom_mroorder','cancel','1','pom_mroorder.cancel',1403462928715258880,'064+TL0DU6T9','pom_mroorder.cancel','1',1404334569729074176); 
DELETE FROM t_evt_event WHERE FID = 1518201694775703552;
INSERT INTO t_evt_event(FID,FMODIFYDATE,FTYPE,FISPREINSDATA,FSCENE,FOPERATION,FCREATEDATE,FENTITY,FOPERNUMBER,FSTATUS,FNUMBER,FMODIFIER,FSOURCE,FNUMBERVIEW,FISMODIFIED,FCREATER) VALUES (1518201694775703552,{ts'2018-08-08  00:00:00'},'cosmic','1','operate','保留',{ts'2018-08-08  00:00:00'},'pom_mroorder','keep','1','pom_mroorder.keep',1403462928715258880,'064+TL0DU6T9','pom_mroorder.keep','1',1404334569729074176); 
DELETE FROM t_evt_event WHERE FID = 1528125794411381760;
INSERT INTO t_evt_event(FID,FMODIFYDATE,FTYPE,FISPREINSDATA,FSCENE,FOPERATION,FCREATEDATE,FENTITY,FOPERNUMBER,FSTATUS,FNUMBER,FMODIFIER,FSOURCE,FNUMBERVIEW,FISMODIFIED,FCREATER) VALUES (1528125794411381760,{ts'2018-08-08  00:00:00'},'cosmic','1','operate','作废',{ts'2018-08-08  00:00:00'},'pom_mroorder','invalid','1','pom_mroorder.invalid',1403462928715258880,'064+TL0DU6T9','pom_mroorder.invalid','1',1403462928715258880); 

DELETE FROM t_evt_event_l WHERE FPKID = '2N=80DFE58L=';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1484112500357070848,'2N=80DFE58L=','zh_CN',' ','检修工单.完工'); 
DELETE FROM t_evt_event_l WHERE FPKID = '2RGJFS4X6MV/';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1518201694775703552,'2RGJFS4X6MV/','zh_CN','检修工单.保留','检修工单.保留'); 
DELETE FROM t_evt_event_l WHERE FPKID = '2RGJFS4X6MV0';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1518201694775703552,'2RGJFS4X6MV0','zh_TW','檢修工單.保留',' '); 
DELETE FROM t_evt_event_l WHERE FPKID = '2RGJH=QBPC54';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1518201904407018496,'2RGJH=QBPC54','zh_CN','检修工单.取消','检修工单.取消'); 
DELETE FROM t_evt_event_l WHERE FPKID = '2RGJH=QBPC55';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1518201904407018496,'2RGJH=QBPC55','zh_TW','檢修工單.取消',' '); 
DELETE FROM t_evt_event_l WHERE FPKID = '2SP2QI68PUM5';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1528125794411381760,'2SP2QI68PUM5','zh_CN','检修工单.作废','检修工单.作废'); 
DELETE FROM t_evt_event_l WHERE FPKID = '2SP2R1QCIJZ9';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1528125794411381760,'2SP2R1QCIJZ9','zh_TW','檢修工單.作廢',' '); 

--事件订阅
DELETE FROM t_evt_subscription WHERE FID = 1527544963225679872;
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 (1527544963225679872,{ts'2018-08-08  00:00:00'},'0',' ','executePlugin',{ts'2018-08-08  00:00:00'},0,' ','1','1',' ',904236026388547584,'pom_mroorder.endwork.executePlugin','{"scriptid":"","type":"class","value":"{\"appid\":\"im\",\"class\":\"kd.scmc.im.mservice.api.mdc.event.CancelMdcApplyBillServiceEvent\"}"}',' ',1403462928715258880,1484112500357070848,' ','pom_mroorder.endwork','1',' ',' ','retry',1403462928715258880); 

DELETE FROM t_evt_subscription WHERE FID = 1528126724817060864;
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 (1528126724817060864,{ts'2018-08-08  00:00:00'},'0',' ','executePlugin',{ts'2018-08-08  00:00:00'},0,' ','1','1',' ',904236026388547584,'pom_mroorder.cancel.executePlugin','{"scriptid":"","type":"class","value":"{\"appid\":\"im\",\"class\":\"kd.scmc.im.mservice.api.mdc.event.CancelMdcApplyBillServiceEvent\"}"}',' ',1403462928715258880,1518201904407018496,' ','pom_mroorder.cancel','1',' ',' ','retry',1403462928715258880); 
DELETE FROM t_evt_subscription WHERE FID = 1528126972985638912;
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 (1528126972985638912,{ts'2018-08-08  00:00:00'},'0',' ','executePlugin',{ts'2018-08-08  00:00:00'},0,' ','1','1',' ',904236026388547584,'pom_mroorder.keep.executePlugin','{"scriptid":"","type":"class","value":"{\"appid\":\"im\",\"class\":\"kd.scmc.im.mservice.api.mdc.event.CancelMdcApplyBillServiceEvent\"}"}',' ',1403462928715258880,1518201694775703552,' ','pom_mroorder.keep','1',' ',' ','retry',1403462928715258880); 
DELETE FROM t_evt_subscription WHERE FID = 1528127141261116416;
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 (1528127141261116416,{ts'2018-08-08  00:00:00'},'0',' ','executePlugin',{ts'2018-08-08  00:00:00'},0,' ','1','1',' ',904236026388547584,'pom_mroorder.invalid.executePlugin','{"scriptid":"","type":"class","value":"{\"appid\":\"im\",\"class\":\"kd.scmc.im.mservice.api.mdc.event.CancelMdcApplyBillServiceEvent\"}"}',' ',1403462928715258880,1528125794411381760,' ','pom_mroorder.invalid','1',' ',' ','retry',1403462928715258880); 

DELETE FROM t_evt_subscription_l WHERE FPKID = '2SMA7/E4++7Q';
INSERT INTO t_evt_subscription_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1527544963225679872,'2SMA7/E4++7Q','zh_CN','检修工单.完工.执行插件'); 
DELETE FROM t_evt_subscription_l WHERE FPKID = '2SP2X=LA00A3';
INSERT INTO t_evt_subscription_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1528126724817060864,'2SP2X=LA00A3','zh_CN','检修工单.取消.执行插件'); 
DELETE FROM t_evt_subscription_l WHERE FPKID = '2SP2Z33WI6YN';
INSERT INTO t_evt_subscription_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1528126972985638912,'2SP2Z33WI6YN','zh_CN','检修工单.保留.执行插件'); 
DELETE FROM t_evt_subscription_l WHERE FPKID = '2SP3+AYZP/JK';
INSERT INTO t_evt_subscription_l(FID,FPKID,FLOCALEID,FNAME) VALUES (1528127141261116416,'2SP3+AYZP/JK','zh_CN','检修工单.作废.执行插件'); 











