Merge branch 'main' of http://47.112.118.149:10082/xgxt_sd/zhxg_java
This commit is contained in:
@@ -94,4 +94,12 @@
|
||||
WHERE student_id = #{stuNo}
|
||||
ORDER BY created_time DESC
|
||||
</select>
|
||||
|
||||
<!-- 查询今天该学生是否已经填写过心理评测 陈冠元 -->
|
||||
<select id="countTodayByStudentId" resultType="int">
|
||||
SELECT COUNT(*)
|
||||
FROM student_mental_rating
|
||||
WHERE student_id = #{studentId}
|
||||
AND DATE(created_time) = #{today}
|
||||
</select>
|
||||
</mapper>
|
Reference in New Issue
Block a user