package com.tangguo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tangguo.domain.BbsUserPointsDetail;

import java.util.List;

/**
 * 用户积分明细Service接口
 *
 * @author ruoyi
 * @date 2025-08-29
 */
public interface IBbsUserPointsDetailService extends IService<BbsUserPointsDetail> {


    /**
     * 查询用户积分明细
     *
     * @param userName 用户名
     * @return 积分明细
     */
    List<BbsUserPointsDetail> getUserPointsDetail(String userName);


    /**
     * 添加用户积分明细
     *
     * @param detail 积分明细
     */
    void addUsrePointsDetail(BbsUserPointsDetail detail);

}
