kongdeqiang
2023-09-21 61fae74b4c77a51e77588c741a70f0872ba34ceb
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;