From b3e533bf2cb91d29a55e2cd816368fc30503c768 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期三, 13 一月 2021 09:46:18 +0800
Subject: [PATCH] 优化费用显示问题
---
service-report/src/main/java/com/java110/report/bmo/reportFeeMonthStatistics/impl/GetReportFeeMonthStatisticsBMOImpl.java | 11 +++++++++++
1 files changed, 11 insertions(+), 0 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 161ee12..6706d60 100644
--- 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
@@ -279,6 +279,9 @@
totalPreferentialAmount = totalPreferentialAmount + discountPrice;
//浼樻儬閲戦
reportFeeMonthStatistics.setPreferentialAmount(reportFeeMonthStatistics.getDiscountPrice());
+ }else{
+ reportFeeMonthStatistics.setPreferentialAmount("0");
+
}
//鍑忓厤閲戦
if (!StringUtil.isEmpty(reportFeeMonthStatistics.getDiscountSmallType()) && reportFeeMonthStatistics.getDiscountSmallType().equals("2")) {
@@ -287,6 +290,8 @@
totalDeductionAmount = totalDeductionAmount + discountPrice;
//鍑忓厤閲戦
reportFeeMonthStatistics.setDeductionAmount(reportFeeMonthStatistics.getDiscountPrice());
+ }else{
+ reportFeeMonthStatistics.setDeductionAmount("0");
}
//婊炵撼閲�
if (!StringUtil.isEmpty(reportFeeMonthStatistics.getDiscountSmallType()) && reportFeeMonthStatistics.getDiscountSmallType().equals("3")) {
@@ -295,6 +300,8 @@
totalLateFee = totalLateFee + discountPrice;
//婊炵撼閲�
reportFeeMonthStatistics.setLateFee(reportFeeMonthStatistics.getDiscountPrice());
+ }else{
+ reportFeeMonthStatistics.setLateFee("0");
}
//绌虹疆鎴挎墦鎶�
if (!StringUtil.isEmpty(reportFeeMonthStatistics.getDiscountSmallType()) && reportFeeMonthStatistics.getDiscountSmallType().equals("4")) {
@@ -303,6 +310,8 @@
totalVacantHousingDiscount = totalVacantHousingDiscount + discountPrice;
//绌虹疆鎴挎墦鎶�
reportFeeMonthStatistics.setVacantHousingDiscount(reportFeeMonthStatistics.getDiscountPrice());
+ }else{
+ reportFeeMonthStatistics.setVacantHousingDiscount("0");
}
//绌虹疆鎴垮噺鍏�
if (!StringUtil.isEmpty(reportFeeMonthStatistics.getDiscountSmallType()) && reportFeeMonthStatistics.getDiscountSmallType().equals("5")) {
@@ -311,6 +320,8 @@
totalVacantHousingReduction = totalVacantHousingReduction + discountPrice;
//绌虹疆鎴垮噺鍏�
reportFeeMonthStatistics.setVacantHousingReduction(reportFeeMonthStatistics.getDiscountPrice());
+ }else{
+ reportFeeMonthStatistics.setVacantHousingReduction("0");
}
if (FeeDto.PAYER_OBJ_TYPE_ROOM.equals(reportFeeMonthStatistics.getPayerObjType())) {
--
Gitblit v1.8.0