2021与蓝度共同重构项目,服务端
chenjiantian
2021-12-14 7f9a1ccdad55ce31edd68cfb2c2bd8a4068481c7
ximon-admin/src/main/java/com/sandu/ximon/admin/service/PoleGroupService.java
@@ -62,11 +62,11 @@
    /**
     * 绑定灯杆
     */
    public boolean bindPole(Long groupId,List<Long> poleList) {
    public boolean bindPole(Long groupId,List<Long> poleIdList) {
        PoleGroup poleGroup = getById(groupId);
        if (poleGroup == null) {
            throw new BusinessException("未找到该分组");
        }
        return poleGroupRelationService.saveBinding(groupId,poleList);
        return poleGroupRelationService.saveBinding(groupId,poleIdList);
    }
}