Commit 676e7196 by 罗承锋

修改异常输出

parent 475ea077
......@@ -75,7 +75,6 @@ public class IntelligenceSendOrder {
List<Map<String, Object>> list1 = new ArrayList<>();
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
String currentTimeStr = "";
ORDERSEQ = order.get("kd_order_id").toString();
currentTimeStr = simpleDateFormat.format(new Date());
Wrapper<OrderView> orderViewWrapper = new EntityWrapper<>();
......@@ -84,7 +83,6 @@ public class IntelligenceSendOrder {
if (orderViewMaps != null && orderViewMaps.size() > 0) {
orderMap = orderViewMaps.get(0);
}
if (orderMap == null) {
log.info("错误记录:" + JSONObject.toJSONString(order));
log.info("订单号:" + ORDERSEQ + ",在order_view表中无记录,无法进行智能平台下单");
......@@ -224,7 +222,8 @@ public class IntelligenceSendOrder {
log.info("重复订单");
}
}catch (Exception e){
e.getMessage();
log.info("单宽下单失败");
e.printStackTrace();
}
}
......@@ -254,6 +253,7 @@ public class IntelligenceSendOrder {
}
}catch( Exception e) {
log.info(e.toString());
e.printStackTrace();
}
}
......@@ -700,7 +700,7 @@ public class IntelligenceSendOrder {
log.error("查询单宽带(预付费、移动、融合、续约、增值)产品接口异常尝试20次失误。请检查接口");
}
} catch (Exception e) {
System.out.println("单宽带下单接口异常");
log.info("单宽带下单接口异常");
e.printStackTrace();
} finally {
httpPost.releaseConnection();
......@@ -765,7 +765,7 @@ public class IntelligenceSendOrder {
log.error("查询单宽带(预付费、移动、融合、续约、增值)产品接口异常尝试20次失误。请检查接口");
}
} catch (Exception e) {
System.out.println("查询单宽带(预付费、移动、融合、续约、增值)产品接口异常");
log.info("查询单宽带(预付费、移动、融合、续约、增值)产品接口异常");
e.printStackTrace();
} finally {
httpPost.releaseConnection();
......@@ -1825,7 +1825,7 @@ public class IntelligenceSendOrder {
log.info("宽叠移下单接口,返回信息:" + httpResult);
resultDataJson = net.sf.json.JSONObject.fromObject(httpResult);
} catch (Exception e) {
System.out.println("宽叠移下单接口异常");
log.info("宽叠移下单接口异常");
e.printStackTrace();
} finally {
httpPost.releaseConnection();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment