|
|
|
@ -129,10 +129,12 @@ public class IotVisualComponentServiceImpl extends BaseServiceImpl<IotVisualComp |
|
|
|
|
|
|
|
dtoPageData.getList().forEach(temp->{ |
|
|
|
IotVisualGroupEntity group = iotVisualGroupService.getById(temp.getGroupId()); |
|
|
|
temp.setGroupName(group.getName()); |
|
|
|
temp.setGroupBusinessName(group.getBusinessName()); |
|
|
|
temp.setGroupSort(group.getSort()); |
|
|
|
temp.setGroupBSort(group.getBsSort()); |
|
|
|
if(ObjectUtils.isNotEmpty(group)){ |
|
|
|
temp.setGroupName(group.getName()); |
|
|
|
temp.setGroupBusinessName(group.getBusinessName()); |
|
|
|
temp.setGroupSort(group.getSort()); |
|
|
|
temp.setGroupBSort(group.getBsSort()); |
|
|
|
} |
|
|
|
}); |
|
|
|
return dtoPageData; |
|
|
|
} |
|
|
|
|