提交 8aa3da76 编写于 作者: zhouweidong's avatar zhouweidong

exist逻辑调整

上级 598966bc
......@@ -339,10 +339,10 @@ public class RuleItemExService extends RuleItemServiceImpl {
if(!StringUtils.isEmpty(strGroupCond)){
if(relaConn.equals("exists"))
{
strRelationResult=String.format("%s:ModelObj %s from item.getNested(\"%s\")",relaEntity,strGroupCond,relaEntity);
strRelationResult=String.format("%s:ModelObj %s from %s.getNested(\"%s\")",relaEntity,strGroupCond,relaEntity,relaEntity);
}
else if(relaConn.equals("not exists")){
strRelationResult=String.format("not(exists ModelObj %s from item.getNested(\"%s\"))",strGroupCond,relaEntity);
strRelationResult=String.format("not(exists ModelObj %s from %s.getNested(\"%s\"))",strGroupCond,relaEntity,relaEntity);
}
}
if(!StringUtils.isEmpty(strRelationResult))
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册