oj/oj-spring-boot/src/main/java/top/weiyuexin/service/ProblemService.java

17 lines
403 B
Java

package top.weiyuexin.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import top.weiyuexin.pojo.Problem;
import java.util.List;
public interface ProblemService extends IService<Problem> {
IPage<Problem> getPage(Integer currentPage, Integer pageSize, Problem problem);
List<Problem> hotProblems(Integer num);
}