Krishya | b0cc188 | 2025-06-09 10:54:09 +0800 | [diff] [blame] | 1 | package com.example.myproject.mapper; |
2 | |||||
3 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||
4 | import com.example.myproject.entity.SeedRating; | ||||
5 | import org.springframework.data.repository.query.Param; | ||||
6 | |||||
7 | import java.util.List; | ||||
8 | |||||
9 | public interface SeedRatingMapper extends BaseMapper<SeedRating> { | ||||
10 | List<SeedRating> selectHighRatingsByUserId(Long userId); | ||||
11 | List<SeedRating> selectBySeedIds(@Param("seedIds") List<Long> seedIds); | ||||
12 | } |