Pārlūkot izejas kodu

优化 时间代码

java110 5 gadi atpakaļ
vecāks
revīzija
4023de1e38

+ 1 - 1
service-fee/src/main/java/com/java110/fee/discount/impl/LateFeeByMonthRule.java

@@ -82,7 +82,7 @@ public class LateFeeByMonthRule implements IComputeDiscount {
             return computeDiscountDto;
         }
         //查询费用
-        Double month = computeFeeSMOImpl.dayCompare(curTime, endTime);
+        Double month = computeFeeSMOImpl.dayCompare(endTime, curTime);
 
         double price = computeFeeSMOImpl.getFeePrice(feeDtos.get(0));