package cn.ibizlab.businesscentral.base.logic.accountlogic.active; import java.util.Map; import java.util.HashMap; import com.alibaba.fastjson.JSONObject; global cn.ibizlab.businesscentral.core.base.domain.Account accountactivedefault; global cn.ibizlab.businesscentral.core.base.service.IAccountService accountservice; global cn.ibizlab.businesscentral.core.base.service.IAccountService iBzSysAccountDefaultService; global cn.ibizlab.businesscentral.util.security.AuthenticationUser curuser; no-loop //逻辑处理节点[更新客户状态] rule "deaction1" ruleflow-group "accountactivedeaction1" when then accountservice.update(accountactivedefault); update(accountactivedefault);//更新fact中变量值 end //逻辑处理节点[开始] rule "begin" ruleflow-group "accountactivebegin" when then end //逻辑处理节点[准备参数] rule "prepareparam1" ruleflow-group "accountactiveprepareparam1" when then accountactivedefault.set("statuscode","1"); update(accountactivedefault);//更新fact中变量值 end