Invocamos los métodos
Date firstDate = DateUtil.primerDiaDelMesEnFecha(2019, 1); Date lastDate = DateUtil.getDateLastOfMonth(2019, 1);
Filtramos
ordenList = ordenRepository.filterBetweenDatePagination("activo", "si", "fecha", firstDate, "fecha", lastDate, page, rowPage, new Document("idorden", -1));
Last updated 6 years ago
Was this helpful?