From 0284c6df57217a8758f82f092b162fb53997aeb3 Mon Sep 17 00:00:00 2001 From: leonardo Date: Tue, 29 Jul 2014 18:11:20 +0000 Subject: [PATCH] W2i - Parametrizar Serie por Empresa (fixed bug #5522) git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@36881 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../rjconsultores/ventaboletos/dao/SeguradoraEmpresaDAO.java | 2 +- .../dao/hibernate/SeguradoraEmpresaHibernateDAO.java | 3 +-- .../ventaboletos/service/SeguradoraEmpresaService.java | 2 +- .../service/impl/SeguradoraEmpresaServiceImpl.java | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/com/rjconsultores/ventaboletos/dao/SeguradoraEmpresaDAO.java b/src/com/rjconsultores/ventaboletos/dao/SeguradoraEmpresaDAO.java index 6c9e674f3..345df598d 100644 --- a/src/com/rjconsultores/ventaboletos/dao/SeguradoraEmpresaDAO.java +++ b/src/com/rjconsultores/ventaboletos/dao/SeguradoraEmpresaDAO.java @@ -4,5 +4,5 @@ import com.rjconsultores.ventaboletos.entidad.Empresa; import com.rjconsultores.ventaboletos.entidad.SeguradoraEmpresa; public interface SeguradoraEmpresaDAO extends GenericDAO { - public boolean existe(Empresa empresa, String serie); + public boolean existe(Empresa empresa); } diff --git a/src/com/rjconsultores/ventaboletos/dao/hibernate/SeguradoraEmpresaHibernateDAO.java b/src/com/rjconsultores/ventaboletos/dao/hibernate/SeguradoraEmpresaHibernateDAO.java index c654426ba..0e1cca8a5 100644 --- a/src/com/rjconsultores/ventaboletos/dao/hibernate/SeguradoraEmpresaHibernateDAO.java +++ b/src/com/rjconsultores/ventaboletos/dao/hibernate/SeguradoraEmpresaHibernateDAO.java @@ -28,11 +28,10 @@ public class SeguradoraEmpresaHibernateDAO extends GenericHibernateDAO{ - public boolean existe(Empresa empresa, String serie); + public boolean existe(Empresa empresa); } \ No newline at end of file diff --git a/src/com/rjconsultores/ventaboletos/service/impl/SeguradoraEmpresaServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/SeguradoraEmpresaServiceImpl.java index deb650616..b30c494a3 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/SeguradoraEmpresaServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/SeguradoraEmpresaServiceImpl.java @@ -27,8 +27,8 @@ public class SeguradoraEmpresaServiceImpl implements SeguradoraEmpresaService { return seguradoraEmpresaDAO.obtenerID(id); } - public boolean existe(Empresa empresa, String serie){ - return seguradoraEmpresaDAO.existe(empresa, serie); + public boolean existe(Empresa empresa){ + return seguradoraEmpresaDAO.existe(empresa); } @Transactional