package cn.ibizlab.trainsys.common.logic.phonelogic.xxxa;
        import java.util.Map;
        import java.util.HashMap;
        import com.alibaba.fastjson.JSONObject;
        import org.springframework.util.StringUtils;
        import org.springframework.util.ObjectUtils;
        import cn.ibizlab.trainsys.util.errors.BadRequestAlertException;
                global cn.ibizlab.trainsys.core.common.domain.Phone phonexxxadefault;
                global java.util.Map phonexxxasimplevar;
                global java.util.Map phonexxxasimplenum;
        global cn.ibizlab.trainsys.core.common.service.IPhoneService iBzSysPhoneDefaultService;
        global cn.ibizlab.trainsys.util.security.AuthenticationUser curuser;


    no-loop

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

            //逻辑处理节点[抛出异常]
            rule "throwexception1"
            ruleflow-group "phonexxxathrowexception1"
            when
            then
                        update(phonexxxadefault);//更新fact中变量值
                        update(phonexxxasimplevar);//更新fact中变量值
                        update(phonexxxasimplenum);//更新fact中变量值
            end

            //逻辑处理节点[准备参数]
            rule "prepareparam1"
            ruleflow-group "phonexxxaprepareparam1"
            when
            then
                            phonexxxadefault.set("money","1111");
                        update(phonexxxadefault);//更新fact中变量值
                        update(phonexxxasimplevar);//更新fact中变量值
                        update(phonexxxasimplenum);//更新fact中变量值
            end

            //逻辑处理节点[外部接口调用]
            rule "subsyssamethod1"
            ruleflow-group "phonexxxasubsyssamethod1"
            when
            then
                        update(phonexxxadefault);//更新fact中变量值
                        update(phonexxxasimplevar);//更新fact中变量值
                        update(phonexxxasimplenum);//更新fact中变量值
            end

            //逻辑处理节点[绑定参数]
            rule "bindparam1"
            ruleflow-group "phonexxxabindparam1"
            when
            then
                        update(phonexxxadefault);//更新fact中变量值
                        update(phonexxxasimplevar);//更新fact中变量值
                        update(phonexxxasimplenum);//更新fact中变量值
            end

            //逻辑处理节点[结束]
            rule "end1"
            ruleflow-group "phonexxxaend1"
            when
            then
                        update(phonexxxadefault);//更新fact中变量值
                        update(phonexxxasimplevar);//更新fact中变量值
                        update(phonexxxasimplenum);//更新fact中变量值
            end