if (laborderConditions.getBalanceStatus() != null) { if (laborderConditions.getBalanceStatus().equalsIgnoreCase("Open")) { criteria.add(Restrictions .sqlRestriction("IFNULL(amount,0)=IFNULL(balance,0)")); } }
No comments:
Post a Comment