|
|
|
@ -165,4 +165,20 @@ public class ReportHqlPack {
|
|
|
|
|
|
|
|
|
|
return result.toString();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 元素名称是否存在
|
|
|
|
|
* @param brElement
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public static String packHqlBrElementName(BrElement brElement){
|
|
|
|
|
StringBuffer result = new StringBuffer();
|
|
|
|
|
|
|
|
|
|
// and
|
|
|
|
|
HqlPack.getStringEqualPack(brElement.getElementName(),"elementName",result);
|
|
|
|
|
// not
|
|
|
|
|
HqlPack.getNumNOEqualPack(brElement.getId(),"id",result);
|
|
|
|
|
|
|
|
|
|
return result.toString();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|