Skip to content

Commit

Permalink
[SL-15 CHORE] pathType ETC 선택 시 추가 입력
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyoungpark00 committed Jan 2, 2024
1 parent a2bfe59 commit 71516c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ public class PathToKnow {
@Column
private PathType pathType;

@Column
private String etcDetail;

public enum PathType {
RECOMMENDATION,
INSTAGRAM,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,11 @@ private void updatePathToKnow(Application application, ApplicationPage1PutReques
}

// nullCheck
private void checkNullAgreedField(Boolean isAgreed) {
if (isAgreed == null) {
throw new IllegalArgumentException("isAgreed 필드가 null입니다.");
}
}
// private void checkNullAgreedField(Boolean isAgreed) {
// if (isAgreed == null) {
// throw new IllegalArgumentException("isAgreed 필드가 null입니다.");
// }
// }

// pathToKnow 삭제 method
@Transactional
Expand Down

0 comments on commit 71516c1

Please sign in to comment.