|
@@ -2,6 +2,7 @@ package com.ym.mec.biz.dal.wrapper;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.microsvc.toolkit.common.response.paging.QueryInfo;
|
|
|
+import com.ym.mec.common.tenant.TenantContextHolder;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
@@ -101,7 +102,7 @@ public class ImGroupMemberWrapper {
|
|
|
private Boolean groupJoin;
|
|
|
|
|
|
@ApiModelProperty("机构ID")
|
|
|
- private Integer tenantId;
|
|
|
+ private Integer tenantId = TenantContextHolder.getTenantId();
|
|
|
|
|
|
public static ImGroupMember from(String json) {
|
|
|
return JSON.parseObject(json, ImGroupMember.class);
|