Skip to content

Commit

Permalink
Merge pull request #66 from Catch-You/fix/사건상세조회
Browse files Browse the repository at this point in the history
[REFACTOR] 경찰 사건 리스트 조회시 사건 코드도 같이 조회
  • Loading branch information
xloyeon authored Dec 18, 2023
2 parents 9c21acd + cc7f84f commit df8a49c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public class MyCriminalListDto {

private Status selectStatus; //몽타주 확정 상태

private String criminalCode;

public static MyCriminalListDto of(Criminal criminal){
return MyCriminalListDto.builder()
.id(criminal.getId())
Expand All @@ -35,6 +37,7 @@ public static MyCriminalListDto of(Criminal criminal){
.crimeType(criminal.getCrimeType())
.status(criminal.getStatus())
.selectStatus(criminal.getSelectStatus())
.criminalCode(criminal.getCriminalCode())
.build();
}
}

0 comments on commit df8a49c

Please sign in to comment.