From 510ef80ca524c251cbbfa1c84f6169c91e61ffe7 Mon Sep 17 00:00:00 2001 From: gleimar Date: Tue, 16 Aug 2016 17:01:23 +0000 Subject: [PATCH] fixes bug#7832 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@59166 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../service/impl/FiscalImpressoraServiceImpl.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/com/rjconsultores/ventaboletos/service/impl/FiscalImpressoraServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/FiscalImpressoraServiceImpl.java index c1fe9fb43..6d6035076 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/FiscalImpressoraServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/FiscalImpressoraServiceImpl.java @@ -100,6 +100,7 @@ public class FiscalImpressoraServiceImpl implements FiscalImpressoraService { } @Override + @Transactional public void borrarTotnaofiscalEmpresa(FiscalTotnaofiscalEmpresa totnaofiscalEmpresa) { totnaofiscalEmpresa.setActivo(false); totnaofiscalEmpresa.setFecmodif(Calendar.getInstance().getTime()); @@ -109,6 +110,7 @@ public class FiscalImpressoraServiceImpl implements FiscalImpressoraService { } @Override + @Transactional(rollbackFor=BusinessException.class) public FiscalTotnaofiscalEmpresa suscribirActualizarTotnaofiscalEmpresa(FiscalTotnaofiscalEmpresa entidad) throws BusinessException { entidad.setActivo(true); entidad.setFecmodif(Calendar.getInstance().getTime()); @@ -148,6 +150,7 @@ public class FiscalImpressoraServiceImpl implements FiscalImpressoraService { } @Override + @Transactional(rollbackFor=BusinessException.class) public FiscalFormapagoEmpresa suscribirActualizarFormapagoEmpresa(FiscalFormapagoEmpresa entidad) throws BusinessException { FiscalFormapagoEmpresa item = null; @@ -177,6 +180,7 @@ public class FiscalImpressoraServiceImpl implements FiscalImpressoraService { } @Override + @Transactional(rollbackFor=BusinessException.class) public FiscalFormapagoEmpresa borrarFormapagoEmpresa(FiscalFormapagoEmpresa entidad) { entidad.setActivo(false); entidad.setFecmodif(Calendar.getInstance().getTime()); @@ -196,11 +200,13 @@ public class FiscalImpressoraServiceImpl implements FiscalImpressoraService { } @Override + @Transactional public FiscalRelgerencialEmpresa suscribirRelgerencialEmpresa(FiscalRelgerencialEmpresa entidad) { return fiscalImpressoraDAO.suscribirRelgerencialEmpresa(entidad); } @Override + @Transactional public FiscalRelgerencialEmpresa actualizacionRelgerencialEmpresa(FiscalRelgerencialEmpresa entidad) { return fiscalImpressoraDAO.actualizacionRelgerencialEmpresa(entidad); }