webcad拆单新增部件房名、柜名

This commit is contained in:
gaoqr
2026-07-10 17:24:57 +08:00
parent 6a59f29160
commit 34cc1db663
@@ -1493,9 +1493,13 @@ public class WebCadOrderImportFactory {
Integer cadGroupId = block.getComponentId();
Long plateComponentId = null;
if (ObjectUtil.isNotNull(cadGroupId)) {
OrderComponentDO component = componentGroupMap.get(cadGroupId);
if (ObjectUtil.isNotNull(component)) {
plateComponentId = component.getId();
OrderComponentDO componentDO = componentGroupMap.get(cadGroupId);
if (ObjectUtil.isNotNull(componentDO)) {
plateComponentId = componentDO.getId();
componentDO.setBodyId(orderBodyDO.getId());
componentDO.setRoomName(orderBodyDO.getRoomName());
componentDO.setBodyName(orderBodyDO.getName());
}
}