TRX il y a 1 an
Parent
commit
6cb80cdb68

+ 2 - 0
OneCardIotClient/src/main/java/com/zhongshu/iot/client/model/mqtt/GateWayUserInfoParam.java

@@ -14,6 +14,7 @@ import lombok.NoArgsConstructor;
 @NoArgsConstructor
 public class GateWayUserInfoParam {
 
+    @Schema(description = "模版数据ID")
     private String tempId;
 
     @Schema(description = "最大的可绑定的设备数")
@@ -22,5 +23,6 @@ public class GateWayUserInfoParam {
     @Schema(description = "分组code")
     private String projectCode;
 
+    @Schema(description = "备注")
     private String remark;
 }

+ 1 - 0
OneCardIotServer/src/main/java/com/zhongshu/iot/server/core/service/device/GateWayUserInfoService.java

@@ -309,6 +309,7 @@ public class GateWayUserInfoService {
             entity.setGatewayNumber(gatewayNumber);
             entity.setDeviceNumber(deviceNumber);
             entity.setBindNumber(bindNumber);
+            gateWayUserInfoDao.save(entity);
         }
         return ResultContent.buildSuccess();
     }