This commit is contained in:
wangjinlei
2024-05-09 17:42:31 +08:00
parent 7d8f0d85b3
commit 14c70bb6c5
5 changed files with 74 additions and 14 deletions

View File

@@ -2,8 +2,16 @@ package com.peanut.modules.common.dao;
import com.github.yulichang.base.MPJBaseMapper;
import com.peanut.modules.common.entity.CourseCatalogueEntity;
import com.peanut.modules.common.vo.CourseCatalogueVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@Mapper
public interface CourseCatalogueDao extends MPJBaseMapper<CourseCatalogueEntity> {
List<CourseCatalogueVo> getCanBindProductAndCourse(@Param("ids")List<Integer> ids, @Param("keywords")String keywords,@Param("page")Integer page,@Param("limit")Integer limit);
Integer getCanBindProductAndCourseCount(@Param("ids")List<Integer> ids, @Param("keywords")String keywords);
}