feat(预期):学习预期后端闭环——实体/服务/端点

- 迁移:study_expectations.session_num 改为 varchar 对齐会话编码
- StudyExpectationsEntity / Mapper / Service:每会话一条预期,重复创建覆盖
- StudySessionController:PUT/GET /{sessionNum}/expectation
- 移除空的 studySessionList 占位方法
This commit is contained in:
2026-07-03 23:38:52 +08:00
parent 090d03e251
commit b67cf238c2
7 changed files with 150 additions and 2 deletions
@@ -0,0 +1,9 @@
package com.guo.learningprogresstracker.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guo.learningprogresstracker.entity.StudyExpectationsEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface StudyExpectationsMapper extends BaseMapper<StudyExpectationsEntity> {
}