From e772e9373d2dc03b1bba1da13a8cbeb46d111a94 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 26 Aug 2020 17:05:03 +0800 Subject: [PATCH] modify --- src/main/java/com/xcong/excoin/rabbit/pricequeue/OrderOperatePriceService.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/xcong/excoin/rabbit/pricequeue/OrderOperatePriceService.java b/src/main/java/com/xcong/excoin/rabbit/pricequeue/OrderOperatePriceService.java index f37ed36..2428c7b 100644 --- a/src/main/java/com/xcong/excoin/rabbit/pricequeue/OrderOperatePriceService.java +++ b/src/main/java/com/xcong/excoin/rabbit/pricequeue/OrderOperatePriceService.java @@ -51,9 +51,9 @@ Long orderId = order.getOrderId(); queue.add(new DescBigDecimal(price)); - log.info("原有:{}", JSONObject.toJSONString(orderMap)); +// log.info("原有:{}", JSONObject.toJSONString(orderMap)); removeExistOrder(type, orderId, orderMap); - log.info("删除后:{}", JSONObject.toJSONString(orderMap)); +// log.info("删除后:{}", JSONObject.toJSONString(orderMap)); if (orderMap.containsKey(price)) { // 有这个价的key List<OrderModel> list = orderMap.get(price); @@ -69,7 +69,7 @@ list.add(orderModel); orderMap.put(price, list); } - log.info("调整后:{}", JSONObject.toJSONString(orderMap)); +// log.info("调整后:{}", JSONObject.toJSONString(orderMap)); } @@ -85,10 +85,10 @@ int type = order.getType(); Long orderId = order.getOrderId(); queue.add(new AscBigDecimal(price)); - log.info("原有:{}", JSONObject.toJSONString(orderMap)); +// log.info("原有:{}", JSONObject.toJSONString(orderMap)); // 需要找到这个订单的原始的单进行处理 removeExistOrder(type, orderId, orderMap); - log.info("删除后:{}", JSONObject.toJSONString(orderMap)); +// log.info("删除后:{}", JSONObject.toJSONString(orderMap)); if (orderMap.containsKey(price)) { // 有这个价的key List<OrderModel> list = orderMap.get(price); @@ -104,7 +104,7 @@ list.add(orderModel); orderMap.put(price, list); } - log.info("调整后:{}", JSONObject.toJSONString(orderMap)); +// log.info("调整后:{}", JSONObject.toJSONString(orderMap)); } private static void removeExistOrder(Integer type, Long orderId, Map<String, List<OrderModel>> orderMap) { -- Gitblit v1.9.1