--财务应付 事件定义
DELETE FROM t_evt_event WHERE FID = 1952342841493574656;
INSERT INTO t_evt_event(FID,FMODIFYDATE,FTYPE,FISPREINSDATA,FSCENE,FCREATEDATE,FOPERATION,FDESCRIPTION,FENTITY,FOPERNUMBER,FSTATUS,FPASSOPERPARAM,FNUMBER,FNAME,FMODIFIER,FSOURCE,FNUMBERVIEW,FISMODIFIED,FCREATER) VALUES (1952342841493574656,{ts'2024-05-17  00:00:00'},'cosmic','0','operate',{ts'2024-05-17  00:00:00'},'保存',' ','ap_finapbill','save','1','0','ap_finapbill.save','财务应付单.保存',13466739,'+HKZHSKFXOX','ap_finapbill.save','1',13466739);

DELETE FROM t_evt_event_l WHERE FPKID = '43TGVWNFV16=';
INSERT INTO t_evt_event_l(FID,FPKID,FLOCALEID,FOPERATION,FDESCRIPTION,FNAME) VALUES (1952342841493574656,'43TGVWNFV16=','zh_CN','保存',' ','财务应付单.保存');
--事件订阅
DELETE FROM t_evt_subscription WHERE FID = 2081262336072492032;
INSERT INTO t_evt_subscription(FMODIFYDATE,FSERVICENUMBER,FSEQUENCE,FEXECUTORVALUE,FSERVICECONFIG,FEVENT,FERRORNOTIFY,FEVENTNUMBER,FISMODIFIED,FEXECUTIONSTRATEGY,FTIMINGSTRATEGY,FID,FISPREINSDATA,FCONDITION,FCREATEDATE,FISCONCURRENT,FSTATUS,FNOTIFYTEXT,FSERVICE,FNUMBER,FNAME,FEXPRESSION,FMODIFIER,FAPPID,FEXECUTOR,FERRORSTRATEGY,FCREATER,FEVENTSPLITCONFIG) VALUES ({ts'2024-11-11  00:00:00'},'executeOperation',0,' ','{"relationdesc":"执行当前实体的操作。","optype":"cosmic","entityrange":"currententity","operationname":"跨租户关联关系修复","filtergridap":"{\"filterRow\":[{\"id\":\"4IN3Y0J1+UGB\",\"leftBracket\":\"\",\"compareType\":\"105\",\"fieldName\":\"iswrittenoff\",\"rightBracket\":\"\",\"logic\":\"0\",\"value\":[{\"id\":\"4IN3Y0J1+V4L\",\"value\":\"1\"}],\"baseDataIds\":[],\"lock\":false}],\"forList\":false}","evententity":"ap_finapbill","operation":"ctbotprelationrepair","operateparamsconf":""}',1952342841493574656,' ','ap_finapbill.save','1',' ',' ',2081262336072492032,'0','{"elementid":"","expression":"${ model.iswrittenoff == 1 }","entryentity":[{"valuetype":"commVal","leftbracket":"","rightbracket":"","isHideExp":false,"id":"2081262070757597184","paramnumber":"model.iswrittenoff","logic":"&&","operation":"==","value":"1","seq":0}],"showtext":{"GLang":"执行条件","zh_CN":"执行条件"},"property":"EventConfig","description":{"zh_CN":""},"validtime":null,"type":"exeConditionRule"}',{ts'2024-11-11  00:00:00'},'1','0',' ',915117758415374336,'ap_finapbill.CtBotpRelationRepair','财务应付单.冲销单构建跨租户关联关系','${ model.iswrittenoff == 1 }',13466739,' ',' ','retry',13466739,' ');

DELETE FROM t_evt_subscription_l WHERE FPKID = '4IN3Y0MS0F5V';
INSERT INTO t_evt_subscription_l(FID,FPKID,FLOCALEID,FNOTIFYTEXT,FNAME) VALUES (2081262336072492032,'4IN3Y0MS0F5V','zh_CN',' ','财务应付单.冲销单构建跨租户关联关系');
-- DELETE FROM t_evt_subscription_l WHERE FPKID = '4IN3Y0MS0F5W';
-- INSERT INTO t_evt_subscription_l(FID,FPKID,FLOCALEID,FNOTIFYTEXT,FNAME) VALUES (2081262336072492032,'4IN3Y0MS0F5W','zh_TW',' ','財務應付單.衝銷單構建跨租戶關聯關係');