Pu Zhibing
2 天以前 cead7b98d5cebc0825b919799e23732877361de0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.ruoyi.goods.service.impl.lottery;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.goods.api.domain.TLotteryEventPrize;
import com.ruoyi.goods.mapper.lottery.LotteryEventPrizeMapper;
import com.ruoyi.goods.service.lottery.ILotteryEventPrizeService;
import org.springframework.stereotype.Service;
 
import java.util.Collections;
import java.util.List;
 
/**
 * @author zhibing.pu
 * @Date 2025/5/12 9:56
 */
@Service
public class LotteryEventPrizeServiceImpl extends ServiceImpl<LotteryEventPrizeMapper, TLotteryEventPrize> implements ILotteryEventPrizeService {
    @Override
    public void deleteByLotteryEventId(String lotteryEventId) {
        this.baseMapper.deleteByLotteryEventId(lotteryEventId);
    }
    
    @Override
    public void savePrizeList(List<TLotteryEventPrize> prizeList) {
        this.baseMapper.savePrizeList(prizeList);
    }
    
    @Override
    public List<TLotteryEventPrize> getPrizeListByLotteryEventId(String lotteryEventId) {
        
        return this.baseMapper.getPrizeListByLotteryEventId(lotteryEventId);
    }
}