|
|
@@ -327,6 +327,7 @@ public class WxMallServiceImpl implements WxMallService { |
|
|
if(oldUser == null){ |
|
|
if(oldUser == null){ |
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"找不到管理员"); |
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"找不到管理员"); |
|
|
} |
|
|
} |
|
|
|
|
|
userInfo.setUsername(oldUser.getUsername()); |
|
|
if(!oldUser.getTenantId().equals(userInfo.getTenantId())){ |
|
|
if(!oldUser.getTenantId().equals(userInfo.getTenantId())){ |
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"tenant_id不匹配"); |
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"tenant_id不匹配"); |
|
|
} |
|
|
} |
|
|
|