From 07888c58174c6209740c5f3677914f6234e4a3e8 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Sat, 29 Aug 2020 14:46:08 +0800 Subject: [PATCH] modify --- src/main/java/com/xcong/excoin/utils/CalculateUtil.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/xcong/excoin/utils/CalculateUtil.java b/src/main/java/com/xcong/excoin/utils/CalculateUtil.java index 8bbce66..cbba5f0 100644 --- a/src/main/java/com/xcong/excoin/utils/CalculateUtil.java +++ b/src/main/java/com/xcong/excoin/utils/CalculateUtil.java @@ -115,6 +115,7 @@ openPrice = holdOrderEntity.getOpeningPrice(); type = holdOrderEntity.getOpeningType(); index++; + log.info("--{}, {}, {}, {}, {}", maxCnt, subCnt, openPrice, type, index); } if (index == 0) { @@ -123,14 +124,14 @@ subCnt = holdOrderEntity.getSymbolCntSale(); type = holdOrderEntity.getOpeningType(); openPrice = holdOrderEntity.getOpeningPrice(); - log.info("{}, {}, {}, {}", maxCnt, subCnt, type, openPrice); + log.info("---{}, {}, {}, {}, {}", maxCnt, subCnt, type, openPrice, index); } feeAmount = feeAmount.add(holdOrderEntity.getOpeningFeeAmount()); sku = holdOrderEntity.getSymbolSku(); } BigDecimal forceSetPrice = BigDecimal.ZERO; if (subCnt != 0) { - log.info("{}, {}, {}, {}, {}", openPrice, subCnt, sku, type, maxCnt); + log.info("--->{}, {}, {}, {}, {}", openPrice, subCnt, sku, type, maxCnt); forceSetPrice = getForceSetPrice(walletContract.getTotalBalance().subtract(feeAmount), openPrice, subCnt, sku, type, memberEntity); } -- Gitblit v1.9.1