|
@@ -338,7 +338,7 @@ public class IotedgeCollectDataServiceImpl extends ServiceImpl<IotedgeCollectDat
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public String addIoTedgeUser(String userName, String ssoRole, InterlockUser interlockUser, String elToken) {
|
|
|
+ public String addIoTedgeUser(String userName, String ssoRole, String userId, String elToken) {
|
|
|
String result = "200";
|
|
|
|
|
|
try {
|
|
@@ -346,8 +346,8 @@ public class IotedgeCollectDataServiceImpl extends ServiceImpl<IotedgeCollectDat
|
|
|
String code = (String) jsonObject.get("code");
|
|
|
String iotUserId = (String) jsonObject.get("userId");
|
|
|
|
|
|
- interlockUser.setIotUserid(iotUserId);
|
|
|
- interlockUserService.updateById(interlockUser);
|
|
|
+ //interlockUser.setIotUserid(iotUserId);
|
|
|
+ interlockUserService.updateIotUserId(userId,iotUserId);
|
|
|
|
|
|
String rloe = "";
|
|
|
if ("globalAdmin".equals(ssoRole)){
|