| | |
| | | /** |
| | | * 获取学习进度及学习时长等信息 |
| | | * |
| | | * @param userId 用户id |
| | | * @param studyRecord 学习进度 |
| | | * @param week 所属周目 |
| | | * @return 学习信息 |
| | | */ |
| | | TUserStudy studySchedule(String userId); |
| | | TUserStudy studySchedule(TUserStudy studyRecord, Integer week); |
| | | |
| | | /** |
| | | * 自主学习1-听音选图 |
| | |
| | | */ |
| | | int computeTotalIntegral(List<String> studyIds, Integer type, Integer accuracy); |
| | | |
| | | /** |
| | | * 计算剩余学习周目 |
| | | * |
| | | * @param studyRecord 学习进度信息 |
| | | * @param studyList 学习配置列表 |
| | | * @return 剩余周目 |
| | | */ |
| | | int residueWeek(TUserStudy studyRecord, List<TStudy> studyList); |
| | | |
| | | /** |
| | | * 校验超级听力是否通过 |
| | | * |
| | | * @param game 游戏信息 |
| | | * @param userid 用户信息 |
| | | */ |
| | | void checkClearance(TGame game, Integer userid); |
| | | |
| | | /** |
| | | * 获取当前周目游戏难度 |
| | | * |
| | | * @param studyRecord 学习进度 |
| | | * @param week 周目 |
| | | * @return 难度 |
| | | */ |
| | | Integer userGameDifficulty(TUserStudy studyRecord, Integer week); |
| | | } |