mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
Fix missed PbxHostRepository related class
This commit is contained in:
parent
1034f752b6
commit
4fb52a8f24
@ -165,8 +165,8 @@ public class AgentServiceProxy {
|
|||||||
StatusEvent statusEvent = statusEventRes.findById(agentService.getOwner());
|
StatusEvent statusEvent = statusEventRes.findById(agentService.getOwner());
|
||||||
if (statusEvent != null) {
|
if (statusEvent != null) {
|
||||||
if (StringUtils.isNotBlank(statusEvent.getHostid())) {
|
if (StringUtils.isNotBlank(statusEvent.getHostid())) {
|
||||||
PbxHost pbxHost = pbxHostRes.findById(statusEvent.getHostid());
|
pbxHostRes.findById(statusEvent.getHostid())
|
||||||
view.addObject("pbxHost", pbxHost);
|
.ifPresent(it -> view.addObject("pbxHost", it));
|
||||||
}
|
}
|
||||||
view.addObject("statusEvent", statusEvent);
|
view.addObject("statusEvent", statusEvent);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user