edgar 2016-06-16 15:41:07 +00:00
parent 899e4e8fdc
commit fc00d436ca
1 changed files with 7 additions and 0 deletions

View File

@ -8,6 +8,7 @@ import com.rjconsultores.ventaboletos.dao.ConductorDAO;
import com.rjconsultores.ventaboletos.dao.EmpleadoDAO; import com.rjconsultores.ventaboletos.dao.EmpleadoDAO;
import com.rjconsultores.ventaboletos.entidad.Conductor; import com.rjconsultores.ventaboletos.entidad.Conductor;
import com.rjconsultores.ventaboletos.entidad.Empleado; import com.rjconsultores.ventaboletos.entidad.Empleado;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.service.EmpleadoService; import com.rjconsultores.ventaboletos.service.EmpleadoService;
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado; import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
import java.util.Calendar; import java.util.Calendar;
@ -104,4 +105,10 @@ public class EmpleadoServiceImpl implements EmpleadoService {
public List<Empleado> pesquisaClave(String empleadoClave) { public List<Empleado> pesquisaClave(String empleadoClave) {
return empleadoDAO.pesquisaClave(empleadoClave); return empleadoDAO.pesquisaClave(empleadoClave);
} }
@Override
public List<Empleado> pesquisaEmpresa(Empresa empresa) {
return empleadoDAO.pesquisaEmpresa(empresa.getEmpresaId());
}
} }