package com.ruoyi.test.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.test.domain.StudentClass;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StudentClassMapper extends BaseMapper<StudentClass> {

    @Delete("delete from student_class where studentid = #{id}")
    int deleteStudentClass(@Param("id") Long id);

}
