|
|
@ -511,7 +511,7 @@ public class EmInfoServiceImpl extends BaseServiceImpl<EmInfoMapper, EmInfoEntit |
|
|
|
throw new ServiceException("设备负责部门未绑定站点"); |
|
|
|
throw new ServiceException("设备负责部门未绑定站点"); |
|
|
|
} |
|
|
|
} |
|
|
|
EmTreeEntity emTree = emTreeService.getById(emInfo.getTreeId()); |
|
|
|
EmTreeEntity emTree = emTreeService.getById(emInfo.getTreeId()); |
|
|
|
EmDefinitionEntity emDefinition = emDefinitionService.getById(deviceTreeDTO.getDefinitionId()); |
|
|
|
EmDefinitionEntity emDefinition = emDefinitionService.getById(emTree.getDefinitionId()); |
|
|
|
copyDeviceTree(station, deviceTreeDTO.getInfoId(), emTree.getDefinitionId(), emDefinition.getModelSignage(), deviceTreeDTO.getTreeIds()); |
|
|
|
copyDeviceTree(station, deviceTreeDTO.getInfoId(), emTree.getDefinitionId(), emDefinition.getModelSignage(), deviceTreeDTO.getTreeIds()); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|