package com.sqx.modules.artificer.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sqx.modules.artificer.entity.UserRecharge;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


@Mapper
public interface UserRechargeDao extends BaseMapper<UserRecharge> {

    List<UserRecharge> integral(@Param("artificerId") String artificerId,
                                 @Param("pages") Page<UserRecharge> pages,
                                 @Param("type") String type,
                                 @Param("start") String start,
                                 @Param("end") String end);

    IPage<UserRecharge> integralArtificerId(@Param("pages") Page<UserRecharge> pages,
                                             @Param("type") String type,
                                             @Param("start") String start,
                                             @Param("end") String end,
                                             @Param("artificerId") String artificerId);


    String storedValue(@Param("start") String start,
                       @Param("end") String end,
                       @Param("type") String type,
                       @Param("artificerId") String artificerId);

}