--事件定义
DELETE FROM t_evt_event WHERE FID = 1220096236997167104;
INSERT INTO t_evt_event(FID,FMODIFYDATE,FTYPE,FISPREINSDATA,FSCENE,FCREATEDATE,FOPERATION,FDESCRIPTION,FENTITY,FOPERNUMBER,FSTATUS,FNUMBER,FNAME,FMODIFIER,FSOURCE,FISMODIFIED,FCREATER) VALUES (1220096236997167104,{ts'2021-08-12  00:00:00'},'custom','1','operate',{ts'2021-08-11  00:00:00'},' ',' ',' ',' ','1','pom_mftorder.closeorder',' ',8638558,' ','1',8638558); 

DELETE FROM t_evt_event_l WHERE FPKID = '1TVBQDI+C2NB';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FOPERATION,FDESCRIPTION,FNAME) VALUES (1220096236997167104,'1TVBQDI+C2NB','zh_CN',' ','生产工单关闭事件，供成本订阅','生产工单关闭事件'); 
DELETE FROM t_evt_event_l WHERE FPKID = '1TVBQDI+C2NC';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FOPERATION,FDESCRIPTION,FNAME) VALUES (1220096236997167104,'1TVBQDI+C2NC','zh_TW',' ','生產工單關閉事件，供成本訂閱','生產工單關閉事件'); 
--事件参数
DELETE FROM t_evt_eventconfig WHERE FENTRYID = 1229000436342739968;
INSERT INTO t_evt_eventconfig(FID,FCONFIGDESCRIPTION,FCONFIGTYPE,FISTRANSFER,FENTRYID,FSEQ,FCONFIGNUMBER,FISCUSTOM,FCONFIGNAME) VALUES (1220096236997167104,'返回结果类型为:枚举','{"description":"返回结果类型为:枚举","attribute":"[{\"mftorderentryids\":[1220804502756524032],\"mftorderbillnos\":[\"SCGD-20012007\"],\"entity\":\"pom_mftorder\"}]","type":"enum","ismulti":false}','1',1229000436342739968,3,'entity','1','工单标识'); 
DELETE FROM t_evt_eventconfig WHERE FENTRYID = 1220096236997167105;
INSERT INTO t_evt_eventconfig(FID,FCONFIGDESCRIPTION,FCONFIGTYPE,FISTRANSFER,FENTRYID,FSEQ,FCONFIGNUMBER,FISCUSTOM,FCONFIGNAME) VALUES (1220096236997167104,'返回结果类型为:枚举','{"description":"返回结果类型为:枚举","attribute":"[{\"mftorderentryids\":[1220804502756524032],\"mftorderbillnos\":[\"SCGD-20012007\"],\"entity\":\"pom_mftorder\"}]","type":"enum","ismulti":false}','1',1220096236997167105,1,'mftorderentryids','1','工单分录ID集合'); 
DELETE FROM t_evt_eventconfig WHERE FENTRYID = 1221532610946138112;
INSERT INTO t_evt_eventconfig(FID,FCONFIGDESCRIPTION,FCONFIGTYPE,FISTRANSFER,FENTRYID,FSEQ,FCONFIGNUMBER,FISCUSTOM,FCONFIGNAME) VALUES (1220096236997167104,'返回结果类型为:枚举','{"description":"返回结果类型为:枚举","attribute":"[{\"mftorderentryids\":[1220804502756524032],\"mftorderbillnos\":[\"SCGD-20012007\"],\"entity\":\"pom_mftorder\"}]","type":"enum","ismulti":false}','1',1221532610946138112,2,'mftorderbillnos','1','工单编号集合'); 


