|
|
@@ -323,6 +323,12 @@ public class DeviceRegistry {
|
|
|
.map(it -> fieldMap.get(it.getField()))
|
|
|
.collect(Collectors.joining("/"))
|
|
|
);
|
|
|
+ //设置标签
|
|
|
+ deviceExcel.setTags(
|
|
|
+ device.getTags().stream()
|
|
|
+ .map(it -> fieldMap.get(it.getTag()))
|
|
|
+ .collect(Collectors.joining("/"))
|
|
|
+ );
|
|
|
return deviceExcel;
|
|
|
}).collect(Collectors.toList());
|
|
|
|