Import
import com.google.common.collect.Lists;
use
public List<EsSort> getEsSort() {
Iterable<EsSort> all = esSortRepository.findAll();
List<EsSort> esSorts= Lists.newArrayList(all);
return esSorts;
}
Import
import com.google.common.collect.Lists;
use
public List<EsSort> getEsSort() {
Iterable<EsSort> all = esSortRepository.findAll();
List<EsSort> esSorts= Lists.newArrayList(all);
return esSorts;
}