package com.hzs.member.achieve.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.member.achieve.CuMemberSettlePeriod;
import com.hzs.common.domain.member.achieve.ext.CuMemberSettlePeriodExt;
import com.hzs.member.achieve.param.MemberParentCountParam;
import com.hzs.member.achieve.param.MemberPeriodParam;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 会员结算期间 Mapper 接口
 * </p>
 *
 * @author hzs
 * @since 2022-10-26
 */
public interface CuMemberSettlePeriodMapper extends BaseMapper<CuMemberSettlePeriod> {

    /*
     * @description: 根据日期查询会员结算期间
     * @author: sui q
     * @date: 2023/7/27 19:21
     * @param: null null
     **/
    CuMemberSettlePeriodExt queryMemberSettlePeriod(@Param("pkCountry") Integer pkCountry, @Param("settleDate") Date settleDate);

    /*
     * @description: 查询期间
     * @author: sui q
     * @date: 2023/7/29 15:44
     * @param: null null
     **/
    List<CuMemberSettlePeriodExt> queryMemberSettlePeriodByCondition(MemberPeriodParam memberPeriodParam);
}
