优化说明
13
README.md
|
|
@ -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 | ⭕ | ✅ | ✅ |
|
||||
|
|
|
|||
|
|
@ -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 -> {
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 104 KiB |
|
Before Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 104 KiB |