Browse Source

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

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

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

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

Loading…
Cancel
Save