Correccion con bug sobre seleccion de mes

This commit is contained in:
Daniel Cortes
2019-01-08 17:50:39 -03:00
parent 5b5906d7ae
commit a00fa7b87e
3 changed files with 52 additions and 54 deletions

View File

@@ -55,7 +55,7 @@ public class SQLiteInformeMensualContentDAO extends InformeMensualContentDAO {
PreparedStatement ps = conn.prepareStatement(query);
ps.setString(1, date.withDayOfMonth(1).toString());
ps.setString(2, date.withDayOfMonth(LocalDate.now().lengthOfMonth()).toString());
ps.setString(2, date.withDayOfMonth(date.lengthOfMonth()).toString());
ResultSet rs = ps.executeQuery();
while (rs.next()) {