fixes bug #7438
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@56008 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
b002bbe780
commit
5b38d13243
|
@ -15,7 +15,6 @@ import javax.persistence.Basic;
|
|||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.FetchType;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
|
|
|
@ -2,10 +2,8 @@ package com.rjconsultores.ventaboletos.service;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.SecretariaEmpresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.TipoEventoExtra;
|
||||
import com.rjconsultores.ventaboletos.entidad.TipoEventoExtraEmpresa;
|
||||
import com.rjconsultores.ventaboletos.exception.ValidacionCampoException;
|
||||
|
||||
public interface TipoEventoExtraEmpresaService extends GenericService<TipoEventoExtraEmpresa, Integer> {
|
||||
public List<TipoEventoExtraEmpresa> buscarPorTipoEventoExtra(TipoEventoExtra tipoeventoextra);
|
||||
|
|
|
@ -53,10 +53,6 @@ public class TipoEventoExtraEmpresaServiceImpl implements TipoEventoExtraEmpresa
|
|||
|
||||
@Transactional
|
||||
public void borrar(TipoEventoExtraEmpresa entidad) {
|
||||
entidad.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||
entidad.setFecmodif(Calendar.getInstance().getTime());
|
||||
entidad.setActivo(Boolean.FALSE);
|
||||
|
||||
tipoEventoExtraEmpresaDAO.actualizacion(entidad);
|
||||
tipoEventoExtraEmpresaDAO.borrar(entidad);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue