From acf352921487e857810a943b008121e33404e9ae Mon Sep 17 00:00:00 2001
From: kongdeqiang <kongdeqiang960204@163.com>
Date: 星期二, 15 四月 2025 16:56:50 +0800
Subject: [PATCH] fix:白名单新增bug
---
src/main/java/com/boying/service/impl/CostRuleServiceImpl.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/boying/service/impl/CostRuleServiceImpl.java b/src/main/java/com/boying/service/impl/CostRuleServiceImpl.java
index b8c5353..55119b7 100644
--- a/src/main/java/com/boying/service/impl/CostRuleServiceImpl.java
+++ b/src/main/java/com/boying/service/impl/CostRuleServiceImpl.java
@@ -152,10 +152,10 @@
//鍏ㄩ儴澶勪簬绗簩鏃堕棿娈�
double v = money3(costRule,endTime.getTime() - startTime.getTime(),costRule.getCost2(),costRule.getMaxCost2())+sum;
if(dynum == 0){
- if((v + 2.5) <costRule.getMaxCost1()){
+ if((v + 2.5) <costRule.getMaxCost2()){
return v + 2.5;
}else {
- return costRule.getMaxCost1();
+ return costRule.getMaxCost2();
}
}else {
return v;
--
Gitblit v1.9.1