|
|
@@ -277,7 +277,7 @@ public class SysDeviceServiceImpl extends ServiceImpl<SysDeviceMapper, SysDevice
|
|
|
protectionDTO.setDeviceId(sysDevice.getId());
|
|
|
protectionDTO.setOrgId(sysOrg.getId());
|
|
|
protectionDTO.setOrgName(sysOrg.getShortName());
|
|
|
-
|
|
|
+ protectionDTO.setInBook(sysDevice.getInBook());
|
|
|
remoteProtectionService.addByDevice(protectionDTO, SecurityConstants.INNER);
|
|
|
}
|
|
|
return insert;
|