package com.yami.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yami.shop.bean.model.PointsRecharge;
import com.yami.shop.bean.vo.PointsRechargeVO;
import com.yami.shop.common.util.PageParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 积分充值 Mapper接口
 *
 * @author
 * @since 2025-09-XX
 */
public interface PointsRechargeMapper extends BaseMapper<PointsRecharge> {

    /**
     * 积分充值统计
     * @param pointsRecharge 查询参数
     * @return 积分充值统计列表
     */
    List<PointsRechargeVO> statisticsList(@Param("pointsRecharge") PointsRecharge pointsRecharge);

    IPage<PointsRecharge> findPage(@Param("page")PageParam<PointsRecharge> pageParam,@Param("pointsRecharge") PointsRecharge pointsRecharge);

    List<PointsRecharge> findList(@Param("pointsRecharge") PointsRecharge pointsRecharge);

}
