|
|
@@ -7,6 +7,7 @@ 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;
|
|
|
|
|
|
@@ -19,4 +20,6 @@ import java.util.List;
|
|
|
@Mapper
|
|
|
public interface BandingTaskClassStudentSureMapper extends MPJBaseMapper<BandingTaskClassStudentSure> {
|
|
|
|
|
|
+ @Update("DELETE FROM banding_task_class_student_sure t1 INNER JOIN banding_task_class t2 ON t1.banding_task_class_id = t2.id WHERE t2.banding_task_id = #{taskId}")
|
|
|
+ Boolean deleteByTaskId(@Param("taskId") Long taskId);
|
|
|
}
|