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