设备分享问题修改

This commit is contained in:
zzc 2025-06-28 11:57:00 +08:00
parent a11f8ef493
commit dd5bcb4cb8

View File

@ -270,6 +270,7 @@ public class EqHomeController extends BaseController {
if (sharedEquipmentIds.contains(bo.getSharedEquipmentIds())) throw new RuntimeException("该设备已经分享到该成员");
sharedEquipmentIds = sharedEquipmentIds + "," + bo.getSharedEquipmentIds();
eqShareVo.setSharedEquipmentIds(sharedEquipmentIds);
BeanUtil.copyProperties(eqShareVo,bo);
return toAjax(shareService.updateByBo(bo));
}
}