Se a cambiado la organizacion de las ventanas y se creo la vista de estado resultado junto con su modelo

This commit is contained in:
Daniel Cortes
2019-02-15 19:24:32 -03:00
parent 6388285108
commit ea5bccdaba
21 changed files with 2307 additions and 21 deletions

View File

@@ -35,6 +35,7 @@ import danielcortes.xyz.models.tipo_ingreso.TipoIngresoDAO;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.time.YearMonth;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
@@ -61,7 +62,12 @@ public abstract class IngresoDAO {
public abstract int getTotalIngreso(Caja caja);
List<Ingreso> ingresosFromResultSet(ResultSet rs) throws SQLException {
public abstract int getTotalIngresoMes(YearMonth mes);
public abstract int getTotalExentasMes(YearMonth mes);
List<Ingreso> ingresosFromResultSet(ResultSet rs) throws SQLException {
ArrayList<Ingreso> ingresosList = new ArrayList<>();
while (rs.next()) {
int tipoIngresoId = rs.getInt("tipo_ingreso_id");