Merge remote-tracking branch 'origin/develop' into develop
commit
e30b5a9d11
|
@ -79,6 +79,8 @@ public class AlistarController {
|
|||
List<AlistarInstance> instances = this.getAlistarResourceInstance();
|
||||
if ("SERVER".equalsIgnoreCase(category)) {
|
||||
instances = instances.stream().filter(inst -> "服务器".equals(inst.getCategory())).collect(Collectors.toList());
|
||||
} else if ("HARDWARE".equalsIgnoreCase(category)) {
|
||||
instances = instances.stream().filter(inst -> "硬件".equals(inst.getCategory())).collect(Collectors.toList());
|
||||
} else if ("NET".equalsIgnoreCase(category)) {
|
||||
instances = instances.stream()
|
||||
.filter(inst -> "网络设备".equals(inst.getCategory()))
|
||||
|
|
Loading…
Reference in New Issue