From fb050c0dafa5363a73540dd9e52b78487e25ba0a Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期二, 09 四月 2024 17:32:46 +0800
Subject: [PATCH] fix:新增手动抬杆记录
---
src/main/java/com/boying/service/impl/CostRuleServiceImpl.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/boying/service/impl/CostRuleServiceImpl.java b/src/main/java/com/boying/service/impl/CostRuleServiceImpl.java
index af663f6..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;
@@ -513,6 +513,6 @@
public static void main(String[] args) {
- System.out.println(((30*1.0)/30)>(30/30));
+ // System.out.println(((30*1.0)/30)>(30/30));
}
}
--
Gitblit v1.9.1