leonardo 2017-01-11 17:07:17 +00:00
parent cc4b2f10b9
commit 7b78b14d1d
1 changed files with 4 additions and 4 deletions

View File

@ -168,7 +168,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
String strFornecedor = "";
try{
strFornecedor = iag.getCodigoFornecedorWithIDWS(entidad.getNumPuntoVenta().toString());
log.debug("Retorno consulta fornecedor ws: " + strFornecedor);
log.info("Retorno consulta fornecedor ws: " + strFornecedor);
} catch (RemoteException e) {
log.error("", e.toString());
}
@ -214,7 +214,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
fornecedor.setIDWS(entidad.getNumPuntoVenta());
try{
String retornoAG = iag.incluiFornecedor(fornecedor);
log.debug(retornoAG);
log.info(retornoAG);
} catch (RemoteException e) {
entidad.setIndIntegradoAG(false);
entidad.setMotivoNaoIntegradoAG(e.getMessage());
@ -240,7 +240,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
String cliStr = "";
try{
cliStr = iag.getClienteWithIDWS(entidad.getNumPuntoVenta().toString());
log.debug("Retorno consulta cliente ws: " + cliStr);
log.info("Retorno consulta cliente ws: " + cliStr);
} catch (RemoteException e) {
log.error("", e.toString());
}
@ -308,7 +308,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
cli.getServicosCliente().setCRS_Codigo("");
try{
String retornoAG = iag.incluiCliente(cli);
log.debug(retornoAG);
log.info(retornoAG);
} catch (RemoteException e) {
entidad.setIndIntegradoAG(false);
entidad.setMotivoNaoIntegradoAG(e.getMessage());