Commit ac158b7e authored by 332784038@qq.com's avatar 332784038@qq.com

会员下拉框列表查询需要排除已删除的会员信息

parent c34bfa19
...@@ -265,6 +265,7 @@ public class MemberUserServiceImpl implements MemberUserService { ...@@ -265,6 +265,7 @@ public class MemberUserServiceImpl implements MemberUserService {
.eq(MemberUserDO::getStatus, CommonStatusEnum.ENABLE.getStatus()) .eq(MemberUserDO::getStatus, CommonStatusEnum.ENABLE.getStatus())
.and(StringUtils.isNotEmpty(searchKey), .and(StringUtils.isNotEmpty(searchKey),
i -> i.like(MemberUserDO::getNickname, searchKey).or().like(MemberUserDO::getMobile, searchKey)) i -> i.like(MemberUserDO::getNickname, searchKey).or().like(MemberUserDO::getMobile, searchKey))
.eq(MemberUserDO::getDeleted, 0)
.orderByDesc(MemberUserDO::getId); .orderByDesc(MemberUserDO::getId);
memberUserMapper.getPage(mpPage, wrapper); memberUserMapper.getPage(mpPage, wrapper);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment