@Override public List<DivFtDtl> findByFactorNos(String[] factorNos) { SearchSetting search = createSearchTemplete(); search.addSearchModeParameters(SearchMode.EQUALS, "factorNo", factorNos); search.setFirstResult(0).setMaxResults(Integer.MAX_VALUE); search.addOrderBy("codeOrder"); return find(search); }
@Override public DivFtDtl findByFactorNoAndRangeNo(String factorNo, String rangeNos) { SearchSetting 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 findUniqueOrNone(search); }