package com.czg.service.market.mapper;

import com.czg.market.vo.MkDistributionAmountFlowVO;
import com.czg.market.vo.MkDistributionFlowVO;
import com.mybatisflex.core.BaseMapper;
import com.czg.market.entity.MkDistributionFlow;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 分销记录表 映射层。
 *
 * @author ww
 * @since 2025-10-27
 */
public interface MkDistributionFlowMapper extends BaseMapper<MkDistributionFlow> {

    List<MkDistributionFlowVO> pageInfo(Long shopId, LocalDateTime startTime, LocalDateTime endTime, String status, String key, Long id, String type, Long userId);
    BigDecimal totalAmount(Long shopId, LocalDateTime startTime, LocalDateTime endTime, String status, String key, Long id, String type, Long userId);
}
