local itIn = CIntent();
    itIn:set('flow_status', TN_FAULT_FLOW_CANCEL);--事件流程,TN_FAULT_FLOW_CANCEL为取消
    itIn:set('fault_id', '102');--事件id号,系统定义
    itIn:set('fault_record_id', '1201');--被处理事件记录的唯一id
    itIn:set('user_id', '30');--取消人id

    local iRet = db:command('plugin.event_server.event', itIn:toString(), itOut);--发送事件命令,也可使用busi:sendEvent(itIn, itOut)
    if iRet < 0 then
        print('取消失败 ');
        return;
    end
Copyright © TouchNet 2015 all right reserved,powered by Gitbook最后修订时间: 2022-06-21 09:21:04

results matching ""

    No results matching ""