package com.xjrsoft.module.banding.mapper; import com.github.yulichang.base.MPJBaseMapper; import com.xjrsoft.module.banding.dto.StudentDto; import com.xjrsoft.module.banding.entity.BandingTaskClassStudent; import com.xjrsoft.module.banding.entity.BandingTaskClassStudentSure; import com.xjrsoft.module.student.dto.BaseNewStudentPageDto; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Update; import java.util.List; /** * @title: 新生分班任务班级学生关系确认表 * @Author dzx * @Date: 2025年5月28日 * @Version 1.0 */ @Mapper public interface BandingTaskClassStudentSureMapper extends MPJBaseMapper { @Update("DELETE FROM banding_task_class_student_sure WHERE banding_task_class_id IN( " + " SELECT id FROM banding_task_class WHERE banding_task_id = #{taskId} )") Boolean deleteByTaskId(@Param("taskId") Long taskId); }