fixes bug #7000
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@51673 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
afd5006d20
commit
601016881c
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue