|
|
@ -75,7 +75,6 @@ public class VectorDataServiceImpl implements VectorDataService { |
|
|
|
List<DeviceAttrInfoDTO> list = deviceClient.listDeviceAttr().getData(); |
|
|
|
List<DeviceAttrInfoDTO> list = deviceClient.listDeviceAttr().getData(); |
|
|
|
if (null != list && !list.isEmpty()) { |
|
|
|
if (null != list && !list.isEmpty()) { |
|
|
|
list.forEach(item -> { |
|
|
|
list.forEach(item -> { |
|
|
|
item.setItemName(item.getProjectName() + " " + item.getDeviceName() + " " + item.getName()); |
|
|
|
|
|
|
|
String rule = AccessRules.getDescByCode(item.getRule()); |
|
|
|
String rule = AccessRules.getDescByCode(item.getRule()); |
|
|
|
if (null != rule) { |
|
|
|
if (null != rule) { |
|
|
|
item.setRule(rule); |
|
|
|
item.setRule(rule); |
|
|
|