1. 剔除掉多余的文档以及标记

This commit is contained in:
chenbowen
2025-11-28 18:12:00 +08:00
parent 30bd4810f5
commit 0c22975df0
432 changed files with 705 additions and 1650200 deletions

View File

@@ -15,7 +15,7 @@
<name>${project.artifactId}</name>
<description>
物联网 模块,主要实现 产品管理、设备管理、协议管理等功能。
<!-- TODO 芋艿:后续补充下 -->
<!-- TODO ZT:后续补充下 -->
</description>
<dependencies>
@@ -99,7 +99,7 @@
<artifactId>zt-spring-boot-starter-job</artifactId>
</dependency>
<!-- TODO @芋艿:引入下,看看情况 -->
<!-- TODO @ZT:引入下,看看情况 -->
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
@@ -130,7 +130,7 @@
<artifactId>zt-spring-boot-starter-monitor</artifactId>
</dependency>
<!-- 消息队列相关 TODO 芋艿:需要整理 -->
<!-- 消息队列相关 TODO ZT:需要整理 -->
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-spring-boot-starter</artifactId>
@@ -152,7 +152,7 @@
<artifactId>pf4j-spring</artifactId>
</dependency>
<!-- TODO @芋艿bom 管理 -->
<!-- TODO @ZTbom 管理 -->
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-all</artifactId>
@@ -160,7 +160,7 @@
<type>pom</type>
</dependency>
<!-- TODO @芋艿bom 管理 -->
<!-- TODO @ZTbom 管理 -->
<dependency>
<groupId>org.graalvm.js</groupId>
<artifactId>js</artifactId>
@@ -173,7 +173,7 @@
<version>24.1.2</version>
</dependency>
<!-- TODO @芋艿:合理注释 -->
<!-- TODO @ZT:合理注释 -->
<!-- IoT 数据桥梁的执行器所需消息队列。如果您只需要使用 rocketmq 那么则注释掉其它消息队列即可 -->
<!-- <dependency>-->
<!-- <groupId>org.apache.rocketmq</groupId>-->

View File

@@ -6,7 +6,7 @@ import javax.script.ScriptEngine;
import javax.script.ScriptException;
/**
* TODO 芋艿:测试脚本的接入
* TODO ZT:测试脚本的接入
*/
public class ScriptTest {

View File

@@ -1,6 +1,6 @@
/**
* 占位
*
* TODO 芋艿:后续删除
* TODO ZT:后续删除
*/
package com.zt.plat.module.iot.api;

View File

@@ -61,7 +61,7 @@ public class IotDeviceController {
return success(true);
}
// TODO @芋艿参考阿里云1绑定网关2解绑网关
// TODO @ZT参考阿里云1绑定网关2解绑网关
@PutMapping("/update-group")
@Operation(summary = "更新设备分组")

View File

@@ -14,7 +14,7 @@ public class IotDeviceMqttConnectionParamsRespVO {
@ExcelProperty("MQTT 客户端 ID")
private String mqttClientId;
@Schema(description = "MQTT 用户名", example = "芋艿")
@Schema(description = "MQTT 用户名", example = "ZT")
@ExcelProperty("MQTT 用户名")
private String mqttUsername;

View File

@@ -1,2 +1,2 @@
// TODO @芋艿:占位
// TODO @ZT:占位
package com.zt.plat.module.iot.controller.admin.rule.vo;

View File

@@ -120,7 +120,7 @@ public class IotDeviceDO extends TenantBaseDO {
*/
private String firmwareId;
// TODO @芋艿:【待定 003】要不要增加 username目前 tl 有,阿里云之类的没有
// TODO @ZT:【待定 003】要不要增加 username目前 tl 有,阿里云之类的没有
/**
* 设备密钥,用于设备认证,需安全存储
*/
@@ -143,7 +143,7 @@ public class IotDeviceDO extends TenantBaseDO {
// TODO @haohao是不是要枚举哈
private String authType;
// TODO @芋艿:【待定 002】1设备维护的时候设置位置类似 tl2设备上传的时候设置位置类似 it
// TODO @ZT:【待定 002】1设备维护的时候设置位置类似 tl2设备上传的时候设置位置类似 it
/**
* 设备位置的纬度
*/

View File

@@ -45,7 +45,7 @@ public class IotPluginConfigDO extends TenantBaseDO {
* 枚举 {@link IotPluginDeployTypeEnum}
*/
private Integer deployType;
// TODO @芋艿如果是外置的插件fileName 和 version 的选择~
// TODO @ZT如果是外置的插件fileName 和 version 的选择~
/**
* 插件包文件名
*/
@@ -54,7 +54,7 @@ public class IotPluginConfigDO extends TenantBaseDO {
* 插件版本
*/
private String version;
// TODO @芋艿type 字典的定义
// TODO @ZTtype 字典的定义
/**
* 插件类型
* <p>
@@ -64,7 +64,7 @@ public class IotPluginConfigDO extends TenantBaseDO {
/**
* 设备插件协议类型
*/
// TODO @芋艿:枚举字段
// TODO @ZT:枚举字段
private String protocol;
// TODO @haohao这个字段是不是直接用 CommonStatus开启、禁用然后插件实例那online 是否在线
/**
@@ -74,7 +74,7 @@ public class IotPluginConfigDO extends TenantBaseDO {
*/
private Integer status;
// TODO @芋艿configSchema、config 示例字段
// TODO @ZTconfigSchema、config 示例字段
/**
* 插件配置项描述信息
*/
@@ -84,7 +84,7 @@ public class IotPluginConfigDO extends TenantBaseDO {
*/
private String config;
// TODO @芋艿script 后续的使用
// TODO @ZTscript 后续的使用
/**
* 插件脚本
*/

View File

@@ -54,14 +54,14 @@ public class IotAlertRecordDO extends BaseDO {
*/
private String deviceName;
// TODO @芋艿:有没更好的方式
// TODO @ZT:有没更好的方式
/**
* 触发的设备消息
*/
@TableField(typeHandler = JacksonTypeHandler.class)
private IotDeviceMessage deviceMessage;
// TODO @芋艿:换成枚举,枚举对应 ApiErrorLogProcessStatusEnum
// TODO @ZT:换成枚举,枚举对应 ApiErrorLogProcessStatusEnum
/**
* 处理状态
*

View File

@@ -25,7 +25,7 @@ public interface IotThingModelMapper extends BaseMapperX<IotThingModelDO> {
.likeIfPresent(IotThingModelDO::getName, reqVO.getName())
.eqIfPresent(IotThingModelDO::getType, reqVO.getType())
.eqIfPresent(IotThingModelDO::getProductId, reqVO.getProductId())
// TODO @芋艿:看看要不要加枚举
// TODO @ZT:看看要不要加枚举
.notIn(IotThingModelDO::getIdentifier, "get", "set", "post")
.orderByDesc(IotThingModelDO::getId));
}
@@ -36,7 +36,7 @@ public interface IotThingModelMapper extends BaseMapperX<IotThingModelDO> {
.likeIfPresent(IotThingModelDO::getName, reqVO.getName())
.eqIfPresent(IotThingModelDO::getType, reqVO.getType())
.eqIfPresent(IotThingModelDO::getProductId, reqVO.getProductId())
// TODO @芋艿:看看要不要加枚举
// TODO @ZT:看看要不要加枚举
.notIn(IotThingModelDO::getIdentifier, "get", "set", "post")
.orderByDesc(IotThingModelDO::getId));
}

Some files were not shown because too many files have changed in this diff Show More