package cn.ibizlab.businesscentral.sales.logic.leadlogic.unable;

import java.util.Map;
import java.util.HashMap;
import com.alibaba.fastjson.JSONObject;
global cn.ibizlab.businesscentral.core.sales.domain.Lead leadunabledefault;
global cn.ibizlab.businesscentral.core.sales.service.ILeadService leadservice;
global cn.ibizlab.businesscentral.core.sales.service.ILeadService iBzSysLeadDefaultService;
global cn.ibizlab.businesscentral.util.security.AuthenticationUser curuser;

no-loop

//逻辑处理节点[更新潜在顾客状态]
rule "deaction1"
ruleflow-group "leadunabledeaction1"
    when
    then
    leadservice.update(leadunabledefault);
    update(leadunabledefault);//更新fact中变量值
    end

//逻辑处理节点[准备参数]
rule "prepareparam1"
ruleflow-group "leadunableprepareparam1"
    when
    then
    leadunabledefault.set("statuscode","5");
    update(leadunabledefault);//更新fact中变量值
    end

//逻辑处理节点[开始]
rule "begin"
ruleflow-group "leadunablebegin"
    when
    then
    end