fixes bug #8233
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@62509 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
756ce27ab4
commit
630da56865
|
@ -6,7 +6,6 @@ import java.util.Map;
|
|||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.zkoss.util.resource.Labels;
|
||||
|
@ -17,8 +16,8 @@ import org.zkoss.zul.Textbox;
|
|||
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MaskUtil;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
|
@ -32,9 +31,6 @@ public class BusquedaConferenciaComissaoController extends MyGenericForwardCompo
|
|||
private static final long serialVersionUID = 1L;
|
||||
// private static final Logger log = LoggerFactory.getLogger(BusquedaConferenciaComissaoController.class);
|
||||
|
||||
@Autowired
|
||||
private EmpresaService empresaService;
|
||||
|
||||
private Textbox txtCompetencia;
|
||||
private MyComboboxPuntoVenta cmbPuntoVenta;
|
||||
private PuntoVenta puntoVenta;
|
||||
|
@ -45,7 +41,8 @@ public class BusquedaConferenciaComissaoController extends MyGenericForwardCompo
|
|||
public void doAfterCompose(Component comp) throws Exception {
|
||||
super.doAfterCompose(comp);
|
||||
aplicarMascara();
|
||||
lsEmpresas = empresaService.obtenerTodos();
|
||||
// lsEmpresas = empresaService.obtenerTodos();
|
||||
lsEmpresas = UsuarioLogado.getUsuarioLogado().getEmpresa();
|
||||
txtCompetencia.focus();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue