提交 bca574de 编写于 作者: ibiz4j's avatar ibiz4j

规则文件错误

上级 e17a411e
......@@ -170,8 +170,10 @@ public class RuleItemExService extends RuleItemServiceImpl {
param.put("keyvaluefield_d",StringUtils.isEmpty(strKeyvaluefield)?dataModel.getDataModelName()+".$K()":dataModel.getDataModelName()+".$(\""+strKeyvaluefield+"\")");
if (!StringUtils.isEmpty(strBusinesscatfield)) {
param.put("businesscatfield", getFieldset(strBusinesscatfield, modelset));
param.put("businesscatfield_d", getStaticFieldset(et.getBusinessCat(), modelset));
} else {
param.put("businesscatfield", getStaticFieldset(et.getBusinessCat(), modelset));
param.put("businesscatfield_d", getStaticFieldset(et.getBusinessCat(), modelset));
}
LinkedHashSet<String> cond = new LinkedHashSet();
......
......@@ -19,5 +19,5 @@ activation-group "<#if ruleid??>${ruleid}</#if>"
when
${datamodelname}:ModelObj( )
then
BaseService.saveResult(${datamodelname},"<#if ruleid??>${ruleid}</#if>","<#if rulecode??>${rulecode}</#if>",null,null,${businesscatfield},0,${keyvaluefield_d},null,${dimfield_d},null,null,null,null);
BaseService.saveResult(${datamodelname},"<#if ruleid??>${ruleid}</#if>","<#if rulecode??>${rulecode}</#if>",null,null,${businesscatfield_d},0,${keyvaluefield_d},null,${dimfield_d},null,null,null,null);
end
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册