Skip to content

fix(CDUTCM): 早读占 section 1 + 普通课节次 +1 偏移 - #12

Merged
Mutx163 merged 1 commit into
Mutx163:mainfrom
wwwhyDB:main
Sep 10, 2026
Merged

fix(CDUTCM): 早读占 section 1 + 普通课节次 +1 偏移#12
Mutx163 merged 1 commit into
Mutx163:mainfrom
wwwhyDB:main

Conversation

@wwwhyDB

@wwwhyDB wwwhyDB commented Sep 10, 2026

Copy link
Copy Markdown

目标分支确认清单

  • 文件已经上传到对应的学校资源文件
  • 确认目标分支是 main

PR 描述 (Description)

fix(CDUTCM): 早读占 section 1 + 普通课节次 +1 偏移

修复了早读课作为节次代码为00的课在课表中不显示的问题,一并修复了因此导致的节次和实际时间段对不上的问题

- jcdm2=00 (早读) 改用普通课字段: startSection=1/endSection=1
- 早读时段挪到 TIME_SLOTS[0] (08:00-08:20)
- 普通节次统一 +1, 避免与早读同 section 被 App 遮住
- 删除无用的 MORNING_READING_START/END 常量
- 删除 isCustomTime 早读分支 (App 端 _parseWarehouseCourses 忽略这些字段)

已知代价: App 显示的'第 N 节'对应教务原第 N-1 节
@Mutx163
Mutx163 merged commit d4be681 into Mutx163:main Sep 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants