Commit 0593dbc9a00fe2083c20756b448954a07d3b164c
1 parent
dd402723
feat:【IoT 物联网】新增设备序列号唯一性校验,添加序列号查询方法
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/service/device/IotDeviceServiceImpl.java
| ... | ... | @@ -102,7 +102,7 @@ public class IotDeviceServiceImpl implements IotDeviceService { |
| 102 | 102 | * 校验设备序列号全局唯一性 |
| 103 | 103 | * |
| 104 | 104 | * @param serialNumber 设备序列号 |
| 105 | - * @param excludeId 排除的设备ID(用于更新时排除自身) | |
| 105 | + * @param excludeId 排除的设备编号(用于更新时排除自身) | |
| 106 | 106 | */ |
| 107 | 107 | private void validateSerialNumberUnique(String serialNumber, Long excludeId) { |
| 108 | 108 | if (StrUtil.isBlank(serialNumber)) { | ... | ... |