You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
716 B
Java
22 lines
716 B
Java
package com.sztzjy.linkCommerce.mapper;
|
|
|
|
import com.sztzjy.linkCommerce.entity.TeachingClassStudent;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
@Mapper
|
|
public interface TeachingClassStudentMapper {
|
|
long countByTeachingClassId(String teachingClassId);
|
|
|
|
long countByStudentUserIdAndTeachingClassId(@Param("studentUserId") String studentUserId,
|
|
@Param("teachingClassId") String teachingClassId);
|
|
|
|
int insertSelective(TeachingClassStudent record);
|
|
|
|
int deleteByTeachingClassId(String teachingClassId);
|
|
|
|
List<TeachingClassStudent> selectByTeachingClassId(String teachingClassId);
|
|
}
|