leonardo 2016-05-16 17:11:00 +00:00
parent b002bbe780
commit 5b38d13243
3 changed files with 1 additions and 8 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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);
}
}