Commit dfd84a4a authored by zhengyi's avatar zhengyi

bug修复

parent f7594049
...@@ -1072,8 +1072,10 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl ...@@ -1072,8 +1072,10 @@ public class OrderServiceImpl extends AbstractService<OrderMapper, OrderDO> impl
order.getOrderId())).findFirst().orElse(null); order.getOrderId())).findFirst().orElse(null);
CustomerDO customerDO = customerService.getById(order.getCustomerId()); CustomerDO customerDO = customerService.getById(order.getCustomerId());
order.setIsInOpenSea(customerDO.getIsInOpenSea()); if(Objects.nonNull(customerDO)) {
order.setYejiType(customerDO.getIsNew() ? 1 : 0); order.setIsInOpenSea(customerDO.getIsInOpenSea());
order.setYejiType(customerDO.getIsNew() ? 1 : 0);
}
Long oldCustomerService = null; Long oldCustomerService = null;
// 老客户经理默认为null // 老客户经理默认为null
if (Objects.nonNull(customerDO) && if (Objects.nonNull(customerDO) &&
......
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