java110 5 年 前
コミット
26ecb6092c
共有1 個のファイルを変更した4 個の追加4 個の削除を含む
  1. 4 4
      service-report/src/main/java/com/java110/report/smo/impl/GeneratorFeeMonthStatisticsInnerServiceSMOImpl.java

+ 4 - 4
service-report/src/main/java/com/java110/report/smo/impl/GeneratorFeeMonthStatisticsInnerServiceSMOImpl.java

@@ -387,8 +387,8 @@ public class GeneratorFeeMonthStatisticsInnerServiceSMOImpl implements IGenerato
      */
     private double getOweAmount(ReportFeeDto tmpReportFeeDto, double receivableAmount, double receivedAmount) {
 
-        return receivableAmount;
 
+        return receivableAmount;
 
     }
 
@@ -423,14 +423,14 @@ public class GeneratorFeeMonthStatisticsInnerServiceSMOImpl implements IGenerato
             return 0.0;
         }
 
-        if (FeeDto.FEE_FLAG_ONCE.equals(tmpReportFeeDto.getFeeTypeCd())) {
+        if (FeeDto.FEE_FLAG_ONCE.equals(tmpReportFeeDto.getFeeFlag())) {
             return feePrice;
         }
         OwnerCarDto ownerCarDto = new OwnerCarDto();
         ownerCarDto.setCommunityId(tmpReportFeeDto.getCommunityId());
         ownerCarDto.setCarId(tmpReportFeeDto.getCarId());
         List<OwnerCarDto> ownerCarDtos = ownerCarInnerServiceSMOImpl.queryOwnerCars(ownerCarDto);
-        if(ownerCarDtos == null || ownerCarDtos.size() < 1){
+        if (ownerCarDtos == null || ownerCarDtos.size() < 1) {
             return 0.0;
         }
         Date endTime = ownerCarDtos.get(0).getEndTime();
@@ -476,7 +476,7 @@ public class GeneratorFeeMonthStatisticsInnerServiceSMOImpl implements IGenerato
             return 0.0;
         }
 
-        if (FeeDto.FEE_FLAG_ONCE.equals(tmpReportFeeDto.getFeeTypeCd())) {
+        if (FeeDto.FEE_FLAG_ONCE.equals(tmpReportFeeDto.getFeeFlag())) {
             return feePrice;
         }