package cn.pluss.platform.mapper;

import cn.pluss.platform.entity.MerchantRefundOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

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

@Mapper
public interface MerchantRefundOrderMapper extends BaseMapper<MerchantRefundOrder> {

    Integer queryRefundOrderJoinPageCount(Map<String, Object> map);

    List<MerchantRefundOrder> queryRefundOrderJoinPage(Map<String, Object> map);

    Page<MerchantRefundOrder> pageDate(Page<MerchantRefundOrder> page, @Param("refundOrder") MerchantRefundOrder refundOrder);

    /**
     * @description:统计首页退款数据
     * @date: 2021/10/19 15:12
     * @return java.util.Map<java.lang.String,java.lang.Object>
     */
    Map<String, Object> getPlatformRefundData();
}
