wilian 2015-12-30 12:37:51 +00:00
parent afd5006d20
commit 601016881c
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ public class ConferenciaComissaoHibernateDAO extends GenericHibernateDAO<Confere
private void carregarPuntoVentas(List<ConferenciaComissaoVO> lsConferencias, String competencia, Empresa empresa, PuntoVenta puntoVenta) throws BusinessException { private void carregarPuntoVentas(List<ConferenciaComissaoVO> lsConferencias, String competencia, Empresa empresa, PuntoVenta puntoVenta) throws BusinessException {
try { try {
if(puntoVenta != null) { if(puntoVenta != null && puntoVenta.getPuntoventaId() > -1) {
Set<Integer> diasSemMovimentos = DateUtil.carregarDiasCompetencia(competencia); Set<Integer> diasSemMovimentos = DateUtil.carregarDiasCompetencia(competencia);
ConferenciaComissaoVO conferenciaComissao = new ConferenciaComissaoVO(); ConferenciaComissaoVO conferenciaComissao = new ConferenciaComissaoVO();
conferenciaComissao.setPuntoventaId(puntoVenta.getPuntoventaId()); conferenciaComissao.setPuntoventaId(puntoVenta.getPuntoventaId());