-- 事件定义 pur_order.sendmsgtosup
DELETE FROM t_evt_event WHERE fid=1235540838755433472;
INSERT INTO t_evt_event (fid, fnumber, ftype, fentity, fsource, fopernumber, fscene, fstatus, fcreater, fmodifier, fcreatedate, fmodifydate, fname, foperation, fdescription, fispreinsdata, fismodified) VALUES (1235540838755433472, 'pur_order.sendmsgtosup', 'cosmic', 'pur_order', 'eae607fb000143ac', 'sendmsgtosup', 'operate', '1', 1162846886281992192, 1162846886281992192, {ts'2021-09-01 17:10:38'}, {ts'2021-09-01 21:05:55'}, ' ', '订单同步发送消息', ' ', '1', '1');
DELETE FROM t_evt_event_l WHERE fpkid='1VRBGYY0MLVY';
INSERT INTO t_evt_event_l (fpkid, fid, flocaleid, fname, foperation, fdescription) VALUES ('1VRBGYY0MLVY', 1235540838755433472, 'zh_CN', '协同采购订单.订单同步发送消息', ' ', ' ');

-- 事件订阅 srm_pur_order.sendmsgtosup.sendMsg
DELETE FROM t_evt_subscription WHERE fid=1236154076660593664;
INSERT INTO t_evt_subscription (fid, fevent, fservice, fserviceconfig, fnumber, fisconcurrent, fstatus, fexpression, fcondition, ferrorstrategy, ferrornotify, fsequence, ftimingstrategy, feventnumber, fservicenumber, fcreater, fcreatedate, fmodifier, fmodifydate, fname, fnotifytext, fexecutor, fexecutorvalue, fispreinsdata, fismodified) VALUES (1236154076660593664, 1235540838755433472, 920966216397414400, '{"receivervalue":"[{\"valueshowtext\":\"{\\\"appid\\\":\\\"pur\\\",\\\"class\\\":\\\"kd.scm.pur.common.util.SendMsgToSupSpecUsers\\\"}\",\"type\":\"Plugin\",\"class\":\"{\\\"appid\\\":\\\"pur\\\",\\\"class\\\":\\\"kd.scm.pur.common.util.SendMsgToSupSpecUsers\\\"}\"}]","receiver":"插件：{\"appid\":\"pur\",\"class\":\"kd.scm.pur.common.util.SendMsgToSupSpecUsers\"}","urlvalue":"{\"formId\":\"scp_order\",\"mob_formId\":\"mobsp_purorderview\"}","notifytype":",sms,email,","url":"http://localhost:8080/ierp/integration/yzjShareOpen.do?formId=scp_order&mb_formId=mobsp_purorderview&pkId=0&accountId=1150088256818250752","content":"{\"title\":\"【订单通知】\",\"content\":\"您有新的订单，请及时处理。\\n采购组织：{model.org.name}\\n订单编号：{billno}\"}"}', 'srm_pur_order.sendmsgtosup.sendMsg', '1', '0', ' ', ' ', 'retry', ' ', 0, ' ', 'pur_order.sendmsgtosup', 'sendMsg', 1162846886281992192, {ts'2021-09-02 13:33:09'}, 1162846886281992192, {ts'2021-10-25 20:27:31'}, '采购订单消息.发送给供应商', ' ', ' ', ' ', '1', '1');

DELETE FROM t_evt_subscription_l WHERE fpkid='1VU=1LF1S/0T';
INSERT INTO t_evt_subscription_l (fpkid, fid, flocaleid, fname, fnotifytext) VALUES ('1VU=1LF1S/0T', 1236154076660593664, 'zh_CN', '采购订单消息.发送给供应商', ' ');