package com.ruoyi.cai.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.cai.domain.PayTotal;
import com.ruoyi.cai.dto.admin.vo.PayTotalAdminVo;
import com.ruoyi.cai.pay.PayTypeEnum;
import com.ruoyi.common.core.domain.PageQuery;

import java.math.BigDecimal;
import java.util.List;
import java.util.Set;

/**
 * 支付统计Service接口
 *
 * @author 77
 * @date 2024-01-21
 */
public interface PayTotalService extends IService<PayTotal> {

    void incsPrice(PayTypeEnum payTypeEnum, String appId, BigDecimal price);

    Page<PayTotalAdminVo> pageAdmin(PageQuery pageQuery, PayTotal bo);

    List<PayTotal> listByWxMcid(Set<String> wxMcIdList);

    List<PayTotal> listByAliAppId(Set<String> aliAppIdList);
}
