Commit aa5238e0 by ping.wu

订单金额等于餐盒费条件

parent 1f513d1d
......@@ -54,7 +54,7 @@ public class CommonFunctionHandle {
collectTypes.sort((p1, p2) -> p2.getOrderAmount() - p1.getOrderAmount());
newPackAmount = 0L;
for (PackAmountConfig.CollectType collectType: collectTypes){
if(totalAmount > collectType.getOrderAmount()){
if(totalAmount >= collectType.getOrderAmount()){
newPackAmount = collectType.getFee().longValue();
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