Skip to content

Commit

Permalink
♻️ :: Ktlint 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
alsco39 committed Sep 12, 2023
1 parent 3c44347 commit 051599b
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,10 @@ class ClassroomUseCase(
val afterSchoolList = queryAfterSchoolSpi.queryAfterSchoolClassroomListByFloor(floor)

afterSchoolList.map { afterSchool ->
val afterSchoolUserList = queryAfterSchoolSpi.queryAfterSchoolListByClassroomId(afterSchool.afterSchoolInfoId)
val afterSchoolMovementUserList = queryClassroomMovementSpi.queryClassroomMovementListByClassroomId(afterSchool.classroomId)
val afterSchoolUserList =
queryAfterSchoolSpi.queryAfterSchoolListByClassroomId(afterSchool.afterSchoolInfoId)
val afterSchoolMovementUserList =
queryClassroomMovementSpi.queryClassroomMovementListByClassroomId(afterSchool.classroomId)

isUserExist = !(afterSchoolUserList.isEmpty() && afterSchoolMovementUserList.isEmpty())

Expand Down Expand Up @@ -156,7 +158,8 @@ class ClassroomUseCase(

selfStudyClassroomList.map {
val classroom = queryClassroomSpi.queryClassroomById(it.id) ?: throw ClassroomNotFoundException
val classroomMovementUsers = queryClassroomMovementSpi.queryClassroomMovementListByClassroomId(classroom.id)
val classroomMovementUsers =
queryClassroomMovementSpi.queryClassroomMovementListByClassroomId(classroom.id)
var classroomUserList = emptyList<UserInfo>()
val checkIsClass = !(classroom.grade == null && classroom.classNum == null)

Expand Down

0 comments on commit 051599b

Please sign in to comment.