fix(系统设置): 修复组织添加成员列表未显示邮箱地址的缺陷

--bug=1035588 --user=王孝刚 【系统设置】系统-组织-成员-添加成员-成员未显示邮箱地址
https://www.tapd.cn/55049933/s/1469650
This commit is contained in:
wxg0103 2024-03-05 17:46:09 +08:00 committed by 刘瑞斌
parent e0d1d6f3ed
commit 8654a05712
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
package io.metersphere.system.dto;
import io.metersphere.system.dto.sdk.OptionDTO;
import io.metersphere.system.domain.User;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
@ -9,7 +9,7 @@ import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OptionDisabledDTO extends OptionDTO {
public class OptionDisabledDTO extends User {
@Schema(description = "是否已经关联过")
private Boolean disabled = false;
}

View File

@ -102,7 +102,7 @@
</select>
<select id="selectListMemberByOrg" resultType="io.metersphere.system.dto.OptionDisabledDTO">
select u.id, u.name
select u.id, u.name, u.email
from user u
where u.deleted = false
<if test="keyword != null and keyword != ''">