// 文件路径: com/yami/shop/dao/PointsRecordMapper.java
package com.yami.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.bean.dto.ScoreDataDto;
import com.yami.shop.bean.model.PointsRecord;
import org.apache.ibatis.annotations.Param;

/**
 * 积分记录详细 Mapper接口
 *
 * @author
 * @since 2025-09-XX
 */
public interface PointsRecordMapper extends BaseMapper<PointsRecord> {
    Long statisticsPoint(@Param("userId") String userId, @Param("platform") Integer platform);
    ScoreDataDto statisticsAllScorePoint(@Param("userId") String userId, @Param("platform") Integer platform);

}
