package com.hzs.member.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.member.base.CuMemberShare;
import com.hzs.member.marketnews.param.SeaFlourParam;
import com.hzs.member.marketnews.vo.SeaFlourVo;

import java.util.List;

/**
 * <p>
 * 分享注册记录会员 服务类
 * </p>
 *
 * @author hzs
 * @since 2023-03-15
 */
public interface ICuMemberShareService extends IService<CuMemberShare> {

    /**
     * 保存会员分享
     * @param cuMemberShare 会员分享
    * @return: CuMemberShare
    * @Author: sui q
    * @Date: 2023/3/15 10:42
    */
    Boolean saveCuMemberShare(CuMemberShare cuMemberShare);

    /**
     * 查询会员分享
     * @param pkMember 会员主键
    * @return: CuMemberShare
    * @Author: sui q
    * @Date: 2023/3/15 14:29
    */
    CuMemberShare queryCuMemberShare(Long pkMember);

    /**
     * 更新会员分享的支付状态
     * @param pkMember 会员主机那
    * @return: Boolean
    * @Author: sui q
    * @Date: 2023/3/15 14:32
    */
    Boolean updateCuMemberShare(Long pkMember);

    /**
     * 海粉列表
     * @param seaFlourParam
     * @return
     */
    List<SeaFlourVo> seaFlourList(SeaFlourParam seaFlourParam);
}
