Commit ef59a209 by ping.wu

Merge branches 'feature/20211014_餐盒费规则配置_wuping' and 'master' of…

Merge branches 'feature/20211014_餐盒费规则配置_wuping' and 'master' of http://gitlab.freemud.com/order-group-application/order-group
parents ad5ae4f1 aa5238e0
...@@ -54,7 +54,7 @@ public class CommonFunctionHandle { ...@@ -54,7 +54,7 @@ public class CommonFunctionHandle {
collectTypes.sort((p1, p2) -> p2.getOrderAmount() - p1.getOrderAmount()); collectTypes.sort((p1, p2) -> p2.getOrderAmount() - p1.getOrderAmount());
newPackAmount = 0L; newPackAmount = 0L;
for (PackAmountConfig.CollectType collectType: collectTypes){ for (PackAmountConfig.CollectType collectType: collectTypes){
if(totalAmount > collectType.getOrderAmount()){ if(totalAmount >= collectType.getOrderAmount()){
newPackAmount = collectType.getFee().longValue(); newPackAmount = collectType.getFee().longValue();
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment