@Override public List<DivFtDtl> findByFactorNoAndRangeNos(String factorNo, String[] rangeNos) { ISearch search = createSearchTemplete(); search.addSearchModeParameters(SearchMode.EQUALS, "factorNo", factorNo); search.addSearchModeParameters(SearchMode.EQUALS, "rangeNo", rangeNos); search.setFirstResult(0).setMaxResults(Integer.MAX_VALUE); search.addOrderBy("rangeNo"); return find(search); }
@Override public DivFtDtl findByFactorNo(String factorNo) { ISearch search = createSearchTemplete(); search.addSearchModeParameters(SearchMode.EQUALS, "factorNo", factorNo); return findUniqueOrNone(search); }