Commit 01258088 authored by zhengyi's avatar zhengyi

卸柜bug修复

parent 4e60adf3
......@@ -3763,7 +3763,7 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
//看看收货人是否是送货上门
OrderConsigneeBackVO orderConsigneeDO = backVO.getConsigneeVO();
//送货方式,2-送货上门
Integer harvestMethod = orderConsigneeDO.getHarvestMethod();
Integer harvestMethod = Objects.nonNull(orderConsigneeDO) && Objects.nonNull(orderConsigneeDO.getHarvestMethod()) ? orderConsigneeDO.getHarvestMethod() : backVO.getHarvestMethod();
if (harvestMethod == null || harvestMethod != 2) continue;
//创建订单异常
......
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