Skip to content

Commit

Permalink
fix: 学好解析器新增9位学号的解析.
Browse files Browse the repository at this point in the history
  • Loading branch information
GLaxky committed Sep 22, 2023
1 parent 2b705cf commit 9569550
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

public class StuNumParserFactory {
public static StuNumParser generateParser(int stuNumLength){
if(stuNumLength == 10) {
if(stuNumLength == 10 || stuNumLength == 9) {
return new StuNum10bitsParser();
} else if(stuNumLength == 12) {
return new StuNum12bitsParser();
Expand Down

0 comments on commit 9569550

Please sign in to comment.