记得上下班打卡 | git大法好,push需谨慎

Commit 3de9471c authored by jiangxiulong's avatar jiangxiulong

add log

parent 6ddf6328
...@@ -73,7 +73,10 @@ public class KylinRefundPerformancesAdminServiceImpl { ...@@ -73,7 +73,10 @@ public class KylinRefundPerformancesAdminServiceImpl {
HashMap<String, Object> orderStatisWepay = kylinOrderTicketsMapper.getPerformanceRefundOrderStatis(targetId, paymentTypeWepay); HashMap<String, Object> orderStatisWepay = kylinOrderTicketsMapper.getPerformanceRefundOrderStatis(targetId, paymentTypeWepay);
log.info("orderStatisAlipay {}", orderStatisAlipay); log.info("orderStatisAlipay {}", orderStatisAlipay);
log.info("orderStatisWepay {}", orderStatisWepay); log.info("orderStatisWepay {}", orderStatisWepay);
BigDecimal totalPriceRefundAlipay = new BigDecimal(0); log.info("BigDecimaltest {}", new BigDecimal(0));
log.info("BigDecimaltest {}", new BigDecimal("0.00"));
log.info("BigDecimaltest {}", new BigDecimal(0.00));
BigDecimal totalPriceRefundAlipay = new BigDecimal(0.0);
Integer totalRefundNumberAlipay = 0; Integer totalRefundNumberAlipay = 0;
BigDecimal totalPriceRefundWepay = new BigDecimal(0); BigDecimal totalPriceRefundWepay = new BigDecimal(0);
Integer totalRefundNumberWepay = 0; Integer totalRefundNumberWepay = 0;
...@@ -82,12 +85,18 @@ public class KylinRefundPerformancesAdminServiceImpl { ...@@ -82,12 +85,18 @@ public class KylinRefundPerformancesAdminServiceImpl {
totalPriceRefundAlipay = (BigDecimal) orderStatisAlipay.get("total_price_refund"); totalPriceRefundAlipay = (BigDecimal) orderStatisAlipay.get("total_price_refund");
Long totalRefundNumberAlipayBigDecimal = (Long) orderStatisAlipay.get("total_refund_number"); Long totalRefundNumberAlipayBigDecimal = (Long) orderStatisAlipay.get("total_refund_number");
totalRefundNumberAlipay = totalRefundNumberAlipayBigDecimal.intValue(); totalRefundNumberAlipay = totalRefundNumberAlipayBigDecimal.intValue();
if (null == totalPriceRefundAlipay) {
totalPriceRefundAlipay = new BigDecimal(0);
}
} }
if (null != orderStatisWepay) { if (null != orderStatisWepay) {
totalPriceRefundWepay = (BigDecimal) orderStatisWepay.get("total_price_refund"); totalPriceRefundWepay = (BigDecimal) orderStatisWepay.get("total_price_refund");
Long totalRefundNumberWepayBigDecimal = (Long) orderStatisWepay.get("total_refund_number"); Long totalRefundNumberWepayBigDecimal = (Long) orderStatisWepay.get("total_refund_number");
totalRefundNumberWepay = totalRefundNumberWepayBigDecimal.intValue(); totalRefundNumberWepay = totalRefundNumberWepayBigDecimal.intValue();
if (null == totalPriceRefundWepay) {
totalPriceRefundWepay = new BigDecimal(0);
}
} }
log.info("totalPriceRefundAlipay {}", totalPriceRefundAlipay); log.info("totalPriceRefundAlipay {}", totalPriceRefundAlipay);
log.info("totalPriceRefundWepay {}", totalPriceRefundWepay); log.info("totalPriceRefundWepay {}", totalPriceRefundWepay);
......
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