class MemberMessageServiceImpl extends ServiceImpl<MemberMessageMapper, MemberMessage> implements MemberMessageService {


    @Override
    public IPage<MemberMessage> getPage(MemberMessageQueryVO memberMessageQueryVO, PageVO pageVO) {<FILL_FUNCTION_BODY>}

    @Override
    public Boolean editStatus(String status, String messageId) {
        //查询消息是否存在
        MemberMessage memberMessage = this.getById(messageId);
        if (memberMessage != null) {
            memberMessage.setStatus(status);
            //执行修改
            return this.updateById(memberMessage);
        }
        return false;
    }


    @Override
    public Boolean deleteMessage(String messageId) {
        //查询消息是否存在
        MemberMessage memberMessage = this.getById(messageId);
        if (memberMessage != null) {
            //执行删除
            return this.removeById(memberMessage);
        }
        return false;
    }

    @Override
    public boolean save(List<MemberMessage> messages) {
        return saveBatch(messages);
    }
}

        QueryWrapper<MemberMessage> queryWrapper = new QueryWrapper<>();
        //消息id
        queryWrapper.eq(StringUtils.isNotEmpty(memberMessageQueryVO.getMessageId()), "message_id", memberMessageQueryVO.getMessageId());
        //消息标题
        queryWrapper.like(StringUtils.isNotEmpty(memberMessageQueryVO.getTitle()), "title", memberMessageQueryVO.getTitle());
        //会员id
        queryWrapper.eq(StringUtils.isNotEmpty(memberMessageQueryVO.getMemberId()), "member_id", memberMessageQueryVO.getMemberId());
        //消息状态
        queryWrapper.eq(StringUtils.isNotEmpty(memberMessageQueryVO.getStatus()), "status", memberMessageQueryVO.getStatus());
        //倒序
        queryWrapper.orderByDesc("create_time");
        //构建查询
        return this.page(PageUtil.initPage(pageVO), queryWrapper);
    
<no_super_class>