gleimar 2015-05-04 17:14:22 +00:00
parent 38871db89a
commit bb21b064f1
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ public class ImportarPlanilhaController extends MyGenericForwardComposer {
log.info("qtd age:"+listpv.size()); log.info("qtd age:"+listpv.size());
int i = 1; int i = 1;
int qtdOk= 1;
for (PuntoVenta pv : listpv) { for (PuntoVenta pv : listpv) {
log.info("pos:"+i++); log.info("pos:"+i++);
@ -79,6 +80,7 @@ public class ImportarPlanilhaController extends MyGenericForwardComposer {
try { try {
atualizarEntidade(pv); atualizarEntidade(pv);
log.info("qtdOk:"+qtdOk++);
} catch (IntegracionException e) { } catch (IntegracionException e) {
if (e.getLocalizedMessage() != null && (e.getLocalizedMessage().startsWith(Atributos.MSG_ERRO_GENERICA))){ if (e.getLocalizedMessage() != null && (e.getLocalizedMessage().startsWith(Atributos.MSG_ERRO_GENERICA))){
log.error("erro integra pv: "+pv.getPuntoventaId(),e); log.error("erro integra pv: "+pv.getPuntoventaId(),e);