Pu Zhibing
6 天以前 ea1a62ba6484d6c6cb1ca67dcea938a95ba18fc6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.ruoyi.goods.service.lottery;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.goods.api.domain.UserLotteryEventQuestionsAnswers;
 
import java.math.BigDecimal;
 
/**
 * @author zhibing.pu
 * @Date 2025/5/19 16:07
 */
public interface IUserLotteryEventQuestionsAnswersService extends IService<UserLotteryEventQuestionsAnswers> {
    
    
    /**
     * 获取用户答题正确率
     * @param userId
     * @param lotteryEventId
     * @return
     */
    BigDecimal getCorrectAnswerRate(Long userId, String lotteryEventId);
}