From 3c443472f4139fd08b0d446956955b58a7c9c01c Mon Sep 17 00:00:00 2001 From: min56 Date: Tue, 12 Sep 2023 22:42:15 +0900 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20::=20Ktlint=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/classroom/usecase/ClassroomUseCase.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt b/pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt index 71eb3479..74d0d874 100644 --- a/pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt +++ b/pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt @@ -117,7 +117,7 @@ class ClassroomUseCase( afterSchoolList.map { afterSchool -> val afterSchoolUserList = queryAfterSchoolSpi.queryAfterSchoolListByClassroomId(afterSchool.afterSchoolInfoId) - val afterSchoolMovementUserList = queryClassroomMovementSpi.queryClassroomMovementByClassroomId(afterSchool.classroomId) + val afterSchoolMovementUserList = queryClassroomMovementSpi.queryClassroomMovementListByClassroomId(afterSchool.classroomId) isUserExist = !(afterSchoolUserList.isEmpty() && afterSchoolMovementUserList.isEmpty()) @@ -136,7 +136,8 @@ class ClassroomUseCase( clubRoomList.map { val clubUserList = queryClubSpi.queryClubStudentIdListByClubInfoId(it.clubInfoId) - val clubMovementUserList = queryClassroomMovementSpi.queryClassroomMovementByClassroomId(it.classroomId) + val clubMovementUserList = + queryClassroomMovementSpi.queryClassroomMovementListByClassroomId(it.classroomId) isUserExist = !(clubUserList.isEmpty() && clubMovementUserList.isEmpty()) @@ -146,7 +147,6 @@ class ClassroomUseCase( description = it.description, isUserExist = isUserExist, ) - classrooms.add(clubRooms) } } @@ -163,7 +163,7 @@ class ClassroomUseCase( if (checkIsClass) { classroomUserList = userSpi.queryUserInfoByGradeAndClassNum( grade = classroom.grade, - classNum = classroom.classNum, + classNum = classroom.classNum ) }