From be2a73403d021be33b53e21923b51535b8fc70dc Mon Sep 17 00:00:00 2001 From: bellmin Date: Thu, 28 Nov 2024 16:53:42 +0900 Subject: [PATCH 1/3] =?UTF-8?q?refactor:=20request.isAnonymous=20=EB=A1=9C?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - isChecked -> isAnonymous --- .../application/model/converter/CommentModelConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeos/src/main/java/com/blackcompany/eeos/comment/application/model/converter/CommentModelConverter.java b/eeos/src/main/java/com/blackcompany/eeos/comment/application/model/converter/CommentModelConverter.java index 937fadf0..56c0bfc7 100644 --- a/eeos/src/main/java/com/blackcompany/eeos/comment/application/model/converter/CommentModelConverter.java +++ b/eeos/src/main/java/com/blackcompany/eeos/comment/application/model/converter/CommentModelConverter.java @@ -16,7 +16,7 @@ public CommentModel from(CreateCommentRequest request) { .superCommentId(request.getParentsCommentId()) .content(request.getContent()) .presentingTeam(request.getTeamId()) - .isAnonymous(request.getIsAnonymous()) + .isAnonymous(request.isAnonymous()) .build(); } From 4bc357de045b9f194f4e97492077216a8c9e1a22 Mon Sep 17 00:00:00 2001 From: bellmin Date: Thu, 28 Nov 2024 16:55:54 +0900 Subject: [PATCH 2/3] =?UTF-8?q?refactor:=20=EC=BD=94=EB=A9=98=ED=8A=B8=20?= =?UTF-8?q?=EA=B8=80=EC=9E=90=EC=88=98=20=EC=A0=9C=ED=95=9C=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eeos/comment/application/model/CommentModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeos/src/main/java/com/blackcompany/eeos/comment/application/model/CommentModel.java b/eeos/src/main/java/com/blackcompany/eeos/comment/application/model/CommentModel.java index b09c54f5..ef5b1279 100644 --- a/eeos/src/main/java/com/blackcompany/eeos/comment/application/model/CommentModel.java +++ b/eeos/src/main/java/com/blackcompany/eeos/comment/application/model/CommentModel.java @@ -62,7 +62,7 @@ private boolean isEdit(Long memberId) { } private boolean isExceedLengthLimit() { - return getContentLength() > contentLimitLength; + return false; // 코멘트 길이 수는 제한이 없다 } private long getContentLength() { From 6b11164c5764a4dd9da4ff62805114b96b5266e0 Mon Sep 17 00:00:00 2001 From: bellmin Date: Thu, 28 Nov 2024 19:06:52 +0900 Subject: [PATCH 3/3] =?UTF-8?q?refactor:=20isAnonymous=EB=A1=9C=20?= =?UTF-8?q?=EC=9D=B4=EB=A6=84=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../comment/persistence/converter/CommentEntityConverter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eeos/src/main/java/com/blackcompany/eeos/comment/persistence/converter/CommentEntityConverter.java b/eeos/src/main/java/com/blackcompany/eeos/comment/persistence/converter/CommentEntityConverter.java index 38944c41..ba223e47 100644 --- a/eeos/src/main/java/com/blackcompany/eeos/comment/persistence/converter/CommentEntityConverter.java +++ b/eeos/src/main/java/com/blackcompany/eeos/comment/persistence/converter/CommentEntityConverter.java @@ -17,7 +17,7 @@ public CommentEntity toEntity(CommentModel model) { .writer(model.getWriter()) .presentingTeamId(model.getPresentingTeam()) .content(model.getContent()) - .isChecked(model.getIsChecked()) + .isAnonymous(model.getIsAnonymous()) .build(); } @@ -32,7 +32,7 @@ public CommentModel from(CommentEntity entity) { .updatedDate(entity.getUpdatedDate()) .content(entity.getContent()) .superCommentId(entity.getSuperCommentId()) - .isChecked(entity.getIsChecked()) + .isAnonymous(entity.getIsAnonymous()) .build(); } }