Commit 4e33cd2bde4917307a0429f14986a89b3a57e160
1 parent
4629084c
refactor(iot): 优化 OTA 相关 Mapper 接口的文档注释
- 移除了多余的 TODO 注释 - 更新了 IotOtaFirmwareMapper、IotOtaUpgradeRecordMapper 和 IotOtaUpgradeTaskMapper 的类注释 - 统一了注释格式,增加了作者信息
Showing
3 changed files
with
9 additions
and
10 deletions
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/dal/mysql/ota/IotOtaFirmwareMapper.java
| ... | ... | @@ -9,10 +9,10 @@ import org.apache.ibatis.annotations.Mapper; |
| 9 | 9 | |
| 10 | 10 | import java.util.List; |
| 11 | 11 | |
| 12 | -// TODO @li:这里的注释,可以去掉哈,多了点点 | |
| 13 | 12 | /** |
| 14 | - * IotOtaFirmwareMapper 接口用于操作 IotOtaFirmwareDO 实体类对应的数据库表。 | |
| 15 | - * 该接口继承自 BaseMapperX,提供了基本的 CRUD 操作,并扩展了特定查询方法。 | |
| 13 | + * OTA固件 Mapper | |
| 14 | + * | |
| 15 | + * @author Shelly | |
| 16 | 16 | */ |
| 17 | 17 | @Mapper |
| 18 | 18 | public interface IotOtaFirmwareMapper extends BaseMapperX<IotOtaFirmwareDO> { | ... | ... |
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/dal/mysql/ota/IotOtaUpgradeRecordMapper.java
| ... | ... | @@ -11,10 +11,10 @@ import org.apache.ibatis.annotations.Param; |
| 11 | 11 | |
| 12 | 12 | import java.util.List; |
| 13 | 13 | |
| 14 | -// TODO @li:这里的注释,可以去掉哈,多了点点 | |
| 15 | - | |
| 16 | 14 | /** |
| 17 | - * OTA 升级记录 Mapper 接口 | |
| 15 | + * OTA 升级记录 Mapper | |
| 16 | + * | |
| 17 | + * @author Shelly | |
| 18 | 18 | */ |
| 19 | 19 | @Mapper |
| 20 | 20 | public interface IotOtaUpgradeRecordMapper extends BaseMapperX<IotOtaUpgradeRecordDO> { | ... | ... |
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/dal/mysql/ota/IotOtaUpgradeTaskMapper.java
| ... | ... | @@ -9,10 +9,10 @@ import org.apache.ibatis.annotations.Mapper; |
| 9 | 9 | |
| 10 | 10 | import java.util.List; |
| 11 | 11 | |
| 12 | -// TODO @li:这里的注释,可以去掉哈,多了点点 | |
| 13 | 12 | /** |
| 14 | - * IotOtaUpgradeTaskMapper 接口用于操作 IotOtaUpgradeTaskDO 数据库表。 | |
| 15 | - * 该接口继承自 BaseMapperX,提供了基本的数据库操作方法。 | |
| 13 | + * OTA 升级任务Mapper | |
| 14 | + * | |
| 15 | + * @author Shelly | |
| 16 | 16 | */ |
| 17 | 17 | @Mapper |
| 18 | 18 | public interface IotOtaUpgradeTaskMapper extends BaseMapperX<IotOtaUpgradeTaskDO> { |
| ... | ... | @@ -54,5 +54,4 @@ public interface IotOtaUpgradeTaskMapper extends BaseMapperX<IotOtaUpgradeTaskDO |
| 54 | 54 | return selectList(IotOtaUpgradeTaskDO::getStatus, status); |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - | |
| 58 | 57 | } | ... | ... |