限制了给辅导员发送心理预警的次数
This commit is contained in:
@@ -3,6 +3,7 @@ package com.srs.system.mapper;
|
||||
import com.srs.system.domain.StudentMentalRating;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.List;
|
||||
|
||||
public interface StudentMentalRatingMapper {
|
||||
@@ -28,5 +29,13 @@ public interface StudentMentalRatingMapper {
|
||||
/** 单学号全部记录 */
|
||||
List<StudentMentalRating> selectByStuNo(@Param("stuNo") String stuNo);
|
||||
|
||||
/**
|
||||
* 查询今天的心理评级记录 陈冠元
|
||||
* @param studentId 学生ID
|
||||
* @param today 今天的日期
|
||||
* @return 记录数
|
||||
*/
|
||||
int countTodayByStudentId(@Param("studentId") String studentId, @Param("today") LocalDate today);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user