| | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.gkhy.exam.system.domain.ExCourse; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * @param name |
| | | * @return |
| | | */ |
| | | ExCourse checkNameUnique(String name); |
| | | ExCourse checkNameUnique(@Param("name") String name, @Param("companyId") Long companyId); |
| | | |
| | | /** |
| | | * 根据id删除 |
| | |
| | | */ |
| | | int selectCourseState(Long courseId); |
| | | |
| | | /** |
| | | * 根据课程id查询课程绑定数量 |
| | | * @param categoryId |
| | | * @return |
| | | */ |
| | | int selectCountByCategoryId(Long categoryId); |
| | | |
| | | |
| | | |
| | | |