-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: controller 단위 테스트 수정 * fix: mepper 메서드명 변경 * fix: 요구사항 변경으로 인한 controller 응답값 수정 * fix: memberMapper 메서드명 변경 * fix: memberMapper 메서드명 변경 * fix: dto 내부 클래스명 수정 및 mapper 수정 * test: mapper 단위 테스트 * fix: dto 이너 클래스명 변경 * fix: 칼럼 별명 수정 * test: workbookMapper 단위 테스트
- Loading branch information
Showing
18 changed files
with
333 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 0 additions & 33 deletions
33
src/main/java/com/ohdab/classroom/service/FindClassroomDetailService.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 0 additions & 36 deletions
36
src/main/java/com/ohdab/classroom/service/mapper/ClassroomDetailServiceMapper.java
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
src/main/java/com/ohdab/classroom/service/usecase/FindClassroomDetailUsecase.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/main/java/com/ohdab/workbook/repository/mapper/WorkbookMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.ohdab.workbook.repository.mapper; | ||
|
||
import com.ohdab.classroom.service.dto.ClassroomDetailDto; | ||
import java.util.List; | ||
import org.apache.ibatis.annotations.Mapper; | ||
|
||
@Mapper | ||
public interface WorkbookMapper { | ||
|
||
List<ClassroomDetailDto.WorkbookInfoDto> findAllWorkbookForClassroomInfo( | ||
List<Long> workbookIdList); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
<mapper namespace="com.ohdab.workbook.repository.mapper.WorkbookMapper"> | ||
<select id="findAllWorkbookForClassroomInfo" parameterType="java.util.List" resultType="com.ohdab.classroom.service.dto.ClassroomDetailDto$WorkbookInfoDto"> | ||
select workbook_id as "workbookId", | ||
workbook_name as "workbookName", | ||
from WORKBOOK | ||
where workbook_id in | ||
<foreach collection="list" item="workbook_id" index="index" separator="," open="(" close=")"> | ||
#{workbook_id} | ||
</foreach> | ||
order by workbook_id desc | ||
</select> | ||
</mapper> |
Oops, something went wrong.