Commit 92aba2ff authored by Smile's avatar Smile

空运渠道免泡重判断方式修改,泡重重量与渠道免泡重量比较,改为泡重重量-实际重量与渠道免泡重量比较

parent 4bac6a65
......@@ -1800,7 +1800,7 @@ public class OrderWarehouseInServiceImpl extends AbstractService<OrderWarehouseI
applicationContext.publishEvent(event);
}
BigDecimal bubbleExemptWeight = event.getBubbleExemptWeight();
if (bubbleExemptWeight!=null && paoKg.compareTo(bubbleExemptWeight)<0){
if (bubbleExemptWeight!=null && paoKg.subtract(weightSum).compareTo(bubbleExemptWeight)<0){
List<ApplyInfoVO> infoVOList = new ArrayList<>();
ApplyInfoVO infoVO = new ApplyInfoVO();
infoVO.setName("空运渠道设置免收泡重");
......
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