取消全部
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user