kongdeqiang
2023-09-07 40078f05ec5ada573d91fe17cbf8207bab115153
修改
1个文件已修改
4 ■■■■ 已修改文件
src/main/java/com/boying/service/impl/CostRuleServiceImpl.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;