package com.hzs.member.achieve.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.member.achieve.CuActiveMemberCensus;
import com.hzs.member.achieve.controller.vo.CuActiveMemberCensusVO;

import java.util.List;

/**
 * 统计活跃会员 服务类
 *
 * @author zhangjing
 * @since 2023-05-17
 */
public interface ICuActiveMemberCensusService extends IService<CuActiveMemberCensus> {

    /**
     * @description: 统计会员活跃度 补充数据
     * @author: zhang jing
     * @date: 2023/5/17 17:07
     * @param: [CuActiveMemberCensus]
     * @return: boolean
     **/
    Boolean supplementData(String payTime);

    /**
     * @description: 查询伞下活跃用户
     * @author: zhang jing
     * @date: 2023/5/18 10:31
     * @param: [cvo]
     * @return: java.util.List<com.hzs.member.achieve.controller.vo.CuActiveMemberCensusVO>
     **/
    List<CuActiveMemberCensusVO> queryActiveMember(CuActiveMemberCensusVO cvo);

    /**
     * @description: 查询会员当天是否活跃
     * @author: zhang jing
     * @date: 2023/5/18 14:33
     * @param: [cam]
     * @return: java.util.List<com.hzs.common.domain.member.achieve.CuActiveMemberCensus>
     **/
    CuActiveMemberCensusVO checkActiveMember(CuActiveMemberCensusVO cam);
}
