feat(student-plan): 添加完成学案功能
- 新增 FinishStudentPlanReqVO 类用于请求参数封装 - 学生端学习计划页面新增“完成”按钮及其交互状态 - 实现 finishLessonPlan API 调用,用于标记学案完成 - 后端新增 finishStudentPlan 接口,处理学案完成逻辑 - StudentLessonPlansDOMapper 增加 finfishStudentPlan 方法及对应 SQL 更新语句 - StudentLessonPlansService 添加 finishStudentLessonPlan 接口实现统计记忆单词数并更新学案状态 - VocabularyBankDOMapper 和 WordMasteryLogDOMapper 增加相关统计查询方法和 SQL - 前端完善完成按钮状态和操作反馈,防止重复提交
This commit is contained in:
@@ -117,5 +117,9 @@
|
||||
</if>
|
||||
limit #{wordCount}
|
||||
</select>
|
||||
<select id="selectWordTotal" resultType="java.lang.Integer">
|
||||
select count(*)
|
||||
from vocabulary_bank
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user