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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user