Browse Source

feat(all): 修改商家端配送作业系统报错问题

1 处理商家端作业是仓库没有事业线报错问题
visual
zhaoqiaobo 3 months ago
parent
commit
e143ad4f1f
  1. 4
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/feign/BasicdataWarehouseClient.java

4
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/feign/BasicdataWarehouseClient.java

@ -264,7 +264,9 @@ public class BasicdataWarehouseClient implements IBasicdataWarehouseClient {
} else {
Long parentId = dept.getParentId();
Dept parentDept = deptClient.findEntityById(parentId);
warehouseEntity.setBusinessLine(parentDept.getDeptName());
if(ObjectUtil.isNotEmpty(parentDept)){
warehouseEntity.setBusinessLine(parentDept.getDeptName());
}
}
}
}

Loading…
Cancel
Save