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

exist逻辑

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