Skip to content

Commit d1e0b4e

Browse files
authored
Merge pull request #2 from themoment-team/update/leave-school
[update] 자퇴 학생 처리 방식 변경에 따른 호출방식 수정
2 parents 7563888 + 21343ad commit d1e0b4e

6 files changed

Lines changed: 3 additions & 30 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = "team.themoment.datagsm.sdk"
7-
version = "1.0.0-M8"
7+
version = "1.1.0"
88

99
java {
1010
toolchain {

src/main/java/team/themoment/datagsm/sdk/openapi/client/StudentApi.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ class StudentRequest {
3535
private Sex sex;
3636
private StudentRole role;
3737
private Integer dormitoryRoom;
38-
private Boolean isLeaveSchool;
3938
private Boolean isGraduate;
4039
private Integer page;
4140
private Integer size;
@@ -93,11 +92,6 @@ public StudentRequest dormitoryRoom(Integer dormitoryRoom) {
9392
return this;
9493
}
9594

96-
public StudentRequest isLeaveSchool(Boolean isLeaveSchool) {
97-
this.isLeaveSchool = isLeaveSchool;
98-
return this;
99-
}
100-
10195
public StudentRequest isGraduate(Boolean isGraduate) {
10296
this.isGraduate = isGraduate;
10397
return this;
@@ -159,10 +153,6 @@ public Integer getDormitoryRoom() {
159153
return dormitoryRoom;
160154
}
161155

162-
public Boolean getIsLeaveSchool() {
163-
return isLeaveSchool;
164-
}
165-
166156
public Boolean getIsGraduated() {
167157
return isGraduate;
168158
}

src/main/java/team/themoment/datagsm/sdk/openapi/client/StudentApiImpl.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ private Map<String, String> buildStudentQueryParams(StudentRequest request) {
7373
if (request.getDormitoryRoom() != null) {
7474
params.put("dormitoryRoom", request.getDormitoryRoom().toString());
7575
}
76-
if (request.getIsLeaveSchool() != null) {
77-
params.put("isLeaveSchool", request.getIsLeaveSchool().toString());
78-
}
7976
if (request.getIsGraduated() != null) {
8077
params.put("isGraduated", request.getIsGraduated().toString());
8178
}

src/main/java/team/themoment/datagsm/sdk/openapi/model/Student.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public class Student {
1616
private StudentRole role;
1717
private Integer dormitoryFloor;
1818
private Integer dormitoryRoom;
19-
private Boolean isLeaveSchool;
2019
private Club majorClub;
2120
private Club jobClub;
2221
private Club autonomousClub;
@@ -119,14 +118,6 @@ public void setDormitoryRoom(Integer dormitoryRoom) {
119118
this.dormitoryRoom = dormitoryRoom;
120119
}
121120

122-
public Boolean getIsLeaveSchool() {
123-
return isLeaveSchool;
124-
}
125-
126-
public void setIsLeaveSchool(Boolean isLeaveSchool) {
127-
this.isLeaveSchool = isLeaveSchool;
128-
}
129-
130121
public Club getMajorClub() {
131122
return majorClub;
132123
}
@@ -166,7 +157,6 @@ public String toString() {
166157
", role=" + role +
167158
", dormitoryFloor=" + dormitoryFloor +
168159
", dormitoryRoom=" + dormitoryRoom +
169-
", isLeaveSchool=" + isLeaveSchool +
170160
", majorClub=" + majorClub +
171161
", jobClub=" + jobClub +
172162
", autonomousClub=" + autonomousClub +

src/main/java/team/themoment/datagsm/sdk/openapi/model/StudentRole.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ public enum StudentRole {
88
STUDENT_COUNCIL,
99
DORMITORY_MANAGER,
1010
GRADUATE,
11+
WITHDRAWN,
1112
}

src/main/java/team/themoment/datagsm/sdk/openapi/model/StudentSortBy.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,5 @@ public enum StudentSortBy {
5757
/**
5858
* 기숙사 방 번호로 정렬
5959
*/
60-
DORMITORY_ROOM,
61-
62-
/**
63-
* 자퇴 여부로 정렬
64-
*/
65-
IS_LEAVE_SCHOOL
60+
DORMITORY_ROOM
6661
}

0 commit comments

Comments
 (0)