BandingTaskClassStudentSureMapper.java 973 B

1234567891011121314151617181920212223242526
  1. package com.xjrsoft.module.banding.mapper;
  2. import com.github.yulichang.base.MPJBaseMapper;
  3. import com.xjrsoft.module.banding.dto.StudentDto;
  4. import com.xjrsoft.module.banding.entity.BandingTaskClassStudent;
  5. import com.xjrsoft.module.banding.entity.BandingTaskClassStudentSure;
  6. import com.xjrsoft.module.student.dto.BaseNewStudentPageDto;
  7. import org.apache.ibatis.annotations.Mapper;
  8. import org.apache.ibatis.annotations.Param;
  9. import org.apache.ibatis.annotations.Update;
  10. import java.util.List;
  11. /**
  12. * @title: 新生分班任务班级学生关系确认表
  13. * @Author dzx
  14. * @Date: 2025年5月28日
  15. * @Version 1.0
  16. */
  17. @Mapper
  18. public interface BandingTaskClassStudentSureMapper extends MPJBaseMapper<BandingTaskClassStudentSure> {
  19. @Update("DELETE FROM banding_task_class_student_sure WHERE banding_task_class_id IN( " +
  20. " SELECT id FROM banding_task_class WHERE banding_task_id = #{taskId} )")
  21. Boolean deleteByTaskId(@Param("taskId") Long taskId);
  22. }