取消全部

This commit is contained in:
2026-08-18 17:57:00 +08:00
parent d9aa173b3d
commit c71c334a84
12 changed files with 122 additions and 55 deletions
@@ -93,4 +93,8 @@ public interface SchClassRepository extends JpaRepository<SchClass, Integer>, Jp
@Query("UPDATE SchClass c SET c.graduate = true, c.updateDate = :now, c.updateUserId = 0 " +
"WHERE c.schId = :schId AND c.gradeId = :maxGrade AND c.graduate = false")
int batchGraduate(@Param("schId") Integer schId, @Param("maxGrade") Integer maxGrade, @Param("now") Date now);
Optional<SchClass> findByGroupId(Integer groupId);
}