From 890d242d8b36aecd36c4a5f506384a08ea7b12a6 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期五, 08 九月 2023 20:27:51 +0800
Subject: [PATCH] 优化代码
---
service-report/src/main/java/com/java110/report/bmo/reportFeeMonthStatistics/impl/GetReportFeeMonthStatisticsBMOImpl.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/service-report/src/main/java/com/java110/report/bmo/reportFeeMonthStatistics/impl/GetReportFeeMonthStatisticsBMOImpl.java b/service-report/src/main/java/com/java110/report/bmo/reportFeeMonthStatistics/impl/GetReportFeeMonthStatisticsBMOImpl.java
index 67f4c8e..918b58e 100755
--- a/service-report/src/main/java/com/java110/report/bmo/reportFeeMonthStatistics/impl/GetReportFeeMonthStatisticsBMOImpl.java
+++ b/service-report/src/main/java/com/java110/report/bmo/reportFeeMonthStatistics/impl/GetReportFeeMonthStatisticsBMOImpl.java
@@ -911,7 +911,7 @@
startTime = (Date) paramIn.get("startTime");
endTime = (Date) paramIn.get("endTime");
BigDecimal money = (BigDecimal) paramIn.get("oweAmount");
- double month = Math.ceil(computeFeeSMOImpl.dayCompare(startTime, endTime));
+ double month = Math.ceil(DateUtil.dayCompare(startTime, endTime));
if (month < 1) {
paramIn.put("btAmount", 0);
paramIn.put("bfAmount", 0);
@@ -924,7 +924,7 @@
if (startTime.getTime() < curStart.getTime()) {
BigDecimal btAmountDec = monthAmount.multiply(new BigDecimal(curMonth)).setScale(2, BigDecimal.ROUND_HALF_EVEN);
paramIn.put("btAmount", btAmountDec.doubleValue());
- double preMonth = Math.ceil(computeFeeSMOImpl.dayCompare(startTime, curStart));
+ double preMonth = Math.ceil(DateUtil.dayCompare(startTime, curStart));
BigDecimal bfAmountDec = monthAmount.multiply(new BigDecimal(preMonth)).setScale(2, BigDecimal.ROUND_HALF_EVEN);
paramIn.put("bfAmount", bfAmountDec.doubleValue());
continue;
--
Gitblit v1.8.0