优化说明

This commit is contained in:
zhouhao 2020-02-04 16:38:43 +08:00
parent 76d8411139
commit 951ede9cfc
12 changed files with 9 additions and 7 deletions

View File

@ -41,22 +41,23 @@ JetLinks 是一个物联网基础平台,用于快速建立物联网相关业务
# 文档
[快速开始](quick-start.md)
[快速开始](http://doc.jetlinks.cn/user-guide/quick-start.html)
# 许可版本
| 功能 | 社区版 | 专业版 | 企业版 |
| ---- | ---- | ---- | ----- |
| 开放源代码 | ✅ | ✅ | ✅ |
| 设备管理,设备接入| ✅ | ✅ | ✅ |
| 设备管理,设备接入| ✅ | ✅ | ✅ |
| 多消息协议支持| ✅ | ✅ | ✅ |
| 规则引擎 | ✅ | ✅ | ✅ |
| 邮件消息通知 | ✅ | ✅ | ✅ |
| 微信企业消息 | ✅ | ✅ | ✅ |
| 钉钉消息通知 | ✅ | ✅ | ✅ |
| MQTT | ✅ | ✅ | ✅ |
| TCP | ✅ | ✅ | ✅ |
| CoAP | ⭕ | ✅ | ✅ |
| Http,WebSocket | ⭕ | ✅ | ✅ |
| MQTT(TLS) | ✅ | ✅ | ✅ |
| TCP(TLS) | ✅ | ✅ | ✅ |
| CoAP(DTLS) | ⭕ | ✅ | ✅ |
| Http,WebSocket(TLS) | ⭕ | ✅ | ✅ |
| 监控 | ⭕ | ✅ | ✅ |
| 可视化图表配置 | ⭕ | ✅ | ✅ |
| OpenAPI | ⭕ | ✅ | ✅ |

View File

@ -320,12 +320,13 @@ public class LocalDeviceInstanceService extends GenericReactiveCrudService<Devic
public Flux<ImportDeviceInstanceResult> doBatchImport(String fileUrl) {
return deviceProductService
.createQuery()
//如果指定了机构,则只查询机构内的设备型号
.fetch()
.collectList()
.flatMapMany(productEntities -> {
//按型号名称分组用于识别excel中的型号
Map<String, String> productNameMap = productEntities.stream()
.collect(Collectors.toMap(DeviceProductEntity::getName, DeviceProductEntity::getId, (_1, _2) -> _1));
return importExportService
.doImport(DeviceInstanceImportExportEntity.class, fileUrl)
.map(result -> {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB