package com.qnfhq.modules.c2c.service;

import com.qnfhq.common.service.BaseService;
import com.qnfhq.modules.c2c.dto.C2cMyReceiptDTO;
import com.qnfhq.modules.c2c.dto.C2cUserReceiptDTO;
import com.qnfhq.modules.c2c.entity.C2cUserReceiptEntity;

import java.util.List;

/**
 * c2c用户收款信息
 *
 * @author yelz 30262728@qq.com
 * @since 1.0.0 2025-11-17
 */
public interface C2cUserReceiptService extends BaseService<C2cUserReceiptEntity> {

    List<C2cUserReceiptEntity> selectListMyReceipt(C2cMyReceiptDTO dto);

    /**
     * 获取用户收款信息
     * @param userId
     * @param type
     * @return
     */
    C2cUserReceiptEntity selectOneMyReceipt(Long userId,Integer type);
}