mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 17:38:48 +08:00
设备分享问题修改
This commit is contained in:
parent
a11f8ef493
commit
dd5bcb4cb8
@ -270,6 +270,7 @@ public class EqHomeController extends BaseController {
|
|||||||
if (sharedEquipmentIds.contains(bo.getSharedEquipmentIds())) throw new RuntimeException("该设备已经分享到该成员");
|
if (sharedEquipmentIds.contains(bo.getSharedEquipmentIds())) throw new RuntimeException("该设备已经分享到该成员");
|
||||||
sharedEquipmentIds = sharedEquipmentIds + "," + bo.getSharedEquipmentIds();
|
sharedEquipmentIds = sharedEquipmentIds + "," + bo.getSharedEquipmentIds();
|
||||||
eqShareVo.setSharedEquipmentIds(sharedEquipmentIds);
|
eqShareVo.setSharedEquipmentIds(sharedEquipmentIds);
|
||||||
|
BeanUtil.copyProperties(eqShareVo,bo);
|
||||||
return toAjax(shareService.updateByBo(bo));
|
return toAjax(shareService.updateByBo(bo));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user